Microchip® Advanced Software Framework

api_msg Struct Reference

This struct contains a function to execute in another thread context and a struct api_msg_msg that serves as an argument for this function.

This is passed to tcpip_apimsg to execute functions in tcpip_thread context.

#include <api_msg.h>

Data Fields

void(* function )(struct api_msg_msg *msg)
 function to execute in tcpip_thread context More...
 
struct api_msg_msg msg
 arguments for this function More...
 

void(* api_msg::function)(struct api_msg_msg *msg)

function to execute in tcpip_thread context

Referenced by tcpip_thread().

struct api_msg_msg api_msg::msg

arguments for this function

Referenced by tcpip_apimsg(), and tcpip_thread().