BRL-CAD
#include "common.h"
#include <stddef.h>
#include <stdlib.h>
#include <limits.h>
#include "bu/defines.h"
#include "bu/magic.h"
#include "bu/vls.h"
Include dependency graph for path.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BU_PATH_MATCH_NOMATCH   1
 
#define BU_PATH_MATCH_NOESCAPE   0x01
 
#define BU_PATH_MATCH_PATHNAME   0x02
 
#define BU_PATH_MATCH_PERIOD   0x04
 
#define BU_PATH_MATCH_LEADING_DIR   0x08
 
#define BU_PATH_MATCH_CASEFOLD   0x10
 

Enumerations

enum  bu_path_component_t {
  BU_PATH_DIRNAME , BU_PATH_BASENAME , BU_PATH_BASENAME_EXTLESS , BU_PATH_EXT ,
  BU_PATH_EXTLESS , BU_PATH_UNKNOWN
}
 

Functions

char * bu_path_dirname (const char *path)
 
char * bu_path_basename (const char *path, char *basename)
 
const char * bu_path_normalize (const char *path)
 
int bu_path_component (struct bu_vls *component, const char *path, bu_path_component_t type)
 
char ** bu_path_to_argv (const char *path, int *ac)
 
int bu_path_match (const char *pattern, const char *pathname, int flags)