repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
extract header section of each input files
[hband-tools.git]
/
boilerplate
/
source.c
blob
c40315d232e13159a7424eba60a65406ca8f8cee
1
2
#include <dlfcn.h>
3
#include <errno.h>
4
#include <err.h>
5
#include <stdlib.h>
6
#include <stdio.h>
7
#include <unistd.h>
8
#include <string.h>
9
#include <sys/socket.h>
10
#include <sys/types.h>
11
#include <arpa/inet.h>
12
13
14
#ifdef DEBUG
15
#define DEBUG(fmt, ...) fprintf(stderr, fmt
"
\n
"
, __VA_ARGS__)
16
#else
17
#define DEBUG(...) 0
18
#endif
19
20
typedef
int
bool_t
;
21
#define TRUE 1
22
#define FALSE 0