Lines Matching refs:CompleteFile
78 struct CompleteFile { struct
90 static int cf_expand_home_dir(CompleteFile *cf, const char *user); argument
91 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl,
95 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl,
99 static char *cf_read_name(CompleteFile *cf, const char *type,
102 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix,
110 CompleteFile *cf; /* The file-completion resource object */
125 CompleteFile *_new_CompleteFile(void) in _new_CompleteFile()
127 CompleteFile *cf; /* The object to be returned */ in _new_CompleteFile()
131 cf = (CompleteFile *) malloc(sizeof(CompleteFile)); in _new_CompleteFile()
189 CompleteFile *_del_CompleteFile(CompleteFile *cf) in _del_CompleteFile()
234 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, in _cf_complete_file()
462 const char *_cf_last_error(CompleteFile *cf) in _cf_last_error()
479 static int cf_expand_home_dir(CompleteFile *cf, const char *user) in cf_expand_home_dir()
521 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, in cf_complete_username()
559 CompleteFile *cf = args->cf; in HOME_DIR_FN()
605 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, in cf_complete_entry()
767 static char *cf_read_name(CompleteFile *cf, const char *type, in cf_read_name()
812 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix, in cf_prepare_suffix()