summaryrefslogtreecommitdiff
path: root/toxav/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/event.h')
-rw-r--r--[-rwxr-xr-x]toxav/event.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/toxav/event.h b/toxav/event.h
index 17dadbd5..0fb2d120 100755..100644
--- a/toxav/event.h
+++ b/toxav/event.h
@@ -1,5 +1,5 @@
1/** event.h 1/** event.h
2 * 2 *
3 * Copyright (C) 2013 Tox project All Rights Reserved. 3 * Copyright (C) 2013 Tox project All Rights Reserved.
4 * 4 *
5 * This file is part of Tox. 5 * This file is part of Tox.
@@ -17,7 +17,7 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 * 19 *
20 * 20 *
21 * Report bugs/suggestions at #tox-dev @ freenode.net:6667 21 * Report bugs/suggestions at #tox-dev @ freenode.net:6667
22 */ 22 */
23 23
@@ -36,13 +36,12 @@
36 * - Timeout is measured in milliseconds. 36 * - Timeout is measured in milliseconds.
37 * 37 *
38 * NOTE: timer_reset () and timer_now() are not tested nor usable atm 38 * NOTE: timer_reset () and timer_now() are not tested nor usable atm
39 * 39 *
40 */ 40 */
41extern struct _Event 41extern struct _Event {
42{ 42 int (*rise) (void * ( func ) ( void * ), void *arg);
43 int (*rise) (void* ( func ) ( void* ), void* arg);
44 int (*timer_reset ) ( int id, unsigned timeout ); 43 int (*timer_reset ) ( int id, unsigned timeout );
45 int (*timer_alloc) (void* ( func ) ( void* ), void* arg, unsigned timeout); 44 int (*timer_alloc) (void * ( func ) ( void * ), void *arg, unsigned timeout);
46 int (*timer_release) (int id); 45 int (*timer_release) (int id);
47 int (*timer_now) ( int id ); 46 int (*timer_now) ( int id );
48} event; 47} event;