diff src/timeout.hh @ 0:6ee11bf9e3ea

Initial revision
author jcid
date Sun, 07 Oct 2007 00:36:34 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/timeout.hh	Sun Oct 07 00:36:34 2007 +0200
@@ -0,0 +1,20 @@
+#ifndef __TIMEOUT_HH__
+#define __TIMEOUT_HH__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef void (*TimeoutCb_t)(void *data);
+
+void a_Timeout_add(float t, TimeoutCb_t cb, void *cbdata);
+void a_Timeout_repeat(float t, TimeoutCb_t cb, void *cbdata);
+void a_Timeout_remove();
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __TIMEOUT_HH__ */
+