Renamed cutuserkey() to cutusername(). Function has nothing to do with keys.
[citadel.git] / citadel / user_ops.h
index 02bcf394babce2299a15790a1cae4eef042ff9a2..040932c1df29d33c5b196ead00d5ab9c900cd784 100644 (file)
@@ -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__
 
@@ -55,7 +69,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);