IOSAD-99 message *PEP_messageToStruct(PEPMessage *message)
authorDirk Zimmermann <dirk@pep-project.org>
Mon, 10 Sep 2018 12:06:49 +0200
changeset 649090fa902a419
parent 648 946895afd5f8
child 650 b538f525eca5
IOSAD-99 message *PEP_messageToStruct(PEPMessage *message)
pEpObjCAdapter/PEPMessageUtil.h
pEpObjCAdapter/PEPMessageUtil.m
     1.1 --- a/pEpObjCAdapter/PEPMessageUtil.h	Tue Sep 04 13:55:01 2018 +0200
     1.2 +++ b/pEpObjCAdapter/PEPMessageUtil.h	Mon Sep 10 12:06:49 2018 +0200
     1.3 @@ -28,6 +28,7 @@
     1.4  
     1.5  PEPMessage * _Nullable pEpMessageFromStruct(message * _Nullable msg);
     1.6  
     1.7 +message *PEP_messageToStruct(PEPMessage *message);
     1.8  message * _Nullable PEP_messageDictToStruct(NSDictionary * _Nullable dict);
     1.9  NSDictionary * _Nonnull PEP_messageDictFromStruct(message * _Nullable msg);
    1.10  
     2.1 --- a/pEpObjCAdapter/PEPMessageUtil.m	Tue Sep 04 13:55:01 2018 +0200
     2.2 +++ b/pEpObjCAdapter/PEPMessageUtil.m	Mon Sep 10 12:06:49 2018 +0200
     2.3 @@ -360,6 +360,10 @@
     2.4      return theMessage;
     2.5  }
     2.6  
     2.7 +message *PEP_messageToStruct(PEPMessage *message) {
     2.8 +    return PEP_messageDictToStruct((NSDictionary *) message);
     2.9 +}
    2.10 +
    2.11  message *PEP_messageDictToStruct(NSDictionary *dict)
    2.12  {
    2.13      // Direction default to incoming