caveat added
authorVolker Birk <vb@pep-project.org>
Fri, 20 May 2016 16:54:50 +0200
changeset 672f7bcbc1db9bf
parent 669 34d1bc5ebb64
child 673 999e63e9b094
caveat added
src/map_asn1.h
     1.1 --- a/src/map_asn1.h	Thu May 19 17:54:44 2016 +0200
     1.2 +++ b/src/map_asn1.h	Fri May 20 16:54:50 2016 +0200
     1.3 @@ -18,6 +18,9 @@
     1.4  //
     1.5  //  return value:
     1.6  //      pointer to updated or allocated result
     1.7 +//
     1.8 +//  caveat:
     1.9 +//      if a new struct is allocated, the ownership goes to the caller
    1.10  
    1.11  Identity_t *Identity_from_Struct(
    1.12          const pEp_identity *ident,
    1.13 @@ -33,6 +36,9 @@
    1.14  //
    1.15  //  return value:
    1.16  //      pointer to updated or allocated result
    1.17 +//
    1.18 +//  caveat:
    1.19 +//      if a new struct is allocated, the ownership goes to the caller
    1.20  
    1.21  pEp_identity *Identity_to_Struct(Identity_t *ident, pEp_identity *result);
    1.22  
    1.23 @@ -45,6 +51,9 @@
    1.24  //
    1.25  //  return value:
    1.26  //      pointer to updated or allocated result
    1.27 +//
    1.28 +//  caveat:
    1.29 +//      if a new struct is allocated, the ownership goes to the caller
    1.30  
    1.31  KeyList_t *KeyList_from_stringlist(
    1.32          const stringlist_t *list,
    1.33 @@ -59,6 +68,9 @@
    1.34  //
    1.35  //  return value:
    1.36  //      pointer to updated or allocated result
    1.37 +//
    1.38 +//  caveat:
    1.39 +//      if a new struct is allocated, the ownership goes to the caller
    1.40  
    1.41  stringlist_t *KeyList_to_stringlist(KeyList_t *list, stringlist_t *result);
    1.42