Lines Matching defs:user
102 * Adds the calling tool as a user of the volume.
111 * CFG_USER_FIRST: Indicates that this is the first user of this
117 * CFG_USER_REPEAT: Indicates that this user has already registered for
121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user)
171 /* whoops, not found. Add as new user */
174 user);
201 while (q && (strcmp(q, user) != 0)) {
207 /* not listed as a user */
210 data->path, data->node, data->u.users, user);
263 * Removes a user from the config file.
268 * char *user: The subsystem that is adding this tag (sv, ii, sndr)
281 cfg_rem_user(CFGFILE *cfg, char *path, char *cnode, char *user)
293 force_remove = (strcmp(user, "sv") == 0);
295 if ('-' == *user) {
296 ++user;
372 while (q && (strcmp(q, user) != 0)) {
387 /* old user skipped; add in remaining users */
471 * Enable a volume under SV control (or add this char *user to the list
478 * user - The user (sv, ii, sndr) of the volume.
481 cfg_vol_enable(CFGFILE *cfg, char *path, char *ctag, char *user)
491 rc = cfg_add_user(cfg, path, ctag, user);
505 (void) cfg_rem_user(cfg, path, ctag, user);
518 * Disable a volume from SV control (or remove this char *user from the list
525 * user - The user (sv, ii, sndr) of the volume.
528 cfg_vol_disable(CFGFILE *cfg, char *path, char *ctag, char *user)
538 rc = cfg_rem_user(cfg, path, ctag, user);
551 user, path);
578 * 3/ user of this routine may already be using hcreate/hsearch
696 * 3/ user of this routine may already be using builtin hcreate/hsearch