Searched refs:PathCache (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 69 PathCache *pc; /* The path-list cache in which to look up the executables */ 136 static int add_PathNode(PathCache *pc, const char *dirname); 148 struct PathCache { struct 172 static void pca_clear_cache(PathCache *pc); argument 177 static int pca_read_username(PathCache *pc, const char *string, int slen, 184 static int pca_extract_dir(PathCache *pc, const char *path, 191 static int pca_scan_dir(PathCache *pc, const char *dirname, CacheMem *mem); 211 static int pca_init_PcaPathConf(PcaPathConf *ppc, PathCache *pc); 217 static int pca_prepare_suffix(PathCache *pc, const char *suffix, 228 static const char *pca_prepare_prefix(PathCache *pc, const char *prefix, [all …]
|
/illumos-gate/usr/src/lib/libtecla/ |
H A D | libtecla.h | 1671 typedef struct PathCache PathCache; typedef 1682 PathCache *new_PathCache(void); 1693 PathCache *del_PathCache(PathCache *pc); 1703 const char *pca_last_error(PathCache *pc); 1721 int pca_scan_path(PathCache *pc, const char *path); 1745 void pca_set_check_fn(PathCache *pc, CplCheckFn *check_fn, void *data); 1773 char *pca_lookup_file(PathCache *pc, const char *name, int name_len, 1800 PcaPathConf *new_PcaPathConf(PathCache *pc);
|