Lines Matching refs:HomeDir
84 struct HomeDir {
94 static const char *hd_getpwd(HomeDir *home);
97 * Create a new HomeDir object.
100 * return HomeDir * The new object, or NULL on error.
102 HomeDir *_new_HomeDir(void)
104 HomeDir *home; /* The object to be returned */
109 home = (HomeDir *) malloc(sizeof(HomeDir));
168 * Delete a HomeDir object.
171 * home HomeDir * The object to be deleted.
173 * return HomeDir * The deleted object (always NULL).
175 HomeDir *_del_HomeDir(HomeDir *home)
190 * home HomeDir * The resources needed to lookup the home directory.
196 * with threads, this string is part of the HomeDir
212 const char *_hd_lookup_home_dir(HomeDir *home, const char *user)
300 * home HomeDir * The resources needed to record the home directory.
304 const char *_hd_last_home_dir_error(HomeDir *home)
306 return home ? _err_get_msg(home->err) : "NULL HomeDir argument";
315 * home HomeDir * The resource object for reading home
330 int _hd_scan_user_home_dirs(HomeDir *home, const char *prefix,
442 * home HomeDir * The resource object for reading home directories.
448 static const char *hd_getpwd(HomeDir *home)