session-ios/SignalUtilitiesKit/Database/OWSStorage/OWSPrimaryStorage+PreKeyStore.h

19 lines
504 B
C
Raw Normal View History

2020-11-11 00:58:56 +01:00
//
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
#import <SignalUtilitiesKit/OWSPrimaryStorage.h>
2020-11-11 00:58:56 +01:00
#import <SessionProtocolKit/PreKeyStore.h>
NS_ASSUME_NONNULL_BEGIN
@interface OWSPrimaryStorage (PreKeyStore) <PreKeyStore>
- (NSArray<PreKeyRecord *> *)generatePreKeyRecords;
- (NSArray<PreKeyRecord *> *)generatePreKeyRecords:(int)batchSize;
- (void)storePreKeyRecords:(NSArray<PreKeyRecord *> *)preKeyRecords NS_SWIFT_NAME(storePreKeyRecords(_:));
@end
NS_ASSUME_NONNULL_END