userrec.h 985 B

1234567891011121314151617181920212223242526272829
  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 *, 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. void freeuser(struct userrec *);
  14. int change_handle(struct userrec *, char *);
  15. void correct_handle(char *);
  16. #ifdef HUB
  17. int write_user(struct userrec *u, FILE * f, int shr);
  18. int write_userfile(int);
  19. #endif /* HUB */
  20. struct userrec *check_dcclist_hand(char *);
  21. void touch_laston(struct userrec *, char *, time_t);
  22. void user_del_chan(char *);
  23. char *fixfrom(char *);
  24. extern struct userrec *userlist, *lastuser;
  25. extern int noshare, cache_hit, cache_miss, strict_host,
  26. userfile_perm;
  27. #endif /* !_USERREC_H */