[Pkg-owncloud-commits] [python-owncloud] 14/33: Updated the csync_notify_type_e to the values of 0.90.4.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 22 01:49:47 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch upstream
in repository python-owncloud.
commit f4f272b2d633722efd508f47164c98bb768c9629
Author: Diederik de Haas <github at cknow.org>
Date: Tue Nov 12 22:11:32 2013 +0100
Updated the csync_notify_type_e to the values of 0.90.4.
---
csync/csynclib.py | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/csync/csynclib.py b/csync/csynclib.py
index f4c6ed0..b5478b0 100644
--- a/csync/csynclib.py
+++ b/csync/csynclib.py
@@ -171,12 +171,17 @@ csync_set_module_property.restype = c_int
csync_set_module_property.argtypes = [POINTER(CSYNC), STRING, c_void_p]
# values for enumeration 'csync_notify_type_e'
-CSYNC_NOTIFY_START_DOWNLOAD = 0
-CSYNC_NOTIFY_START_UPLOAD = 1
-CSYNC_NOTIFY_PROGRESS = 2
-CSYNC_NOTIFY_FINISHED_DOWNLOAD = 3
-CSYNC_NOTIFY_FINISHED_UPLOAD = 4
-CSYNC_NOTIFY_ERROR = 5
+CSYNC_NOTIFY_INVALID = 0
+CSYNC_NOTIFY_START_SYNC_SEQUENCE = 1
+CSYNC_NOTIFY_START_DOWNLOAD = 2
+CSYNC_NOTIFY_START_UPLOAD = 3
+CSYNC_NOTIFY_PROGRESS = 4
+CSYNC_NOTIFY_FINISHED_DOWNLOAD = 5
+CSYNC_NOTIFY_FINISHED_UPLOAD = 6
+CSYNC_NOTIFY_FINISHED_SYNC_SEQUENCE = 7
+CSYNC_NOTIFY_START_DELETE = 8
+CSYNC_NOTIFY_END_DELETE = 9
+CSYNC_NOTIFY_ERROR = 10
csync_notify_type_e = c_int # enum
csync_progress_callback = CFUNCTYPE(None, STRING, csync_notify_type_e, c_longlong, c_longlong, c_void_p)
csync_set_progress_callback = _libraries['/usr/lib/libocsync.so.0'].csync_set_progress_callback
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/python-owncloud.git
More information about the Pkg-owncloud-commits
mailing list