userrec.h 880 B

123456789101112131415161718192021222324252627
  1. #ifndef _USERREC_H
  2. #define _USERREC_H
  3. #ifndef MAKING_MODS
  4. void deflag_user(struct userrec *, int, char *, struct chanset_t *);
  5. struct userrec *adduser(struct userrec *, char *, char *, char *, int);
  6. void addhost_by_handle(char *, char *);
  7. void clear_masks(struct maskrec *);
  8. void clear_userlist(struct userrec *);
  9. int u_pass_match(struct userrec *, char *);
  10. int delhost_by_handle(char *, char *);
  11. int ishost_for_handle(char *, char *);
  12. int count_users(struct userrec *);
  13. int deluser(char *);
  14. void freeuser(struct userrec *);
  15. int change_handle(struct userrec *, char *);
  16. void correct_handle(char *);
  17. int write_user(struct userrec *u, FILE * f, int shr);
  18. int write_userfile(int);
  19. struct userrec *check_dcclist_hand(char *);
  20. void touch_laston(struct userrec *, char *, time_t);
  21. void user_del_chan(char *);
  22. char *fixfrom(char *);
  23. #endif /* !MAKING_MODS */
  24. #endif /* !_USERREC_H */