Browse Source

Merge branch 'IPS-9'

master
Dirk Zimmermann 2 weeks ago
parent
commit
0829bb5dbb
6 changed files with 27 additions and 9 deletions
  1. +2
    -1
      build-mac/pEpTransport.xcodeproj/project.pbxproj
  2. +0
    -0
      build-mac/pEpTransport.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  3. +8
    -0
      build-mac/pEpTransport.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  4. +7
    -7
      src/PEPTransportProtocol.h
  5. +7
    -0
      src/gen_objc.ysl2
  6. +3
    -1
      src/sctp.tsc

build-mac/pEpTransport/pEpTransport.xcodeproj/project.pbxproj → build-mac/pEpTransport.xcodeproj/project.pbxproj View File


build-mac/pEpTransport/pEpTransport.xcodeproj/project.xcworkspace/contents.xcworkspacedata → build-mac/pEpTransport.xcodeproj/project.xcworkspace/contents.xcworkspacedata View File


+ 8
- 0
build-mac/pEpTransport.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

+ 7
- 7
src/PEPTransportProtocol.h View File

@ -1,6 +1,7 @@
#import <Foundation/Foundation.h>
@import PEPObjCTypes_macOS;
#import "PEPObjCTypes.h"
#import "PEPTransportStatusCode.h"
@class PEPTransportConfig;
@class PEPSession;
@ -52,28 +53,27 @@ NS_ASSUME_NONNULL_BEGIN
- (_Nullable instancetype)initWithSignalStatusChangeDelegate:(id<PEPTransportStatusChangeDelegate> _Nullable)signalStatusChangeDelegate
signalSendToResultDelegate:(id<PEPTransportSendToResultDelegate> _Nullable)signalSendToResultDelegate
signalIncomingMessageDelegate:(id<PEPTransportIncomingMessageDelegate> _Nullable)signalIncomingMessageDelegate
callbackExecutionType:(PEPTransportCallbackExcecutionType)callbackExecutionType
error:(NSError * _Nullable * _Nullable)error;
- (BOOL) configure:(PEPTransport * _Nullable)pEptransport
withConfig:(PEPTransportConfig *)config
transportStatusCode:(out PEPTransportStatusCode * _Nullable)tsc
transportStatusCode:(out PEPTransportStatusCode * _Nullable)transportStatusCode
error:(NSError * _Nullable * _Nullable)error;
- (BOOL) startup:(PEPTransport * _Nullable)pEptransport
transportStatusCode:(out PEPTransportStatusCode*)tsc
transportStatusCode:(out PEPTransportStatusCode*)transportStatusCode
error:(NSError * _Nullable * _Nullable)error;
- (BOOL) shutdown:(PEPTransport * _Nullable)pEptransport
transportStatusCode:(out PEPTransportStatusCode * _Nullable)tsc
transportStatusCode:(out PEPTransportStatusCode * _Nullable)transportStatusCode
error:(NSError * _Nullable * _Nullable)error;
- (BOOL) sendMessage:(PEPMessage *)msg pEpSession:(PEPSession * _Nullable)pEpSession
transportStatusCode:(out PEPTransportStatusCode * _Nullable)tsc
transportStatusCode:(out PEPTransportStatusCode * _Nullable)transportStatusCode
error:(NSError * _Nullable * _Nullable)error;
- (PEPMessage * _Nullable)nextMessageWithPEPSession:(PEPSession * _Nullable)pEpsession
transportStatusCode:(out PEPTransportStatusCode * _Nullable)tsc
transportStatusCode:(out PEPTransportStatusCode * _Nullable)transportStatusCode
error:(NSError * _Nullable * _Nullable)error;
@end


+ 7
- 0
src/gen_objc.ysl2 View File

@ -5,6 +5,13 @@ tstylesheet {
template "/enum"
||
///
/// This file was automatically generated. Don't edit it manually.
///
/// For details, see here:
/// https://gitea.pep.foundation/pEp.foundation/libpEpTransport
///
#ifndef __PEP«yml:CamelCase(@name)»_H__
#define __PEP«yml:CamelCase(@name)»_H__


+ 3
- 1
src/sctp.tsc View File

@ -1,3 +1,5 @@
doc > transport status codes for pEp over SCTP (0x04)
hex unkown_sctp_error 0x04ffffff;
hex sctp_could_not_decode_asn1 0x04080001;
hex sctp_error_receiving_message 0x04080002;
hex sctp_unkown_error 0x04ffffff;

Loading…
Cancel
Save