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

Go to the source code of this file.

Data Structures

struct  connect_r_packet
 

Typedefs

typedef struct connect_r_packet connect_r_packet_t
 

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

Typedef Documentation

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().