Andreas Schneider
91d92bfa16
log: Add functions to set userdata for the logging callback.
2013-03-01 09:59:55 +01:00
Andreas Schneider
8a0b4319d3
csync: Add a new logging system.
2012-10-30 11:27:21 +01:00
Andreas Schneider
9b11339a9e
util: Remove obsolete csync_create_statedb_hash().
2012-10-22 14:55:26 +02:00
Andreas Schneider
68abef8626
util: Improve statedb hashing function to avoid possible data loss.
...
The statedb hash function only hashes the remote side and not the local
path. So if a user changes to a new empty directory to sync it with the
remote counter part, csync will delete all files.
This will result in a new full sync for all sync setups, but we will not
loose any data.
2012-10-22 11:00:51 +02:00
Benjamin Legrand
cb8a501241
Fix a typeo and rename REPLCIA to REPLICA.
...
BUG #8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-10-19 15:59:51 +02:00
Klaas Freitag
f0a84bb5da
Fix use of strerror_r on non GNU platforms.
2012-03-19 12:40:43 +01:00
Andreas Schneider
f0cf678c0e
Fix config checks.
2012-03-02 17:04:02 +01:00
Andreas Schneider
f753a3db0a
util: Rename temp file of the unix extension test.
2012-02-22 16:18:07 +01:00
Christian Jann
ffd7d5b247
better idea to align the INSTRUCTIONs printf(%-20s,...)
2011-04-12 19:42:08 +02:00
Christian Jann
deb620b5be
align everything correctly (easier to read)
...
prefix "CSYNC_": no extra information -> removed
we could even remove "INSTRUCTION_" or change it to "INST_"
2011-04-12 17:09:39 +02:00
Andreas Schneider
fdea54edc5
Fix the vim modlines.
2009-05-13 10:12:07 +02:00
Andreas Schneider
2331568f08
Fix a segfault if we use a local path.
2009-01-22 15:21:06 +01:00
Andreas Schneider
ecca37d2a1
Normalize the path to <host>/<path> for the statedb filename.
...
This should fix problem if a user uses pam_csync and csync with different
urls (#27 ).
2009-01-22 14:44:06 +01:00
Andreas Schneider
c5104e8da3
Rename variable to unix_extensions.
2009-01-19 11:32:58 +01:00
Andreas Schneider
e0807cba1b
Add a check if we are operating remote on a unix filesystem.
...
This extends the exclude function. Maybe we should do this for the local
too.
2009-01-13 15:50:44 +01:00
Andreas Schneider
33aa3abd96
Add some error log messages.
2008-07-21 14:31:34 +02:00
Andreas Schneider
70ca880a05
Set the right instruction during propagation for the journal.
2008-06-28 17:18:10 +02:00
Andreas Schneider
274c73a929
Add missing instructions.
2008-06-28 17:17:34 +02:00
Andreas Schneider
076c7fb819
More code cleanup for PPC.
2008-06-27 18:01:19 +02:00
Andreas Schneider
183f16c386
Add a function to merge the trees.
...
This is needed to be able to write a complete journal.
2008-06-18 13:16:45 +02:00
Andreas Schneider
8fc9e93ee0
Respect return value of fscanf.
2008-05-08 16:16:55 +02:00
Andreas Schneider
648c93ba7d
Add a function to get a string from an instruction code.
...
This needed for human readable debugging messages.
2008-04-30 16:22:48 +02:00
Andreas Schneider
48a4ad8400
Add function to print out the status of the memory usage.
2008-04-28 16:47:35 +02:00
Andreas Schneider
1b29a420bc
Initial commit
2008-02-27 18:56:47 +01:00