mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 05:53:12 -07:00
Takion Message structs
This commit is contained in:
parent
3800c2d4cd
commit
426124d777
1 changed files with 20 additions and 0 deletions
|
@ -46,6 +46,26 @@ typedef struct takion_message_t
|
||||||
} TakionMessage;
|
} TakionMessage;
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct takion_message_payload_init_t
|
||||||
|
{
|
||||||
|
uint32_t tag0;
|
||||||
|
uint32_t something;
|
||||||
|
uint16_t min;
|
||||||
|
uint16_t max;
|
||||||
|
uint32_t tag1;
|
||||||
|
} TakionMessagePayloadInit;
|
||||||
|
|
||||||
|
typedef struct takion_message_payload_init_ack_t
|
||||||
|
{
|
||||||
|
uint32_t tag;
|
||||||
|
uint32_t unknown0;
|
||||||
|
uint16_t min;
|
||||||
|
uint16_t max;
|
||||||
|
uint32_t unknown1;
|
||||||
|
char data[32];
|
||||||
|
} TakionMessagePayloadInitAck;
|
||||||
|
|
||||||
|
|
||||||
static void *takion_thread_func(void *user);
|
static void *takion_thread_func(void *user);
|
||||||
|
|
||||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_takion_connect(ChiakiTakion *takion, ChiakiLog *log, struct sockaddr *sa, socklen_t sa_len)
|
CHIAKI_EXPORT ChiakiErrorCode chiaki_takion_connect(ChiakiTakion *takion, ChiakiLog *log, struct sockaddr *sa, socklen_t sa_len)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue