-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.h
54 lines (45 loc) · 1.03 KB
/
main.h
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
52
53
54
/******************************************************************
* ( $Id: main.h,v 1.8 2003/04/02 18:12:47 brw Exp $ )
*
* main.h
* Copyright 2002-2003 Branden R. Williams, Elliptix, LLC.
* Author: Branden R. Williams
* Details:
* try to control circular references...
*
* $Log: main.h,v $
* Revision 1.8 2003/04/02 18:12:47 brw
* fixed copyright and added log/id cvs tags
*
*
******************************************************************/
#ifndef MAIN_H
#define MAIN_H
#endif
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <libpq-fe.h>
#include <signal.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#ifndef LOG_H
#include "log.h"
#endif
#ifndef DEBUG_H
#include "debug.h"
#endif
#ifndef BRWHELPERS_H
#include "brwhelpers.h"
#endif
#ifndef MYPTHREADS_H
#include "mypthreads.h"
#endif
#ifndef CONTROL_H
#include "control.h"
#endif
#ifndef min
#define min(X, Y) ((X) < (Y) ? (X) : (Y))
#endif
void cleanup_structs(void);