-#ifndef lint
+#if (!defined(lint) && !defined(SABER))
static char rcsid_module_c[] = "$Header$";
#endif lint
#define LOGIN 0
#define UID 1
-#define NAME 2
+#define BY_NAME 2
#define QUOTA 3
#define CLASS 4
{
char temp_buf[BUFSIZ], *newname;
- sprintf(temp_buf,"\nChanging Attributes of user %s.\n",info[NAME]);
+ sprintf(temp_buf,"\nChanging Attributes of user %s.\n",info[U_NAME]);
Put_message(temp_buf);
if (name) {
/* Function Name: GetUserInfo
* Description: Stores the user information in a queue.
* Arguments: type - type of field given to get info, one of:
- * LOGIN, UID, NAME, CLASS.
+ * LOGIN, UID, BY_NAME, CLASS.
* name1 - name of thing specified by type (wildcards okay)
* name2 - other name, only used in get user by first and last.
* (wildcards okay).
return (NULL);
}
break;
- case NAME:
+ case BY_NAME:
args[0] = name1;
args[1] = name2;
if ( (status = sms_query("get_user_by_name", 1, args,
struct qelem *top, *elem;
char buf;
- elem = top = GetUserInfo(NAME, argv[1], argv[2]);
+ elem = top = GetUserInfo(BY_NAME, argv[1], argv[2]);
if (!PromptWithDefault("Print full information, or just the names (F/N)?",
&buf, 1, "F"))