… | |
… | |
20 | /* due to bugs in OS X we have to use libev/ explicitly here */ |
20 | /* due to bugs in OS X we have to use libev/ explicitly here */ |
21 | #include "libev/ev.c" |
21 | #include "libev/ev.c" |
22 | #include "event.c" |
22 | #include "event.c" |
23 | |
23 | |
24 | #ifndef _WIN32 |
24 | #ifndef _WIN32 |
25 | #define DNS_USE_GETTIMEOFDAY_FOR_ID 1 |
|
|
26 | #if !defined (WIN32) && !defined(__CYGWIN__) |
|
|
27 | # define HAVE_STRUCT_IN6_ADDR 1 |
|
|
28 | #endif |
|
|
29 | #undef HAVE_STRTOK_R |
|
|
30 | #undef strtok_r |
|
|
31 | #define strtok_r fake_strtok_r |
|
|
32 | #include "evdns.h" |
|
|
33 | #include "evdns.c" |
|
|
34 | #endif |
|
|
35 | |
|
|
36 | #ifndef _WIN32 |
|
|
37 | # include <pthread.h> |
25 | # include <pthread.h> |
38 | #endif |
26 | #endif |
39 | |
27 | |
40 | #define WFLAG_KEEPALIVE 1 |
28 | #define WFLAG_KEEPALIVE 1 |
41 | |
29 | |
… | |
… | |
77 | *stash_watcher, |
65 | *stash_watcher, |
78 | *stash_io, |
66 | *stash_io, |
79 | *stash_timer, |
67 | *stash_timer, |
80 | *stash_periodic, |
68 | *stash_periodic, |
81 | *stash_signal, |
69 | *stash_signal, |
|
|
70 | *stash_child, |
|
|
71 | *stash_stat, |
82 | *stash_idle, |
72 | *stash_idle, |
83 | *stash_prepare, |
73 | *stash_prepare, |
84 | *stash_check, |
74 | *stash_check, |
85 | *stash_child, |
|
|
86 | *stash_embed, |
75 | *stash_embed, |
87 | *stash_stat; |
76 | *stash_fork; |
88 | |
77 | |
89 | #ifndef SIG_SIZE |
78 | #ifndef SIG_SIZE |
90 | /* kudos to Slaven Rezic for the idea */ |
79 | /* kudos to Slaven Rezic for the idea */ |
91 | static char sig_size [] = { SIG_NUM }; |
80 | static char sig_size [] = { SIG_NUM }; |
92 | # define SIG_SIZE (sizeof (sig_size) + 1) |
81 | # define SIG_SIZE (sizeof (sig_size) + 1) |
… | |
… | |
215 | else |
204 | else |
216 | sv_events_cache = sv_events; |
205 | sv_events_cache = sv_events; |
217 | |
206 | |
218 | if (SvTRUE (ERRSV)) |
207 | if (SvTRUE (ERRSV)) |
219 | { |
208 | { |
|
|
209 | SPAGAIN; |
220 | PUSHMARK (SP); |
210 | PUSHMARK (SP); |
221 | PUTBACK; |
211 | PUTBACK; |
222 | call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); |
212 | call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); |
223 | } |
213 | } |
224 | |
214 | |
… | |
… | |
254 | else |
244 | else |
255 | sv_events_cache = sv_events; |
245 | sv_events_cache = sv_events; |
256 | |
246 | |
257 | if (SvTRUE (ERRSV)) |
247 | if (SvTRUE (ERRSV)) |
258 | { |
248 | { |
|
|
249 | SPAGAIN; |
259 | PUSHMARK (SP); |
250 | PUSHMARK (SP); |
260 | PUTBACK; |
251 | PUTBACK; |
261 | call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); |
252 | call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); |
262 | } |
253 | } |
263 | |
254 | |
… | |
… | |
305 | FREETMPS; |
296 | FREETMPS; |
306 | LEAVE; |
297 | LEAVE; |
307 | |
298 | |
308 | return retval; |
299 | return retval; |
309 | } |
300 | } |
310 | |
|
|
311 | ///////////////////////////////////////////////////////////////////////////// |
|
|
312 | // DNS |
|
|
313 | |
|
|
314 | #ifndef _WIN32 |
|
|
315 | static void |
|
|
316 | dns_cb (int result, char type, int count, int ttl, void *addresses, void *arg) |
|
|
317 | { |
|
|
318 | dSP; |
|
|
319 | SV *cb = (SV *)arg; |
|
|
320 | |
|
|
321 | ENTER; |
|
|
322 | SAVETMPS; |
|
|
323 | PUSHMARK (SP); |
|
|
324 | EXTEND (SP, count + 3); |
|
|
325 | PUSHs (sv_2mortal (newSViv (result))); |
|
|
326 | |
|
|
327 | if (result == DNS_ERR_NONE && ttl >= 0) |
|
|
328 | { |
|
|
329 | int i; |
|
|
330 | |
|
|
331 | PUSHs (sv_2mortal (newSViv (type))); |
|
|
332 | PUSHs (sv_2mortal (newSViv (ttl))); |
|
|
333 | |
|
|
334 | for (i = 0; i < count; ++i) |
|
|
335 | switch (type) |
|
|
336 | { |
|
|
337 | case DNS_IPv6_AAAA: |
|
|
338 | PUSHs (sv_2mortal (newSVpvn (i * 16 + (char *)addresses, 16))); |
|
|
339 | break; |
|
|
340 | case DNS_IPv4_A: |
|
|
341 | PUSHs (sv_2mortal (newSVpvn (i * 4 + (char *)addresses, 4))); |
|
|
342 | break; |
|
|
343 | case DNS_PTR: |
|
|
344 | PUSHs (sv_2mortal (newSVpv (*(char **)addresses, 0))); |
|
|
345 | break; |
|
|
346 | } |
|
|
347 | } |
|
|
348 | |
|
|
349 | PUTBACK; |
|
|
350 | call_sv (sv_2mortal (cb), G_DISCARD | G_VOID | G_EVAL); |
|
|
351 | |
|
|
352 | FREETMPS; |
|
|
353 | |
|
|
354 | if (SvTRUE (ERRSV)) |
|
|
355 | { |
|
|
356 | PUSHMARK (SP); |
|
|
357 | PUTBACK; |
|
|
358 | call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); |
|
|
359 | } |
|
|
360 | |
|
|
361 | LEAVE; |
|
|
362 | } |
|
|
363 | #endif |
|
|
364 | |
301 | |
365 | #define CHECK_REPEAT(repeat) if (repeat < 0.) \ |
302 | #define CHECK_REPEAT(repeat) if (repeat < 0.) \ |
366 | croak (# repeat " value must be >= 0"); |
303 | croak (# repeat " value must be >= 0"); |
367 | |
304 | |
368 | #define CHECK_FD(fh,fd) if ((fd) < 0) \ |
305 | #define CHECK_FD(fh,fd) if ((fd) < 0) \ |
… | |
… | |
411 | const_iv (EV, BACKEND_KQUEUE) |
348 | const_iv (EV, BACKEND_KQUEUE) |
412 | const_iv (EV, BACKEND_DEVPOLL) |
349 | const_iv (EV, BACKEND_DEVPOLL) |
413 | const_iv (EV, BACKEND_PORT) |
350 | const_iv (EV, BACKEND_PORT) |
414 | const_iv (EV, FLAG_AUTO) |
351 | const_iv (EV, FLAG_AUTO) |
415 | const_iv (EV, FLAG_NOENV) |
352 | const_iv (EV, FLAG_NOENV) |
|
|
353 | const_iv (EV, FLAG_FORKCHECK) |
416 | }; |
354 | }; |
417 | |
355 | |
418 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
356 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
419 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
357 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
420 | |
358 | |
… | |
… | |
465 | evapi.child_start = ev_child_start; |
403 | evapi.child_start = ev_child_start; |
466 | evapi.child_stop = ev_child_stop; |
404 | evapi.child_stop = ev_child_stop; |
467 | evapi.stat_start = ev_stat_start; |
405 | evapi.stat_start = ev_stat_start; |
468 | evapi.stat_stop = ev_stat_stop; |
406 | evapi.stat_stop = ev_stat_stop; |
469 | evapi.stat_stat = ev_stat_stat; |
407 | evapi.stat_stat = ev_stat_stat; |
|
|
408 | evapi.clear_pending = ev_clear_pending; |
|
|
409 | evapi.invoke = ev_invoke; |
470 | |
410 | |
471 | sv_setiv (sv, (IV)&evapi); |
411 | sv_setiv (sv, (IV)&evapi); |
472 | SvREADONLY_on (sv); |
412 | SvREADONLY_on (sv); |
473 | } |
413 | } |
474 | #ifndef _WIN32 |
414 | #ifndef _WIN32 |
… | |
… | |
482 | |
422 | |
483 | NV ev_time () |
423 | NV ev_time () |
484 | |
424 | |
485 | unsigned int ev_default_loop (unsigned int flags = ev_supported_backends ()) |
425 | unsigned int ev_default_loop (unsigned int flags = ev_supported_backends ()) |
486 | |
426 | |
|
|
427 | unsigned int ev_loop_count () |
|
|
428 | |
487 | void ev_loop (int flags = 0) |
429 | void ev_loop (int flags = 0) |
488 | |
430 | |
489 | void ev_unloop (int how = 1) |
431 | void ev_unloop (int how = 1) |
|
|
432 | |
|
|
433 | void ev_feed_fd_event (int fd, int revents = EV_NONE) |
|
|
434 | |
|
|
435 | void ev_feed_signal_event (SV *signal) |
|
|
436 | CODE: |
|
|
437 | { |
|
|
438 | Signal signum = sv_signum (signal); |
|
|
439 | CHECK_SIG (signal, signum); |
|
|
440 | |
|
|
441 | ev_feed_signal_event (EV_DEFAULT_ signum); |
|
|
442 | } |
490 | |
443 | |
491 | ev_io *io (SV *fh, int events, SV *cb) |
444 | ev_io *io (SV *fh, int events, SV *cb) |
492 | ALIAS: |
445 | ALIAS: |
493 | io_ns = 1 |
446 | io_ns = 1 |
494 | CODE: |
447 | CODE: |
… | |
… | |
614 | |
567 | |
615 | int ev_is_active (ev_watcher *w) |
568 | int ev_is_active (ev_watcher *w) |
616 | |
569 | |
617 | int ev_is_pending (ev_watcher *w) |
570 | int ev_is_pending (ev_watcher *w) |
618 | |
571 | |
|
|
572 | void ev_invoke (ev_watcher *w, int revents = EV_NONE) |
|
|
573 | |
|
|
574 | int ev_clear_pending (ev_watcher *w) |
|
|
575 | |
|
|
576 | void ev_feed_event (ev_watcher *w, int revents = EV_NONE) |
|
|
577 | |
619 | int keepalive (ev_watcher *w, int new_value = 0) |
578 | int keepalive (ev_watcher *w, int new_value = 0) |
620 | CODE: |
579 | CODE: |
621 | { |
580 | { |
622 | RETVAL = w->flags & WFLAG_KEEPALIVE; |
581 | RETVAL = w->flags & WFLAG_KEEPALIVE; |
623 | new_value = new_value ? WFLAG_KEEPALIVE : 0; |
582 | new_value = new_value ? WFLAG_KEEPALIVE : 0; |
… | |
… | |
655 | } |
614 | } |
656 | } |
615 | } |
657 | OUTPUT: |
616 | OUTPUT: |
658 | RETVAL |
617 | RETVAL |
659 | |
618 | |
660 | void trigger (ev_watcher *w, int revents = EV_NONE) |
|
|
661 | CODE: |
|
|
662 | w->cb (w, revents); |
|
|
663 | |
|
|
664 | int priority (ev_watcher *w, int new_priority = 0) |
619 | int priority (ev_watcher *w, int new_priority = 0) |
665 | CODE: |
620 | CODE: |
666 | { |
621 | { |
667 | RETVAL = w->priority; |
622 | RETVAL = w->priority; |
668 | |
623 | |
669 | if (items > 1) |
624 | if (items > 1) |
670 | { |
625 | { |
671 | int active = ev_is_active (w); |
626 | int active = ev_is_active (w); |
672 | |
|
|
673 | if (new_priority < EV_MINPRI || new_priority > EV_MAXPRI) |
|
|
674 | croak ("watcher priority out of range, value must be between %d and %d, inclusive", EV_MINPRI, EV_MAXPRI); |
|
|
675 | |
627 | |
676 | if (active) |
628 | if (active) |
677 | { |
629 | { |
678 | /* grrr. */ |
630 | /* grrr. */ |
679 | PUSHMARK (SP); |
631 | PUSHMARK (SP); |
680 | XPUSHs (ST (0)); |
632 | XPUSHs (ST (0)); |
|
|
633 | PUTBACK; |
681 | call_method ("stop", G_DISCARD | G_VOID); |
634 | call_method ("stop", G_DISCARD | G_VOID); |
682 | } |
635 | } |
683 | |
636 | |
684 | ev_set_priority (w, new_priority); |
637 | ev_set_priority (w, new_priority); |
685 | |
638 | |
686 | if (active) |
639 | if (active) |
687 | { |
640 | { |
688 | PUSHMARK (SP); |
641 | PUSHMARK (SP); |
689 | XPUSHs (ST (0)); |
642 | XPUSHs (ST (0)); |
|
|
643 | PUTBACK; |
690 | call_method ("start", G_DISCARD | G_VOID); |
644 | call_method ("start", G_DISCARD | G_VOID); |
691 | } |
645 | } |
692 | } |
646 | } |
693 | } |
647 | } |
694 | OUTPUT: |
648 | OUTPUT: |
… | |
… | |
818 | INIT: |
772 | INIT: |
819 | CHECK_REPEAT (repeat); |
773 | CHECK_REPEAT (repeat); |
820 | CODE: |
774 | CODE: |
821 | RESET (timer, w, (w, after, repeat)); |
775 | RESET (timer, w, (w, after, repeat)); |
822 | |
776 | |
|
|
777 | NV at (ev_timer *w) |
|
|
778 | CODE: |
|
|
779 | RETVAL = w->at; |
|
|
780 | OUTPUT: |
|
|
781 | RETVAL |
|
|
782 | |
823 | MODULE = EV PACKAGE = EV::Periodic PREFIX = ev_periodic_ |
783 | MODULE = EV PACKAGE = EV::Periodic PREFIX = ev_periodic_ |
824 | |
784 | |
825 | void ev_periodic_start (ev_periodic *w) |
785 | void ev_periodic_start (ev_periodic *w) |
826 | INIT: |
786 | INIT: |
827 | CHECK_REPEAT (w->interval); |
787 | CHECK_REPEAT (w->interval); |
… | |
… | |
851 | SvREFCNT_dec (w->fh); |
811 | SvREFCNT_dec (w->fh); |
852 | w->fh = SvTRUE (reschedule_cb) ? newSVsv (reschedule_cb) : 0; |
812 | w->fh = SvTRUE (reschedule_cb) ? newSVsv (reschedule_cb) : 0; |
853 | |
813 | |
854 | RESET (periodic, w, (w, at, interval, w->fh ? e_periodic_cb : 0)); |
814 | RESET (periodic, w, (w, at, interval, w->fh ? e_periodic_cb : 0)); |
855 | } |
815 | } |
|
|
816 | |
|
|
817 | NV at (ev_periodic *w) |
|
|
818 | CODE: |
|
|
819 | RETVAL = w->at; |
|
|
820 | OUTPUT: |
|
|
821 | RETVAL |
856 | |
822 | |
857 | MODULE = EV PACKAGE = EV::Idle PREFIX = ev_idle_ |
823 | MODULE = EV PACKAGE = EV::Idle PREFIX = ev_idle_ |
858 | |
824 | |
859 | void ev_idle_start (ev_idle *w) |
825 | void ev_idle_start (ev_idle *w) |
860 | CODE: |
826 | CODE: |
… | |
… | |
984 | RESET (stat, w, (w, SvPVbyte_nolen (w->fh), new_interval)); |
950 | RESET (stat, w, (w, SvPVbyte_nolen (w->fh), new_interval)); |
985 | } |
951 | } |
986 | OUTPUT: |
952 | OUTPUT: |
987 | RETVAL |
953 | RETVAL |
988 | |
954 | |
989 | #ifndef _WIN32 |
955 | void prev (ev_stat *w) |
990 | |
|
|
991 | MODULE = EV PACKAGE = EV::DNS PREFIX = evdns_ |
|
|
992 | |
|
|
993 | BOOT: |
|
|
994 | { |
|
|
995 | HV *stash = gv_stashpv ("EV::DNS", 1); |
|
|
996 | |
|
|
997 | static const struct { |
|
|
998 | const char *name; |
|
|
999 | IV iv; |
|
|
1000 | } *civ, const_iv[] = { |
|
|
1001 | # define const_iv(pfx, name) { # name, (IV) pfx ## name }, |
|
|
1002 | const_iv (DNS_, ERR_NONE) |
|
|
1003 | const_iv (DNS_, ERR_FORMAT) |
|
|
1004 | const_iv (DNS_, ERR_SERVERFAILED) |
|
|
1005 | const_iv (DNS_, ERR_NOTEXIST) |
|
|
1006 | const_iv (DNS_, ERR_NOTIMPL) |
|
|
1007 | const_iv (DNS_, ERR_REFUSED) |
|
|
1008 | const_iv (DNS_, ERR_TRUNCATED) |
|
|
1009 | const_iv (DNS_, ERR_UNKNOWN) |
|
|
1010 | const_iv (DNS_, ERR_TIMEOUT) |
|
|
1011 | const_iv (DNS_, ERR_SHUTDOWN) |
|
|
1012 | const_iv (DNS_, IPv4_A) |
|
|
1013 | const_iv (DNS_, PTR) |
|
|
1014 | const_iv (DNS_, IPv6_AAAA) |
|
|
1015 | const_iv (DNS_, QUERY_NO_SEARCH) |
|
|
1016 | const_iv (DNS_, OPTION_SEARCH) |
|
|
1017 | const_iv (DNS_, OPTION_NAMESERVERS) |
|
|
1018 | const_iv (DNS_, OPTION_MISC) |
|
|
1019 | const_iv (DNS_, OPTIONS_ALL) |
|
|
1020 | const_iv (DNS_, NO_SEARCH) |
|
|
1021 | }; |
|
|
1022 | |
|
|
1023 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
|
|
1024 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
|
|
1025 | } |
|
|
1026 | |
|
|
1027 | int evdns_init () |
|
|
1028 | |
|
|
1029 | void evdns_shutdown (int fail_requests = 1) |
|
|
1030 | |
|
|
1031 | const char *evdns_err_to_string (int err) |
|
|
1032 | |
|
|
1033 | int evdns_nameserver_add (U32 address) |
|
|
1034 | |
|
|
1035 | int evdns_count_nameservers () |
|
|
1036 | |
|
|
1037 | int evdns_clear_nameservers_and_suspend () |
|
|
1038 | |
|
|
1039 | int evdns_resume () |
|
|
1040 | |
|
|
1041 | int evdns_nameserver_ip_add (char *ip_as_string) |
|
|
1042 | |
|
|
1043 | int evdns_resolve_ipv4 (const char *name, int flags, SV *cb) |
|
|
1044 | C_ARGS: name, flags, dns_cb, (void *)SvREFCNT_inc (cb) |
|
|
1045 | |
|
|
1046 | int evdns_resolve_ipv6 (const char *name, int flags, SV *cb) |
|
|
1047 | C_ARGS: name, flags, dns_cb, (void *)SvREFCNT_inc (cb) |
|
|
1048 | |
|
|
1049 | int evdns_resolve_reverse (SV *addr, int flags, SV *cb) |
|
|
1050 | ALIAS: |
956 | ALIAS: |
1051 | evdns_resolve_reverse_ipv6 = 1 |
957 | stat = 1 |
1052 | CODE: |
958 | attr = 2 |
|
|
959 | PPCODE: |
1053 | { |
960 | { |
1054 | STRLEN len; |
961 | ev_statdata *s = ix ? &w->attr : &w->prev; |
1055 | char *data = SvPVbyte (addr, len); |
|
|
1056 | if (len != (ix ? 16 : 4)) |
|
|
1057 | croak ("ipv4/ipv6 address to be resolved must be given as 4/16 byte octet string"); |
|
|
1058 | |
962 | |
1059 | RETVAL = ix |
963 | if (ix == 1) |
1060 | ? evdns_resolve_reverse_ipv6 ((struct in6_addr *)data, flags, dns_cb, (void *)SvREFCNT_inc (cb)) |
964 | ev_stat_stat (w); |
1061 | : evdns_resolve_reverse ((struct in_addr *)data, flags, dns_cb, (void *)SvREFCNT_inc (cb)); |
965 | else if (!s->st_nlink) |
1062 | } |
966 | errno = ENOENT; |
1063 | OUTPUT: |
|
|
1064 | RETVAL |
|
|
1065 | |
967 | |
1066 | int evdns_set_option (char *option, char *val, int flags) |
968 | PL_statcache.st_dev = s->st_nlink; |
|
|
969 | PL_statcache.st_ino = s->st_ino; |
|
|
970 | PL_statcache.st_mode = s->st_mode; |
|
|
971 | PL_statcache.st_nlink = s->st_nlink; |
|
|
972 | PL_statcache.st_uid = s->st_uid; |
|
|
973 | PL_statcache.st_gid = s->st_gid; |
|
|
974 | PL_statcache.st_rdev = s->st_rdev; |
|
|
975 | PL_statcache.st_size = s->st_size; |
|
|
976 | PL_statcache.st_atime = s->st_atime; |
|
|
977 | PL_statcache.st_mtime = s->st_mtime; |
|
|
978 | PL_statcache.st_ctime = s->st_ctime; |
1067 | |
979 | |
1068 | int evdns_resolv_conf_parse (int flags, const char *filename) |
980 | if (GIMME_V == G_SCALAR) |
1069 | |
981 | XPUSHs (boolSV (s->st_nlink)); |
1070 | #ifdef _WIN32 |
982 | else if (GIMME_V == G_ARRAY && s->st_nlink) |
1071 | |
983 | { |
1072 | int evdns_config_windows_nameservers () |
984 | EXTEND (SP, 13); |
1073 | |
985 | PUSHs (sv_2mortal (newSViv (s->st_dev))); |
1074 | #endif |
986 | PUSHs (sv_2mortal (newSViv (s->st_ino))); |
1075 | |
987 | PUSHs (sv_2mortal (newSVuv (s->st_mode))); |
1076 | void evdns_search_clear () |
988 | PUSHs (sv_2mortal (newSVuv (s->st_nlink))); |
1077 | |
989 | PUSHs (sv_2mortal (newSViv (s->st_uid))); |
1078 | void evdns_search_add (char *domain) |
990 | PUSHs (sv_2mortal (newSViv (s->st_gid))); |
1079 | |
991 | PUSHs (sv_2mortal (newSViv (s->st_rdev))); |
1080 | void evdns_search_ndots_set (int ndots) |
992 | PUSHs (sv_2mortal (newSVnv ((NV)s->st_size))); |
|
|
993 | PUSHs (sv_2mortal (newSVnv (s->st_atime))); |
|
|
994 | PUSHs (sv_2mortal (newSVnv (s->st_mtime))); |
|
|
995 | PUSHs (sv_2mortal (newSVnv (s->st_ctime))); |
|
|
996 | PUSHs (sv_2mortal (newSVuv (4096))); |
|
|
997 | PUSHs (sv_2mortal (newSVnv ((NV)((s->st_size + 4095) / 4096)))); |
|
|
998 | } |
|
|
999 | } |
1081 | |
1000 | |
1082 | #if 0 |
1001 | #if 0 |
1083 | |
1002 | |
1084 | MODULE = EV PACKAGE = EV::HTTP PREFIX = evhttp_ |
1003 | MODULE = EV PACKAGE = EV::HTTP PREFIX = evhttp_ |
1085 | |
1004 | |
… | |
… | |
1119 | |
1038 | |
1120 | #void DESTROY (struct evhttp_request *req); |
1039 | #void DESTROY (struct evhttp_request *req); |
1121 | |
1040 | |
1122 | #endif |
1041 | #endif |
1123 | |
1042 | |
1124 | #endif |
|
|
1125 | |
1043 | |
1126 | |
1044 | |
1127 | |
1045 | |
1128 | |
1046 | |
1129 | |
1047 | |