72f58822 L |
1 | #ifndef BACKGROUND_H |
2 | #define BACKGROUND_H |
3 | |
4 | typedef int (*bg_func)(int); |
5 | |
89adce76 L |
6 | int bg_register(bg_func f, int initval); |
7 | int bg_setstat(int handle, int val); |
8 | int bg_getstat(int handle); |
72f58822 L |
9 | void bg_shed(void); |
10 | |
11 | #endif /* BACKGROUND_H */ |
12 | |