OpenSync
0.22
Main Page
Related Pages
Modules
Data Structures
Files
File List
opensync
opensync.h
1
#ifndef HAVE_OPENSYNC_H
2
#define HAVE_OPENSYNC_H
3
4
#include <unistd.h>
5
#include <sys/types.h>
6
#include <time.h>
7
#include <fcntl.h>
8
9
#ifdef __cplusplus
10
extern
"C"
11
{
12
#endif
13
14
/**************************************************************
15
* Defines
16
*************************************************************/
17
#ifndef TRUE
18
#define TRUE 1
19
#endif
20
21
#ifndef FALSE
22
#define FALSE 0
23
#endif
24
28
typedef
enum
{
30
CHANGE_UNKNOWN
= 0,
32
CHANGE_ADDED
= 1,
34
CHANGE_UNMODIFIED
= 2,
36
CHANGE_DELETED
= 3,
38
CHANGE_MODIFIED
= 4
39
}
OSyncChangeType
;
40
41
/**************************************************************
42
* Structs
43
*************************************************************/
44
typedef
struct
OSyncError
OSyncError
;
45
typedef
struct
OSyncEnv OSyncEnv;
46
typedef
struct
OSyncPlugin
OSyncPlugin
;
47
typedef
struct
OSyncGroup
OSyncGroup
;
48
typedef
struct
OSyncUserInfo
OSyncUserInfo
;
49
typedef
struct
OSyncMember
OSyncMember
;
50
typedef
struct
OSyncChange
OSyncChange
;
51
typedef
struct
OSyncContext OSyncContext;
52
typedef
struct
OSyncHashTable
OSyncHashTable
;
53
typedef
struct
OSyncFormatEnv
OSyncFormatEnv
;
54
typedef
struct
OSyncObjType
OSyncObjType
;
55
typedef
struct
OSyncObjFormat
OSyncObjFormat
;
56
typedef
struct
OSyncFormatConverter
OSyncFormatConverter
;
57
typedef
struct
OSyncFormatProperty OSyncFormatProperty;
58
typedef
struct
OSyncFilter
OSyncFilter
;
59
typedef
struct
OSyncCustomFilter
OSyncCustomFilter
;
60
typedef
struct
OSyncMessage
OSyncMessage
;
61
typedef
struct
OSyncQueue
OSyncQueue
;
62
typedef
int
osync_bool;
63
64
#include "opensync_debug.h"
65
#include "opensync_env.h"
66
#include "opensync_plugin.h"
67
#include "opensync_group.h"
68
#include "opensync_member.h"
69
#include "opensync_error.h"
70
#include "opensync_hashtable.h"
71
#include "opensync_change.h"
72
#include "opensync_context.h"
73
#include "opensync_filter.h"
74
#include "opensync_convert.h"
75
#include "opensync_changecmds.h"
76
#include "opensync_convreg.h"
77
#include "opensync_anchor.h"
78
#include "opensync_time.h"
79
#include "opensync_serializer.h"
80
81
#ifdef __cplusplus
82
}
83
#endif
84
85
#endif
Generated by
1.8.3.1