X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.h;h=f58ec1bb6489cfbdfa5c1dfefc2598d58742ee1e;hb=9ffea7c3315046ddcea2589656c13da5f5e0c076;hp=02bcf394babce2299a15790a1cae4eef042ff9a2;hpb=03b525bdbd5fa51c1b5a56c5fdecfdb8200cb046;p=citadel.git diff --git a/citadel/user_ops.h b/citadel/user_ops.h index 02bcf394b..f58ec1bb6 100644 --- a/citadel/user_ops.h +++ b/citadel/user_ops.h @@ -1,3 +1,17 @@ +/* + * Header file for server functions which perform operations on user objects. + * + * Copyright (c) 1987-2019 by the citadel.org team + * + * This program is open source software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + #ifndef __USER_OPS_H__ #define __USER_OPS_H__ @@ -23,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); @@ -55,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);