pEpObjCAdapter/NSMutableDictionary+PEP.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 598 893ee5ebcd43
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
     1 //
     2 //  NSMutableDictionary+PEP.h
     3 //  pEpObjCAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 24.04.18.
     6 //  Copyright © 2018 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 #import "message.h"
    12 
    13 void replaceDictionaryContentsWithMessage(NSMutableDictionary *dict, message *message);
    14 
    15 @interface NSMutableDictionary (PEP)
    16 
    17 /**
    18  Replaces all content with `message`.
    19  */
    20 - (void)replaceWithMessage:(message *)message;
    21 
    22 @end