Modified the behavior of ForEachUser() to do the two phase load/perform cycle
[citadel.git] / citadel / user_ops.h
index a1904d0cabbb98cd71ce4c97b50303eaa74819fb..f58ec1bb6489cfbdfa5c1dfefc2598d58742ee1e 100644 (file)
@@ -37,8 +37,7 @@ enum {
 
 void do_login(void);
 int CtdlInvtKick(char *iuser, int op);
-void ForEachUser(void (*CallBack)(struct ctdluser *EachUser, void *out_data), void *in_data);
-void ListThisUser(struct ctdluser *usbuf, void *data);
+void ForEachUser(void (*CallBack) (char *, void *out_data), void *in_data);
 int NewMailCount(void);
 int InitialMailCheck(void);
 void put_visit(visit *newvisit);
@@ -69,7 +68,7 @@ void start_chkpwd_daemon(void);
 
 int rename_user(char *oldname, char *newname);
 
-long cutuserkey(char *username);
+long cutusername(char *username);
 void makeuserkey(char *key, const char *username, long len);
 int internal_create_user(char *username, struct ctdluser *usbuf, uid_t uid);