Lines Matching refs:user
42 Input: Path name of the user priority file. It has the following
53 list of user names. No white space is allowed
69 Effect: The user priority file is read and parsed. Storage for
78 *user,
132 if (!(user = next_user(fd, line, &p)))
138 if (!(user = next_user(fd, line, &p))) goto Error;
151 add_user (&pri_tbl, user, pri);
153 while ((user = next_user(fd, line, &p)));
168 Inputs: A pointer to a limit structure, and a user.
170 Effects: Adds <user> to the list of users, if it is not already
174 int add_user ( struct user_priority * ppri_tbl, char * user, int limit )
178 addlist (&(ppri_tbl->users[limit - PRI_MIN]), user);
187 Outputs: The routine returns the next user-id read or 0 if all the
191 user-id, if the end of the line is reached, the next line is
238 Inputs: A pointer to a priority table and a user.
239 Outputs: Zero if user found, else 1, and priority table is modified.
240 Effects: All occurences of <user> in the priority table will be removed.
243 int del_user ( struct user_priority * ppri_tbl, char * user )
248 if (searchlist(user, ppri_tbl->users[limit - PRI_MIN]))
250 dellist (&(ppri_tbl->users[limit - PRI_MIN]), user);