diff options
Diffstat (limited to 'include/background.h')
-rw-r--r-- | include/background.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/background.h b/include/background.h new file mode 100644 index 0000000..87e95e5 --- /dev/null +++ b/include/background.h @@ -0,0 +1,17 @@ +/* + * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#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 */ |