/[svn]/ircd-hybrid/trunk/include/conf_db.h
ViewVC logotype

Diff of /ircd-hybrid/trunk/include/conf_db.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1622 by michael, Thu Nov 1 13:16:37 2012 UTC revision 1625 by michael, Thu Nov 1 13:49:25 2012 UTC
# Line 74  extern void load_xline_database(void); Line 74  extern void load_xline_database(void);
74  extern void save_xline_database(void);  extern void save_xline_database(void);
75  extern void load_resv_database(void);  extern void load_resv_database(void);
76  extern void save_resv_database(void);  extern void save_resv_database(void);
77    extern void save_all_databases(void *);
78    
79  #define read_buffer(buf,f)      (read_db((f),(buf),sizeof(buf)) == sizeof(buf))  #define read_buffer(buf,f)      (read_db((f),(buf),sizeof(buf)) == sizeof(buf))
80  #define write_buffer(buf,f)     (write_db((f),(buf),sizeof(buf)) == sizeof(buf))  #define write_buffer(buf,f)     (write_db((f),(buf),sizeof(buf)) == sizeof(buf))
# Line 83  extern void save_resv_database(void); Line 83  extern void save_resv_database(void);
83  #define read_variable(var,f)    (read_db((f),&(var),sizeof(var)) == sizeof(var))  #define read_variable(var,f)    (read_db((f),&(var),sizeof(var)) == sizeof(var))
84  #define write_variable(var,f)   (write_db((f),&(var),sizeof(var)) == sizeof(var))  #define write_variable(var,f)   (write_db((f),&(var),sizeof(var)) == sizeof(var))
85    
86    #define DATABASE_UPDATE_TIMEOUT 300
87  #define KLINE_DB_VERSION 1  #define KLINE_DB_VERSION 1
   
   
88  #endif  #endif

Legend:
Removed from v.1622  
changed lines
  Added in v.1625

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28