mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
15 lines
335 B
C
15 lines
335 B
C
#ifndef __BAD_H__
|
|
#define __BAD_H__
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "cdba.h"
|
|
|
|
void watch_add_readfd(int fd, int (*cb)(int, void*), void *data);
|
|
int watch_add_quit(int (*cb)(int, void*), void *data);
|
|
int watch_add_timer(void (*cb)(void*), void *data, unsigned interval, bool repeat);
|
|
void watch_quit(void);
|
|
int watch_run(void);
|
|
|
|
#endif
|