Adapter for libpepmime, offering ObjC API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
548 B

//
// PEPMessage+Engine.h
// pEpiOSAdapter
//
// Created by Dirk Zimmermann on 21.10.20.
// Copyright © 2020 p≡p. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "message.h"
#import "PEPMessage.h"
NS_ASSUME_NONNULL_BEGIN
@interface PEPMessage (Engine)
+ (instancetype _Nullable)fromStruct:(message * _Nullable)msg;
- (message * _Nullable)toStruct;
/// Sets recipients with 0 member to nil
- (instancetype)removeEmptyRecipients;
- (void)overWriteFromStruct:(message * _Nonnull)message;
@end
NS_ASSUME_NONNULL_END