Loading...
Searching...
No Matches
emcute_sub Struct Reference

Data-structure for keeping track of topics we register to. More...

Detailed Description

Data-structure for keeping track of topics we register to.

Definition at line 233 of file emcute.h.

#include <emcute.h>

Data Fields

struct emcute_subnext
 next subscription (saved in a list)
 
emcute_topic_t topic
 topic we subscribe to
 
emcute_cb_t cb
 function called when receiving messages
 
void * arg
 optional custom argument
 

Field Documentation

◆ arg

void* emcute_sub::arg

optional custom argument

Definition at line 237 of file emcute.h.

◆ cb

emcute_cb_t emcute_sub::cb

function called when receiving messages

Definition at line 236 of file emcute.h.

◆ next

struct emcute_sub* emcute_sub::next

next subscription (saved in a list)

Definition at line 234 of file emcute.h.

◆ topic

emcute_topic_t emcute_sub::topic

topic we subscribe to

Definition at line 235 of file emcute.h.


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