Browse Source

make ASN1Message_from_message ASN1Message_to_message public, install map_asn1.h

master
Luca Saiu 1 week ago
parent
commit
0a4436da00
3 changed files with 7 additions and 2 deletions
  1. +3
    -2
      src/Makefile
  2. +2
    -0
      src/map_asn1.c
  3. +2
    -0
      src/map_asn1.h

+ 3
- 2
src/Makefile View File

@ -119,8 +119,9 @@ HEADERS_TO_INSTALL = \
timestamp.h identity_list.h bloblist.h stringpair.h message.h mime.h group.h \
cryptotech.h sync_api.h pEp_string.h openpgp_compat.h engine_sql.h \
labeled_int_list.h key_reset.h base64.h sync_codec.h distribution_codec.h \
storage_codec.h status_to_string.h keyreset_command.h platform.h \
platform_unix.h platform_windows.h platform_zos.h \
storage_codec.h status_to_string.h keyreset_command.h \
map_asn1.h \
platform.h platform_unix.h platform_windows.h platform_zos.h \
transport.h growing_buf.h $(wildcard ../asn.1/*.h)
# CAVEAT:


+ 2
- 0
src/map_asn1.c View File

@ -837,6 +837,7 @@ enomem:
return NULL;
}
DYNAMIC_API
ASN1Message_t *ASN1Message_from_message(
message *msg,
ASN1Message_t *result,
@ -1078,6 +1079,7 @@ enomem:
return NULL;
}
DYNAMIC_API
message *ASN1Message_to_message(
ASN1Message_t *msg,
message *result,


+ 2
- 0
src/map_asn1.h View File

@ -346,6 +346,7 @@ bloblist_t *PBlobList_to_bloblist(
*
*/
DYNAMIC_API
ASN1Message_t *ASN1Message_from_message(
message *msg,
ASN1Message_t *result,
@ -371,6 +372,7 @@ ASN1Message_t *ASN1Message_from_message(
*
*/
DYNAMIC_API
message *ASN1Message_to_message(
ASN1Message_t *msg,
message *result,


Loading…
Cancel
Save