X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fircd_users.c;h=f3fcbb5a635e59edc9485939cb4ca6bfbe46d730;hb=981be1f880efeca4ecac1156317f6dbebf707087;hp=ef0bc82b231ec8305c011748951bde5770af449b;hpb=59ddec51d649f0af9b91d2aab710258d5b97a596;p=NextIRCd.git diff --git a/src/ircd_users.c b/src/ircd_users.c index ef0bc82..f3fcbb5 100644 --- a/src/ircd_users.c +++ b/src/ircd_users.c @@ -14,6 +14,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +#include + #include "struct_user.h" struct UserDictEntry { @@ -26,9 +29,16 @@ struct UserDict { struct UserDictEntry *users[65536]; // 2^16 (first 16 bit of nickhash as identifier) }; - void find_user_by_nick(char *nick) { //calculate checksum //search in UserDict //ask trusted server multicast } + +int is_nick_valid(char *nick) { + return 1; +} + +int is_ident_valid(char *ident) { + return 1; +}