Lines Matching refs:CompleteFile
80 struct CompleteFile { struct
92 static int cf_expand_home_dir(CompleteFile *cf, const char *user); argument
93 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl,
97 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl,
101 static char *cf_read_name(CompleteFile *cf, const char *type,
104 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix,
112 CompleteFile *cf; /* The file-completion resource object */
127 CompleteFile *_new_CompleteFile(void) in _new_CompleteFile()
129 CompleteFile *cf; /* The object to be returned */ in _new_CompleteFile()
133 cf = (CompleteFile *) malloc(sizeof(CompleteFile)); in _new_CompleteFile()
191 CompleteFile *_del_CompleteFile(CompleteFile *cf) in _del_CompleteFile()
236 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, in _cf_complete_file()
464 const char *_cf_last_error(CompleteFile *cf) in _cf_last_error()
481 static int cf_expand_home_dir(CompleteFile *cf, const char *user) in cf_expand_home_dir()
523 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, in cf_complete_username()
561 CompleteFile *cf = args->cf; in HOME_DIR_FN()
607 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, in cf_complete_entry()
769 static char *cf_read_name(CompleteFile *cf, const char *type, in cf_read_name()
814 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix, in cf_prepare_suffix()