/* * Copyright © 2005-2006 Atheme Development Group * Rights to this code are as documented in doc/pod/license.pod. * * Data structures for account information. * * $Id: account.h,v 1.3 2007/08/28 17:08:06 pippijn Exp $ */ #ifndef ACCOUNT_H #define ACCOUNT_H #if 0 /* account related hooks */ typedef struct { mychan_t *mc; sourceinfo_t *si; } hook_channel_req_t; typedef struct { sourceinfo_t *si; myuser_t *mu; mynick_t *mn; } hook_user_req_t; typedef struct { sourceinfo_t *si; const char *account; const char *email; int approved; /* Write non-zero here to disallow the registration */ } hook_user_register_check_t; typedef struct { user_t *u; mynick_t *mn; } hook_nick_enforce_t; #endif E void init_accounts (void); E void expire_check (void *arg); #endif