aboutsummaryrefslogtreecommitdiff
path: root/src/IO/IO.h
blob: 65b032f5cb04f4d3a6af05248b1ea4b4357da0b4 (plain)
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
#ifndef __IO_H__
#define __IO_H__

#include <unistd.h>
#include <sys/uio.h>

#include "d_size.h"
#include "../../dlib/dlib.h"
#include "../chain.h"

/*
 * IO Operations
 */
#define IORead   0
#define IOWrite  1
#define IOClose  2
#define IOAbort  3

/*
 * IO Flags
 */
#define IOFlag_ForceClose  (1 << 1)
#define IOFlag_SingleWrite (1 << 2)

/*
 * IO constants
 */
#define IOBufLen         8192


/*
 * Exported functions
 */
/* Note: a_IO_ccc() is defined in Url.h together with the *_ccc() set */


/*
 * Exported data
 */
extern const char *AboutSplash;


#endif /* __IO_H__ */