annotate src/timeout.hh @ 0:6ee11bf9e3ea

Initial revision
author jcid
date Sun, 07 Oct 2007 00:36:34 +0200
parents
children
rev   line source
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
1 #ifndef __TIMEOUT_HH__
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
2 #define __TIMEOUT_HH__
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
3
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
4 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
5 extern "C" {
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
6 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
7
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
8 typedef void (*TimeoutCb_t)(void *data);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
9
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
10 void a_Timeout_add(float t, TimeoutCb_t cb, void *cbdata);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
11 void a_Timeout_repeat(float t, TimeoutCb_t cb, void *cbdata);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
12 void a_Timeout_remove();
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
13
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
14
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
15 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
16 }
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
17 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
18
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
19 #endif /* __TIMEOUT_HH__ */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
20