libsbp  v2.4.7
sbp_msg_callbacks_node Struct Reference

SBP callback node. More...

#include <sbp.h>

Collaboration diagram for sbp_msg_callbacks_node:

Data Fields

u16 msg_type
 Message ID associated with callback. More...
 
sbp_msg_callback_t cb
 Pointer to callback function. More...
 
void * context
 Pointer to a context. More...
 
struct sbp_msg_callbacks_nodenext
 Pointer to next node in list. More...
 

Detailed Description

SBP callback node.

Forms a linked list of callbacks.

Note
Must be statically allocated for use with sbp_register_callback().

Definition at line 54 of file sbp.h.

Field Documentation

Pointer to callback function.

Definition at line 56 of file sbp.h.

void* context

Pointer to a context.

Definition at line 57 of file sbp.h.

u16 msg_type

Message ID associated with callback.

Definition at line 55 of file sbp.h.

struct sbp_msg_callbacks_node* next

Pointer to next node in list.

Definition at line 58 of file sbp.h.


The documentation for this struct was generated from the following file: