diff options
Diffstat (limited to 'include/background.h')
-rw-r--r-- | include/background.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/background.h b/include/background.h new file mode 100644 index 0000000..8a430b3 --- /dev/null +++ b/include/background.h @@ -0,0 +1,12 @@ +#ifndef BACKGROUND_H +#define BACKGROUND_H + +typedef int (*bg_func)(int); + +int bg_register(bg_func f, int initval); +int bg_setstat(int handle, int val); +int bg_getstat(int handle); +void bg_shed(void); + +#endif /* BACKGROUND_H */ + |