sync/gen_codec.ysl2
branchsync
changeset 3058 9626ee1d22c3
parent 3026 c3e63f6aa233
child 3512 a5a45f8fa684
     1.1 --- a/sync/gen_codec.ysl2	Mon Oct 15 21:35:52 2018 +0200
     1.2 +++ b/sync/gen_codec.ysl2	Mon Oct 15 21:57:15 2018 +0200
     1.3 @@ -103,12 +103,14 @@
     1.4          // This file is under GNU General Public License 3.0
     1.5          // see LICENSE.txt
     1.6  
     1.7 +        #include "platform.h"
     1.8 +
     1.9          #include "«yml:lcase(@name)»_codec.h"
    1.10          #include "../asn.1/«@name».h"
    1.11          #include "pEp_internal.h"
    1.12          #include "growing_buf.h"
    1.13  
    1.14 -        PEP_STATUS decode_«@name»_message(
    1.15 +        DYNAMIC_API PEP_STATUS decode_«@name»_message(
    1.16                  const char *data,
    1.17                  size_t size,
    1.18                  «@name»_t **msg