bglibs: path.h Source File

- Main Page
- Modules
- Data Structures
- Files
- Directories
- Related Pages
- Examples

# path.h

    00001 /* $Id: path.h 616 2005-08-19 20:11:01Z bruce $ */
    00002 #ifndef LIB__PATH__H__
    00003 #define LIB__PATH__H__
    00004
    00005 #include "str/str.h"
    00006
    00012 #define PATH_MATCH_DOTFILES 1
    00013
    00014 extern int path_merge(str* path, const char* start);
    00015 extern int fnmatch(const char* filename, const char* pattern,
    00016                    unsigned options);
    00017 extern int has_magic(const char* s);
    00018 extern int path_match(const char* pattern, str* result, unsigned options);
    00019 extern int path_contains(const char* path, const char* part);
    00020 extern int path_mktemp(const char* prefix, str* filename);
    00021 extern int path_mkdirs(const char* path, unsigned mode);
    00022
    00025 #endif