summaryrefslogtreecommitdiff
path: root/include/background.h
blob: 87e95e5aae762ab854ebc06239aefe8535c4992c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 */