tstatus/module.h

13 lines
354 B
C

/* see LICENSE file for details on license */
#ifndef TSTATUS_MODULE_H
#define MODULE_BUFFER_LEN 128
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