tstatus/module.h

12 lines
307 B
C
Raw Normal View History

2022-09-20 16:29:25 -05:00
#ifndef TSTATUS_MODULE_H
#define MODULE_BUFFER_LEN 64
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