Commit graph

86 commits

Author SHA1 Message Date
Andreas Schneider
817dc1c2a4 Add csync_vio_local_close test will NULL. 2008-04-25 17:12:19 +02:00
Andreas Schneider
5a13a0ee5a Add the missing tests for csync_vio_local. 2008-04-25 16:49:14 +02:00
Andreas Schneider
be53c0762d Use a pointer in the utimes functions. 2008-04-25 16:48:28 +02:00
Andreas Schneider
17faefbffe Add test for file functions of csync_vio_local. 2008-04-25 15:10:01 +02:00
Andreas Schneider
1892d73537 Fix segfaults for read, write and lseek and set errno. 2008-04-25 14:36:24 +02:00
Andreas Schneider
ce1debedb6 Add needed include files for flags needed by open. 2008-04-25 11:27:11 +02:00
Andreas Schneider
b59fec14e8 Fix output of non log4c logging. 2008-04-25 11:26:20 +02:00
Andreas Schneider
dd6cc1f83c Fix a segfault if we try to close a nullpointer.
Same local or in the smb plugin.
2008-04-25 10:57:35 +02:00
Andreas Schneider
e6b45181f3 Add the possibility to disable log4c in testcases. 2008-04-25 10:56:23 +02:00
Andreas Schneider
23b40250ef Fix the exclude list test. 2008-04-24 09:39:20 +02:00
Andreas Schneider
335b97242c Add some tests for csync_vio_local. 2008-04-23 17:54:53 +02:00
Andreas Schneider
282c915290 Fix a segfault if you pass NULL to closedir. 2008-04-23 17:37:39 +02:00
Andreas Schneider
fcb55722ab Make the first argument of the hash algorithm const. 2008-04-23 17:36:36 +02:00
Andreas Schneider
f24524dd2a Fix the default exclude lists. 2008-04-23 17:33:22 +02:00
Andreas Schneider
6d11fbd3c6 Fix remote tree name and free the memory of the replicas. 2008-04-23 13:05:40 +02:00
Andreas Schneider
6a2f1f0add Add a file tree walker for the update detection. 2008-04-23 12:12:48 +02:00
Andreas Schneider
c281a720b0 Fix the directory handling. 2008-04-23 12:12:02 +02:00
Andreas Schneider
d3c92bbf60 Use the right type for the csync_vio_method_handle_t. 2008-04-23 11:48:17 +02:00
Andreas Schneider
40f21cc369 Don't free a NULL pointer at csync_vio_file_stat_destroy(). 2008-04-23 11:47:32 +02:00
Andreas Schneider
dc72b7397c Add the local and remote uri at creation time. 2008-04-22 17:23:26 +02:00
Andreas Schneider
5a37fd9b6d Load and shutdown smb plugin for now.
This needs to be implemented later.
2008-04-22 15:58:06 +02:00
Andreas Schneider
9a97f52e4f Add missing vio functions.
This is the last step to get the vio framework working.
2008-04-22 12:12:23 +02:00
Andreas Schneider
8b31bb70b7 Fix typo. 2008-04-22 12:09:30 +02:00
Andreas Schneider
26bf60720c Use the right dhandle type of closedir in vio. 2008-04-22 11:27:04 +02:00
Andreas Schneider
61c4be6c23 Don't initialize the synchronizer in the vio test. 2008-04-22 11:05:16 +02:00
Andreas Schneider
63dddf8f78 Fix memory leak in vio handle test. 2008-04-22 10:46:52 +02:00
Andreas Schneider
8fb079ae60 Add local functions for the vio plugin system. 2008-04-21 14:55:59 +02:00
Andreas Schneider
22513d07f2 Add test for loading the module. 2008-04-21 09:45:55 +02:00
Andreas Schneider
96efd606b0 Add missing parameter to the vio functions. 2008-04-21 09:43:20 +02:00
Andreas Schneider
d2b7c2f0c6 Add vio module loading test. 2008-04-18 19:16:54 +02:00
Andreas Schneider
aa9d97c953 Call the right shutdown function in the module. 2008-04-18 19:15:40 +02:00
Andreas Schneider
4644c39f5a Implement module init and shutdown functions. 2008-04-17 18:02:41 +02:00
Andreas Schneider
cb14a9aaa5 Fix build warning for shadowed variable. 2008-04-17 15:02:52 +02:00
Andreas Schneider
9c90b113e8 Add config.h to csync_private.h and add plugin_handle. 2008-04-17 14:54:21 +02:00
Andreas Schneider
dca5625249 Fix typos. 2008-04-17 14:45:13 +02:00
Andreas Schneider
396e3b50fa Change the name of the BLOCK_SIZE field. 2008-04-16 15:02:32 +02:00
Andreas Schneider
0b7dde4934 Complete the smb plugin. 2008-04-16 14:05:13 +02:00
Andreas Schneider
beccc5f1bd Add missing include file. 2008-04-16 10:57:50 +02:00
Andreas Schneider
c1bd966c5c Make csync_vio_file_stat functions public. 2008-04-16 10:54:53 +02:00
Andreas Schneider
7bd9c7753d Add test for csync_vio_file_stat. 2008-04-16 10:32:33 +02:00
Andreas Schneider
ec5d3afea0 Fix warning about shadowed variables. 2008-04-16 10:32:01 +02:00
Andreas Schneider
269f5f5403 Add readdir function and add some debug messages. 2008-04-10 15:46:17 +02:00
Andreas Schneider
c7a3afecfa Fix a compile warning. 2008-04-10 15:46:01 +02:00
Andreas Schneider
241a38c8f2 Add csync_vio_file_stat functions to (de)allocate memory. 2008-04-10 15:45:23 +02:00
Andreas Schneider
59eff42dc4 Fix includes. 2008-04-10 15:44:41 +02:00
Andreas Schneider
ee657149b1 Change variables to new name. 2008-04-10 14:18:25 +02:00
Andreas Schneider
fd1045f913 Add a strndup function to c_stdlib. 2008-04-10 14:17:36 +02:00
Andreas Schneider
a465f28037 Fix the build. 2008-04-07 18:13:46 +02:00
Andreas Schneider
ab39159607 Add virtual IO plugin system.
This is the initial commit of the vio plugin system. The idea is based on
gnomevfs.
2008-04-07 17:16:41 +02:00
Andreas Schneider
3e33f5d52c Run tests in fork mode. 2008-04-07 17:16:00 +02:00