userrec.h 916 B

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