![]() |
|
|||
0001 /* SPDX-License-Identifier: LGPL-2.1+ */ 0002 /* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano <daniel.lezcano@linaro.org> */ 0003 #ifndef __THERMAL_TOOLS_MAINLOOP_H 0004 #define __THERMAL_TOOLS_MAINLOOP_H 0005 0006 typedef int (*mainloop_callback_t)(int fd, void *data); 0007 0008 extern int mainloop(unsigned int timeout); 0009 extern int mainloop_add(int fd, mainloop_callback_t cb, void *data); 0010 extern int mainloop_del(int fd); 0011 extern void mainloop_exit(void); 0012 extern int mainloop_init(void); 0013 extern void mainloop_fini(void); 0014 0015 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |