OpenSync  0.22
opensync_support.h
1 #ifndef _OPENSYNC_SUPPORT_H
2 #define _OPENSYNC_SUPPORT_H
3 
4 typedef struct OSyncThread {
5  GThread *thread;
6  GCond *started;
7  GMutex *started_mutex;
8  GMainContext *context;
9  GMainLoop *loop;
10 } OSyncThread;
11 
12 OSyncThread *osync_thread_new(GMainContext *context, OSyncError **error);
13 void osync_thread_free(OSyncThread *thread);
14 void osync_thread_start(OSyncThread *thread);
15 void osync_thread_stop(OSyncThread *thread);
16 osync_bool osync_pattern_match(const char *pattern, const char *data, int size);
17 
18 #endif
Represent an error.