#include <grp.h>
Go to the source code of this file.
FILENAME FUNCTIONS | |
char * | lcmaps_genfilename (char *prefix, char *path, char *suffix) |
Generate an absolute file name. | |
char * | lcmaps_getfexist (int n,...) |
Picks the first existing file in argument list. | |
char * | lcmaps_findfile (char *name) |
Checks for file in standard directories. | |
Functions | |
int | lcmaps_get_gidlist (const char *username, int *ngroups, gid_t **group_list) |
Finds the list of gids for user in the group file (/etc/group). |
Definition in file lcmaps_utils.h.
|
Checks for file in standard directories. The directories that are checked are:
Definition at line 218 of file lcmaps_utils.c. References LCMAPS_ETC_HOME, lcmaps_genfilename(), lcmaps_getfexist(), LCMAPS_LIB_HOME, and LCMAPS_MOD_HOME. Referenced by PluginInit(). |
|
Generate an absolute file name. Given a starting prefix, a relative or absolute path, and a suffix an absolute file name is generated. Uses the prefix only if the path is relative. (Copied (and modified) from GLOBUS gatekeeper.c)
Definition at line 76 of file lcmaps_utils.c. Referenced by lcmaps_findfile(), lcmaps_setup(), and startPluginManager(). |
|
Finds the list of gids for user in the group file (/etc/group). Returns a list of gid_t which should be freed by calling program.
Definition at line 407 of file lcmaps_utils.c. References lcmaps_log(), and lcmaps_log_debug(). |
|
Picks the first existing file in argument list.
Definition at line 176 of file lcmaps_utils.c. References fexist(). Referenced by lcmaps_findfile(). |