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); |