Home
last modified time | relevance | path

Searched refs:PathCache (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libtecla/common/
H A Dpcache.c71 PathCache *pc; /* The path-list cache in which to look up the executables */
138 static int add_PathNode(PathCache *pc, const char *dirname);
150 struct PathCache { struct
174 static void pca_clear_cache(PathCache *pc); argument
179 static int pca_read_username(PathCache *pc, const char *string, int slen,
186 static int pca_extract_dir(PathCache *pc, const char *path,
193 static int pca_scan_dir(PathCache *pc, const char *dirname, CacheMem *mem);
213 static int pca_init_PcaPathConf(PcaPathConf *ppc, PathCache *pc);
219 static int pca_prepare_suffix(PathCache *pc, const char *suffix,
230 static const char *pca_prepare_prefix(PathCache *pc, const char *prefix,
[all …]
/titanic_41/usr/src/lib/libtecla/
H A Dlibtecla.h1673 typedef struct PathCache PathCache; typedef
1684 PathCache *new_PathCache(void);
1695 PathCache *del_PathCache(PathCache *pc);
1705 const char *pca_last_error(PathCache *pc);
1723 int pca_scan_path(PathCache *pc, const char *path);
1747 void pca_set_check_fn(PathCache *pc, CplCheckFn *check_fn, void *data);
1775 char *pca_lookup_file(PathCache *pc, const char *name, int name_len,
1802 PcaPathConf *new_PcaPathConf(PathCache *pc);