#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include "cpp_io.h"
#include "cpp_path.h"
Functions | |
_include_path * | Path_Create () |
create and initialize a new path list | |
void | Path_Destroy (struct _include_path *l) |
destroy the path list | |
void | Path_Dump (struct _include_path *l, int fd) |
dump the path list | |
int | Path_Add (struct _include_path *l, char *dir) |
add an entry to the path list | |
int | Path_Remove (struct _include_path *l, char *dir) |
remove an entry from the path list | |
int | Path_Search_And_Open (struct _include_path *l, char *name, int loc) |
search a file's path name and open it | |
int | Path_Index (struct _include_path *l, char *dir) |
get an entry index from the path list |
|
add an entry to the path list
|
|
create and initialize a new path list
|
|
destroy the path list
|
|
dump the path list
|
|
get an entry index from the path list
|
|
remove an entry from the path list
|
|
search a file's path name and open it
|