[Pkg-owncloud-commits] [owncloud-client] 98/103: Add set_csync_file_locked_or_open_ext

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Apr 30 18:09:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 3bf15541c63daf898ded36bbde48b2ed94a40ae6
Author: Markus Goetz <markus at woboq.com>
Date:   Tue Apr 29 18:37:34 2014 +0200

    Add set_csync_file_locked_or_open_ext
    
    Without using function, there were problems with DLL import/export
---
 csync/src/csync_util.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/csync/src/csync_util.c b/csync/src/csync_util.c
index a79d925..b82005a 100644
--- a/csync/src/csync_util.c
+++ b/csync/src/csync_util.c
@@ -182,6 +182,10 @@ csync_vio_file_stat_t *csync_vio_convert_file_stat(csync_file_stat_t *st) {
 }
 
 bool (*csync_file_locked_or_open_ext) (const char*) = 0; // filled in by library user
+void set_csync_file_locked_or_open_ext(bool (*f) (const char*)) {
+    csync_file_locked_or_open_ext = f;
+}
+
 bool csync_file_locked_or_open( const char *dir, const char *fname) {
     char *tmp_uri = NULL;
     bool ret;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list