ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/account.h
(Generate patch)

Comparing ermyth/include/account.h (file contents):
Revision 1.2 by pippijn, Sat Jul 21 01:29:07 2007 UTC vs.
Revision 1.3 by pippijn, Tue Aug 28 17:08:06 2007 UTC

1/* 1/*
2 * Copyright © 2005-2006 Atheme Development Group 2 * Copyright © 2005-2006 Atheme Development Group
3 * Rights to this code are as documented in doc/pod/license.pod. 3 * Rights to this code are as documented in doc/pod/license.pod.
4 * 4 *
5 * Data structures for account information. 5 * Data structures for account information.
6 * 6 *
7 * $Id: account.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ 7 * $Id: account.h,v 1.3 2007/08/28 17:08:06 pippijn Exp $
8 */ 8 */
9 9
10#ifndef ACCOUNT_H 10#ifndef ACCOUNT_H
11#define ACCOUNT_H 11#define ACCOUNT_H
12 12
13#if 0
13/* account related hooks */ 14/* account related hooks */
14typedef struct 15typedef struct
15{ 16{
16 mychan_t *mc; 17 mychan_t *mc;
17 sourceinfo_t *si; 18 sourceinfo_t *si;
35typedef struct 36typedef struct
36{ 37{
37 user_t *u; 38 user_t *u;
38 mynick_t *mn; 39 mynick_t *mn;
39} hook_nick_enforce_t; 40} hook_nick_enforce_t;
40 41#endif
41/* pmodule.c XXX */
42E bool backend_loaded;
43
44/* dbhandler.c */
45E void (*db_save) (void *arg);
46E void (*db_load) (void);
47 42
48E void init_accounts (void); 43E void init_accounts (void);
49 44
50E void expire_check (void *arg); 45E void expire_check (void *arg);
51/* Check the database for (version) problems common to all backends */
52E void db_check (void);
53 46
54#endif 47#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines