tstatus/module.h

13 lines
354 B
C
Raw Normal View History

/* see LICENSE file for details on license */
2022-09-20 16:29:25 -05:00
#ifndef TSTATUS_MODULE_H
2022-09-21 12:50:10 -05:00
#define MODULE_BUFFER_LEN 128
2022-09-20 16:29:25 -05:00
struct module {
int update; /* update interval in seconds */
int termcode; /* update termcode */
int (*updatecallback)(struct module *); /* update function */
char buffer[MODULE_BUFFER_LEN]; /* buffer for text */
};
#endif
#define TSTATUS_MODULE_H