dav/sync.h

changeset 789
378b5ab86f77
parent 780
cd1c869720e0
equal deleted inserted replaced
788:9b9420041d8e 789:378b5ab86f77
32 #include <curl/curl.h> 32 #include <curl/curl.h>
33 #include <libidav/webdav.h> 33 #include <libidav/webdav.h>
34 #include <cx/list.h> 34 #include <cx/list.h>
35 #include <cx/hash_map.h> 35 #include <cx/hash_map.h>
36 36
37 #include <pthread.h>
38
39 #include "scfg.h" 37 #include "scfg.h"
40 #include "config.h" 38 #include "config.h"
41 #include "sopt.h" 39 #include "sopt.h"
42 #include "system.h" 40 #include "system.h"
43 41
94 RemoteChangeType type; 92 RemoteChangeType type;
95 } RemoteChange; 93 } RemoteChange;
96 94
97 void print_usage(char *cmd); 95 void print_usage(char *cmd);
98 96
97 #ifndef _WIN32
99 pthread_t start_sighandler(pthread_mutex_t *mutex) ; 98 pthread_t start_sighandler(pthread_mutex_t *mutex) ;
100 void stop_sighandler(pthread_mutex_t *mutex, pthread_t tid); 99 void stop_sighandler(pthread_mutex_t *mutex, pthread_t tid);
100 #else
101 // TODO: just dummies at the moment
102 int start_sighandler(int* mutex);
103 int stop_sighandler(int* mutex, int tid);
104 #endif
101 105
102 void res2map(DavResource *root, CxMap *map); 106 void res2map(DavResource *root, CxMap *map);
103 107
104 int cmd_pull(CmdArgs *args, DavBool incoming); 108 int cmd_pull(CmdArgs *args, DavBool incoming);
105 int cmd_push(CmdArgs *args, DavBool outgoing, DavBool archive); 109 int cmd_push(CmdArgs *args, DavBool outgoing, DavBool archive);

mercurial