From: <svn...@op...> - 2009-10-22 21:28:32
|
Author: paule Date: Thu Oct 22 23:28:15 2009 New Revision: 5889 URL: http://www.opensync.org/changeset/5889 Log: API documentation: document OSyncStartType enum. Fixes bug #921. Modified: trunk/opensync/opensync.h Modified: trunk/opensync/opensync.h ============================================================================== --- trunk/opensync/opensync.h Thu Oct 22 22:42:43 2009 (r5888) +++ trunk/opensync/opensync.h Thu Oct 22 23:28:15 2009 (r5889) @@ -140,10 +140,19 @@ * Enums *************************************************************/ +/*! @ingroup OSyncPlugin + * @brief The possible start types of a plugin or client proxy + * + * Determines how the sync process is to be run. + */ typedef enum { + /** The start type is unknown, there was an error */ OSYNC_START_TYPE_UNKNOWN, + /** Start as child process */ OSYNC_START_TYPE_PROCESS, + /** Start in a separate thread */ OSYNC_START_TYPE_THREAD, + /** Start as a separate external process */ OSYNC_START_TYPE_EXTERNAL } OSyncStartType; @@ -151,11 +160,11 @@ * @brief The possible returns of a change comparison */ typedef enum { - /** The result is unknown, there was a error */ + /** The result is unknown, there was an error */ OSYNC_CONV_DATA_UNKNOWN = 0, /** The changes are not the same */ OSYNC_CONV_DATA_MISMATCH = 1, - /** The changs are not the same but look similar */ + /** The changes are not the same but look similar */ OSYNC_CONV_DATA_SIMILAR = 2, /** The changes are exactly the same */ OSYNC_CONV_DATA_SAME = 3 |