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.
dirk@597
     1
//
dirk@597
     2
//  NSMutableDictionary+PEP.h
dirk@597
     3
//  pEpObjCAdapter
dirk@597
     4
//
dirk@597
     5
//  Created by Dirk Zimmermann on 24.04.18.
dirk@597
     6
//  Copyright © 2018 p≡p. All rights reserved.
dirk@597
     7
//
dirk@597
     8
dirk@597
     9
#import <Foundation/Foundation.h>
dirk@597
    10
dirk@597
    11
#import "message.h"
dirk@597
    12
dirk@598
    13
void replaceDictionaryContentsWithMessage(NSMutableDictionary *dict, message *message);
dirk@598
    14
dirk@597
    15
@interface NSMutableDictionary (PEP)
dirk@597
    16
dirk@597
    17
/**
dirk@597
    18
 Replaces all content with `message`.
dirk@597
    19
 */
dirk@597
    20
- (void)replaceWithMessage:(message *)message;
dirk@597
    21
dirk@597
    22
@end