userrec.h 891 B

1234567891011121314151617181920212223242526
  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. bool 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. extern struct userrec *userlist, *lastuser;
  22. extern int cache_hit, cache_miss, userfile_perm;
  23. extern bool noshare;
  24. #endif /* !_USERREC_H */