]>
Commit | Line | Data |
---|---|---|
3e3692bf CP |
1 | #ifndef __NOPERSERV_STRUCTS_H |
2 | #define __NOPERSERV_STRUCTS_H | |
3 | ||
aef920fc GB |
4 | #include "../authext/authext.h" |
5 | ||
3e3692bf CP |
6 | typedef unsigned long no_tableid; |
7 | ||
3e3692bf CP |
8 | typedef struct no_autheduser { |
9 | unsigned newuser: 1; | |
7078aa50 | 10 | authname *authname; |
3e3692bf CP |
11 | flag_t authlevel; |
12 | flag_t noticelevel; | |
3e3692bf CP |
13 | } no_autheduser; |
14 | ||
7a32ca6e | 15 | int noperserv_load_db(void); |
3e3692bf CP |
16 | void noperserv_cleanup_db(void); |
17 | ||
3e3692bf | 18 | void noperserv_delete_autheduser(no_autheduser *au); |
7078aa50 GB |
19 | no_autheduser *noperserv_new_autheduser(unsigned long userid, char *ame); |
20 | no_autheduser *noperserv_get_autheduser(authname *an); | |
3e3692bf | 21 | void noperserv_update_autheduser(no_autheduser *au); |
3e3692bf CP |
22 | |
23 | unsigned long noperserv_get_autheduser_count(void); | |
3e3692bf CP |
24 | |
25 | #endif |