new_sync_timeout_event() is now part of the API sync
authorVolker Birk <vb@pep.foundation>
Thu, 30 Aug 2018 02:34:15 +0200
branchsync
changeset 291161e0cb26f440
parent 2910 e1a7270acdcf
child 2912 13a2b54020b7
new_sync_timeout_event() is now part of the API
src/sync_api.c
src/sync_api.h
     1.1 --- a/src/sync_api.c	Thu Aug 30 02:26:16 2018 +0200
     1.2 +++ b/src/sync_api.c	Thu Aug 30 02:34:15 2018 +0200
     1.3 @@ -146,3 +146,8 @@
     1.4      return session->retrieve_next_sync_event != NULL;
     1.5  }
     1.6  
     1.7 +DYNAMIC_API SYNC_EVENT new_sync_timeout_event()
     1.8 +{
     1.9 +    return SYNC_TIMEOUT_EVENT;
    1.10 +}
    1.11 +
     2.1 --- a/src/sync_api.h	Thu Aug 30 02:26:16 2018 +0200
     2.2 +++ b/src/sync_api.h	Thu Aug 30 02:34:15 2018 +0200
     2.3 @@ -158,6 +158,14 @@
     2.4  DYNAMIC_API bool is_sync_thread(PEP_SESSION session);
     2.5  
     2.6  
     2.7 +// new_sync_timeout_event() - create a Sync timeout event
     2.8 +//
     2.9 +//  return value:
    2.10 +//      returns a new Sync timeout event, or NULL on failure
    2.11 +
    2.12 +DYNAMIC_API SYNC_EVENT new_sync_timeout_event();
    2.13 +
    2.14 +
    2.15  #ifdef __cplusplus
    2.16  }
    2.17  #endif