OpenSync  0.22
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 {
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;
57 typedef struct OSyncFormatProperty OSyncFormatProperty;
58 typedef struct OSyncFilter OSyncFilter;
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
Represent a user.
Represent an error.
Represent a converter from one format to another.
Represent a synchronzation plugin.
Represent a group of members that should be synchronized.
A member of a group which represent a single device.
Represents a filter to filter changes.
Represents a custom filter that can be used to call hooks.
A change object.
Represent a abstract object type (like "contact")
Represents a Queue which can be used to receive messages.
Represent a format for a object type.
OSyncChangeType
The changetypes of a change object.
Definition: opensync.h:28
The environment used for conversions.
Represent a hashtable which can be used to check if changes have been modifed or deleted.