Dependencies:   mbed

Dependents:   TCP

Embed: (wiki syntax)

« Back to documentation index

api_msg Struct Reference

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. More...

#include <api_msg.h>

Data Fields

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

Detailed Description

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.

Definition at line 119 of file LPC1768/lwip/include/lwip/api_msg.h.


Field Documentation

void(* function)(struct api_msg_msg *msg)

function to execute in tcpip_thread context

Definition at line 121 of file LPC1768/lwip/include/lwip/api_msg.h.

struct api_msg_msg msg

arguments for this function

Definition at line 123 of file LPC1768/lwip/include/lwip/api_msg.h.