H A D | auth_sub_session.h | 28 typedef struct AuthSubSession AuthSubSession; typedef 29 struct AuthSubSession { struct 32 int32_t (*start)(AuthSubSession *self, CJson **returnSendMsg); argument 33 int32_t (*process)(AuthSubSession *self, const CJson *receviedMsg, CJson **returnSendMsg); argument 34 int32_t (*setPsk)(AuthSubSession *self, const Uint8Buff *psk); argument 35 int32_t (*setSelfProtectedMsg)(AuthSubSession *self, const Uint8Buff *selfMsg); argument 36 int32_t (*setPeerProtectedMsg)(AuthSubSession *self, const Uint8Buff *peerMsg); argument 37 int32_t (*getSessionKey)(AuthSubSession *self, Uint8Buff *returnSessionKey); argument 38 void (*destroy)(AuthSubSession *self); argument 46 int32_t CreateAuthSubSession(int32_t protocolType, void *params, bool isClient, AuthSubSession **re…
|