src/sync.h
branchkeysync
changeset 1128 51ea505b60e6
parent 1116 c9a03f2423c1
child 1160 a176739cd3c3
     1.1 --- a/src/sync.h	Fri Sep 02 09:47:35 2016 +0200
     1.2 +++ b/src/sync.h	Fri Sep 02 16:40:06 2016 +0200
     1.3 @@ -160,6 +160,20 @@
     1.4      );
     1.5  
     1.6  
     1.7 +// encode_sync_msg() - encode sync message from XER into PER
     1.8 +//
     1.9 +//  parameters:
    1.10 +//      text (in)               string with XER text of the sync message
    1.11 +//      data (out)              PER encoded data
    1.12 +//      size (out)              size of PER encoded data
    1.13 +
    1.14 +DYNAMIC_API PEP_STATUS encode_sync_msg(
    1.15 +        const char *text,
    1.16 +        char **data,
    1.17 +        size_t *size
    1.18 +    );
    1.19 +
    1.20 +
    1.21  #ifdef __cplusplus
    1.22  }
    1.23  #endif