Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
commands_creator.c File Reference
#include <assert.h>
#include "commands_creator.h"

Functions

uint8_t * createCmdConnectRPacketUdp (ksnetEvMgrClass *event_manager, size_t *size_out)
 
uint8_t * createCmdConnectRPacketTcp (ksnetEvMgrClass *event_manager, size_t *size_out)
 
uint8_t * createCmdConnectPacket (ksnetEvMgrClass *event_manager, char *name, char *addr, uint32_t port, size_t *size_out)
 
uint8_t * createCmdResendPacket (char *to, uint8_t cmd, void *data, size_t data_len, size_t *size_out)
 

Detailed Description

Author
max Created on Mon Mar 29 17:14:47 2021

Function Documentation

uint8_t* createCmdConnectPacket ( ksnetEvMgrClass event_manager,
char *  name,
char *  addr,
uint32_t  port,
size_t *  size_out 
)
uint8_t* createCmdConnectRPacketTcp ( ksnetEvMgrClass event_manager,
size_t *  size_out 
)

References malloc().

Referenced by connect_r_host_cb().

uint8_t* createCmdResendPacket ( char *  to,
uint8_t  cmd,
void *  data,
size_t  data_len,
size_t *  size_out 
)

References malloc().