ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/account.h
Revision: 1.3
Committed: Tue Aug 28 17:08:06 2007 UTC (16 years, 9 months ago) by pippijn
Content type: text/plain
Branch: MAIN
Changes since 1.2: +4 -11 lines
Log Message:
- changed name
- updated the example config to the new system
- added more documentation
- enhanced documentation generators
- added a link to the pdf to the website
- added an RSS feed generator
- transitioned hooks to c++ callbacks
- did various merges with upstream along the way
- added const where appropriate
- removed the old block allocator
- fixed most memory leaks
- transitioned some dictionaries to std::map
- transitioned some lists to std::vector
- made some free functions members where appropriate
- renamed string to dynstr and added a static string ststr
- use NOW instead of time (NULL) if possible
- completely reworked database backends, crypto handlers and protocol handlers
  to use an object factory
- removed the old module system. ermyth does not do any dynamic loading anymore
- fixed most of the build system
- reworked how protocol commands work

File Contents

# User Rev Content
1 pippijn 1.1 /*
2 pippijn 1.3 * Copyright © 2005-2006 Atheme Development Group
3 pippijn 1.2 * Rights to this code are as documented in doc/pod/license.pod.
4 pippijn 1.1 *
5     * Data structures for account information.
6     *
7 pippijn 1.3 * $Id: account.h,v 1.2 2007-07-21 01:29:07 pippijn Exp $
8 pippijn 1.1 */
9    
10     #ifndef ACCOUNT_H
11     #define ACCOUNT_H
12    
13 pippijn 1.3 #if 0
14 pippijn 1.1 /* account related hooks */
15     typedef struct
16     {
17     mychan_t *mc;
18     sourceinfo_t *si;
19     } hook_channel_req_t;
20    
21     typedef struct
22     {
23     sourceinfo_t *si;
24     myuser_t *mu;
25     mynick_t *mn;
26     } hook_user_req_t;
27    
28     typedef struct
29     {
30     sourceinfo_t *si;
31     const char *account;
32     const char *email;
33     int approved; /* Write non-zero here to disallow the registration */
34     } hook_user_register_check_t;
35    
36     typedef struct
37     {
38     user_t *u;
39     mynick_t *mn;
40     } hook_nick_enforce_t;
41 pippijn 1.3 #endif
42 pippijn 1.1
43     E void init_accounts (void);
44    
45     E void expire_check (void *arg);
46    
47     #endif