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.

27 lines
581 B

2 years ago
  1. //
  2. // PEPIdentity+Engine.h
  3. // pEpiOSAdapter
  4. //
  5. // Created by Dirk Zimmermann on 21.10.20.
  6. // Copyright © 2020 p≡p. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "PEPIdentity.h"
  10. #import "pEpEngine.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface PEPIdentity (Engine)
  13. /// @Note: If the ident does not contain an address, no PEPIdentity can be constructed.
  14. + (instancetype _Nullable)fromStruct:(pEp_identity * _Nonnull)identityStruct;
  15. - (pEp_identity *)toStruct;
  16. - (void)overWriteFromStruct:(pEp_identity * _Nonnull)identityStruct;
  17. @end
  18. NS_ASSUME_NONNULL_END