Fixed a bug in username key usage that was causing email aliases to disappear
[citadel.git] / citadel / user_ops.h
index d9dbc29598f3e79db4d96d28ce7f3cfacc2f2927..2a9c41f30ed446581d5c424290c512e50bfcb414 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * Header file for server functions which perform operations on user objects.
  *
- * Copyright (c) 1987-2019 by the citadel.org team
+ * Copyright (c) 1987-2020 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.
@@ -69,8 +69,8 @@ void start_chkpwd_daemon(void);
 int rename_user(char *oldname, char *newname);
 void reindex_user_928(char *username, void *out_data);
 
-long cutusername(char *username);
-void makeuserkey(char *key, const char *username, long len);
+void makeuserkey(char *key, const char *username);
+int CtdlUserCmp(char *s1, char *s2);
 int internal_create_user(char *username, struct ctdluser *usbuf, uid_t uid);
 
 #endif