goinfre/libs/libevent/core.h

goinfre/libs/libevent/core.h

  _____________________________________________________________________________ 
 /   / Index / Goinfre / Resume / Links / Contact / Sitemap /    .: v0.6.1.0 |^|
|\__/-------+         +--------+-------+---------+---------+-----------------+#|
|  1| /goinfre/libs/libevent/core.h                                          |#|
|  2| ==========================================                             |#|
|  3|                                                                        |#|
|  4|                                                   [ raw ] [ download ] |#|
|  5|                                             ` `` ````````````````````` |#|
|  6|                                                                        |#|
|  7| /**                                                                    |#|
|  8|  * libevent/libevent.h                                                 |#|
|  9|  *                                                                     |#|
| 10|  * Copyright (c) Manfred Touron 2008                                   |#|
| 11|  */                                                                    |#|
| 12|                                                                        |#|
| 13| #ifndef LIBEVENT_CORE_H                                                |#|
| 14| # define LIBEVENT_CORE_H                                               |#|
| 15|                                                                        |#|
| 16| # include <stddef.h>                                                   |#|
| 17|                                                                        |#|
| 18| # include "libevent.h"                                                 |#|
| 19|                                                                        |#|
| 20| # define ALLOC(X)            malloc(sizeof(X))                         |#|
| 21| # define ALLOC_N(X, N)            malloc(sizeof(X) * N)                |#|
| 22|                                                                        |#|
| 23| lc      events;                                                        |#|
| 24|                                                                        | |
| 25| event      events_add(event);                                          | |
| 26| event      events_find(const char *);                                  | |
| 27| int      events_event_exists(event);                                   | |
| 28| int      events_event_cmpfn(void *, void *);                           | |
| 29| void      event_callback_delete(event, cllbck);                        | |
| 30| void      event_unset(event);                                          | |
| 31| int      event_call_walk_a(void *, CLLBCK_ARGS);                       | |
| 32|                                                                        | |
| 33| #endif /* !LIBEVENT_CORE_H */                                          | |
| 34|                                                                        | |
+---+                                                                        | |
\_   \______ mo5.so - normal - 1337.so - rev.so - video_r.so +---------------+ |
  |__       \_____   plain.so - color.so - comment.so       /  moul 2008 (c) |V|
     \-----\______\________________________________________/-----------------+-+