File: data.h

package info (click to toggle)
dancer-services 1.8.0.6.3-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,600 kB
  • ctags: 1,623
  • sloc: ansic: 34,690; sh: 2,850; makefile: 269
file content (51 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * data.h
 * Copyright (C) 1999 Patrick Alken
 *
 * $Id: data.h,v 1.1.1.1 2001/03/03 01:48:53 wcampbel Exp $
 */

#ifndef INCLUDED_data_h
#define INCLUDED_data_h

#ifndef INCLUDED_stdio_h
#include <stdio.h>        /* FILE * */
#define INCLUDED_stdio_h
#endif

#ifndef INCLUDED_sys_types_h
#include <sys/types.h>        /* time_t */
#define INCLUDED_sys_types_h
#endif

/*
 * Prototypes
 */

void BackupDatabases(time_t unixtime);
int ReloadData();
FILE *CreateDatabase(char *name, char *info);

int WriteDatabases();
int WriteOpers();
int WriteStats();
int WriteNicks();
int WriteChans();
int WriteMemos();

#ifdef SEENSERVICES
int WriteSeen();
#endif

void LoadData();
int ns_loaddata();
int cs_loaddata();
int ms_loaddata();
int ss_loaddata();
int os_loaddata();

#ifdef SEENSERVICES
int es_loaddata();
#endif

#endif /* INCLUDED_data_h */