ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.xs
(Generate patch)

Comparing EV/EV.xs (file contents):
Revision 1.30 by root, Thu Nov 1 08:10:03 2007 UTC vs.
Revision 1.50 by root, Sun Nov 4 16:52:52 2007 UTC

2#include "perl.h" 2#include "perl.h"
3#include "XSUB.h" 3#include "XSUB.h"
4 4
5/*#include <netinet/in.h>*/ 5/*#include <netinet/in.h>*/
6 6
7#define TIMEOUT_NONE HUGE_VAL
8#define EV_USE_EPOLL 1
9
10#define EV_PROTOTYPES 1 7#define EV_PROTOTYPES 1
11#include "EV/EVAPI.h" 8#include "EV/EVAPI.h"
12 9
13#include "libev/ev.c" 10#include "libev/ev.c"
11#include "libev/event.h"
12#include "libev/event.c"
13#define DNS_USE_GETTIMEOFDAY_FOR_ID 1
14#define HAVE_STRUCT_IN6_ADDR 1
15#undef HAVE_STRTOK_R
16#undef strtok_r
17#define strtok_r fake_strtok_r
18#include "libev/evdns.h"
19#include "libev/evdns.c"
14 20
15typedef int Signal; 21typedef int Signal;
16 22
17static struct EVAPI evapi; 23static struct EVAPI evapi;
18 24
25 *stash_idle, 31 *stash_idle,
26 *stash_prepare, 32 *stash_prepare,
27 *stash_check, 33 *stash_check,
28 *stash_child; 34 *stash_child;
29 35
36#ifndef SIG_SIZE
37/* kudos to Slaven Rezic for the idea */
38static char sig_size [] = { SIG_NUM };
39# define SIG_SIZE (sizeof (sig_size) + 1)
40#endif
41
30static int 42static int
31sv_signum (SV *sig) 43sv_signum (SV *sig)
32{ 44{
33 int signum; 45 int signum;
34 46
35 if (SvIV (sig) > 0) 47 SvGETMAGIC (sig);
36 return SvIV (sig);
37 48
38 for (signum = 1; signum < SIG_SIZE; ++signum) 49 for (signum = 1; signum < SIG_SIZE; ++signum)
39 if (strEQ (SvPV_nolen (sig), PL_sig_name [signum])) 50 if (strEQ (SvPV_nolen (sig), PL_sig_name [signum]))
40 return signum; 51 return signum;
41 52
53 if (SvIV (sig) > 0)
54 return SvIV (sig);
55
42 return -1; 56 return -1;
43} 57}
44 58
45///////////////////////////////////////////////////////////////////////////// 59/////////////////////////////////////////////////////////////////////////////
46// Event 60// Event
56 fh = SvRV (fh); 70 fh = SvRV (fh);
57 71
58 if (SvTYPE (fh) == SVt_PVGV) 72 if (SvTYPE (fh) == SVt_PVGV)
59 return PerlIO_fileno (IoIFP (sv_2io (fh))); 73 return PerlIO_fileno (IoIFP (sv_2io (fh)));
60 74
61 if (SvIOK (fh)) 75 if ((SvIV (fh) >= 0) && (SvIV (fh) < 0x7ffffff))
62 return SvIV (fh); 76 return SvIV (fh);
63 77
64 return -1; 78 return -1;
65} 79}
66 80
79 w->fh = 0; 93 w->fh = 0;
80 w->cb_sv = newSVsv (cb_sv); 94 w->cb_sv = newSVsv (cb_sv);
81 w->self = self; 95 w->self = self;
82 96
83 return (void *)w; 97 return (void *)w;
98}
99
100static void *
101e_destroy (void *w_)
102{
103 struct ev_watcher *w = w_;
104
105 SvREFCNT_dec (w->fh ); w->fh = 0;
106 SvREFCNT_dec (w->cb_sv); w->cb_sv = 0;
84} 107}
85 108
86static SV * 109static SV *
87e_bless (struct ev_watcher *w, HV *stash) 110e_bless (struct ev_watcher *w, HV *stash)
88{ 111{
121 PUSHMARK (SP); 144 PUSHMARK (SP);
122 EXTEND (SP, 2); 145 EXTEND (SP, 2);
123 PUSHs (sv_self); 146 PUSHs (sv_self);
124 PUSHs (sv_events); 147 PUSHs (sv_events);
125 148
126 if (revents & EV_CHILD)
127 XPUSHs (sv_status = newSViv (((struct ev_child *)w)->status));
128
129 PUTBACK; 149 PUTBACK;
130 call_sv (w->cb_sv, G_DISCARD | G_VOID | G_EVAL); 150 call_sv (w->cb_sv, G_DISCARD | G_VOID | G_EVAL);
131 SP = PL_stack_base + mark; PUTBACK; 151 SP = PL_stack_base + mark; PUTBACK;
132 152
133 SvREFCNT_dec (sv_self); 153 SvREFCNT_dec (sv_self);
145 call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); 165 call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR);
146 SP = PL_stack_base + mark; PUTBACK; 166 SP = PL_stack_base + mark; PUTBACK;
147 } 167 }
148} 168}
149 169
150#if 0
151///////////////////////////////////////////////////////////////////////////// 170/////////////////////////////////////////////////////////////////////////////
152// DNS 171// DNS
153 172
154static void 173static void
155dns_cb (int result, char type, int count, int ttl, void *addresses, void *arg) 174dns_cb (int result, char type, int count, int ttl, void *addresses, void *arg)
197 call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR); 216 call_sv (get_sv ("EV::DIED", 1), G_DISCARD | G_VOID | G_EVAL | G_KEEPERR);
198 } 217 }
199 218
200 LEAVE; 219 LEAVE;
201} 220}
202#endif
203 221
204#define CHECK_REPEAT(repeat) if (repeat < 0.) \ 222#define CHECK_REPEAT(repeat) if (repeat < 0.) \
205 croak (# repeat " value must be >= 0"); 223 croak (# repeat " value must be >= 0");
224
225#define CHECK_FD(fh,fd) if ((fd) < 0) \
226 croak ("illegal file descriptor or filehandle (either no attached file descriptor or illegal value): %s", SvPV_nolen (fh));
206 227
207///////////////////////////////////////////////////////////////////////////// 228/////////////////////////////////////////////////////////////////////////////
208// XS interface functions 229// XS interface functions
209 230
210MODULE = EV PACKAGE = EV PREFIX = ev_ 231MODULE = EV PACKAGE = EV PREFIX = ev_
219 static const struct { 240 static const struct {
220 const char *name; 241 const char *name;
221 IV iv; 242 IV iv;
222 } *civ, const_iv[] = { 243 } *civ, const_iv[] = {
223# define const_iv(pfx, name) { # name, (IV) pfx ## name }, 244# define const_iv(pfx, name) { # name, (IV) pfx ## name },
245 const_iv (EV_, MINPRI)
246 const_iv (EV_, MAXPRI)
247
224 const_iv (EV_, UNDEF) 248 const_iv (EV_, UNDEF)
225 const_iv (EV_, NONE) 249 const_iv (EV_, NONE)
226 const_iv (EV_, TIMEOUT) 250 const_iv (EV_, TIMEOUT)
227 const_iv (EV_, READ) 251 const_iv (EV_, READ)
228 const_iv (EV_, WRITE) 252 const_iv (EV_, WRITE)
232 const_iv (EV_, ERROR) 256 const_iv (EV_, ERROR)
233 257
234 const_iv (EV, LOOP_ONESHOT) 258 const_iv (EV, LOOP_ONESHOT)
235 const_iv (EV, LOOP_NONBLOCK) 259 const_iv (EV, LOOP_NONBLOCK)
236 260
237 const_iv (EV, METHOD_NONE) 261 const_iv (EV, METHOD_AUTO)
238 const_iv (EV, METHOD_SELECT) 262 const_iv (EV, METHOD_SELECT)
263 const_iv (EV, METHOD_POLL)
239 const_iv (EV, METHOD_EPOLL) 264 const_iv (EV, METHOD_EPOLL)
265 const_iv (EV, METHOD_KQUEUE)
266 const_iv (EV, METHOD_DEVPOLL)
267 const_iv (EV, METHOD_PORT)
268 const_iv (EV, METHOD_ANY)
240 }; 269 };
241 270
242 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) 271 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; )
243 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); 272 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv));
244 273
259 /* the poor man's shared library emulator */ 288 /* the poor man's shared library emulator */
260 evapi.ver = EV_API_VERSION; 289 evapi.ver = EV_API_VERSION;
261 evapi.rev = EV_API_REVISION; 290 evapi.rev = EV_API_REVISION;
262 evapi.sv_fileno = sv_fileno; 291 evapi.sv_fileno = sv_fileno;
263 evapi.sv_signum = sv_signum; 292 evapi.sv_signum = sv_signum;
264 evapi.now = &ev_now; 293 evapi.now = ev_now;
265 evapi.method = &ev_method; 294 evapi.method = ev_method;
266 evapi.loop_done = &ev_loop_done; 295 evapi.unloop = ev_unloop;
267 evapi.time = ev_time; 296 evapi.time = ev_time;
268 evapi.loop = ev_loop; 297 evapi.loop = ev_loop;
269 evapi.once = ev_once; 298 evapi.once = ev_once;
270 evapi.io_start = ev_io_start; 299 evapi.io_start = ev_io_start;
271 evapi.io_stop = ev_io_stop; 300 evapi.io_stop = ev_io_stop;
286 evapi.child_stop = ev_child_stop; 315 evapi.child_stop = ev_child_stop;
287 316
288 sv_setiv (sv, (IV)&evapi); 317 sv_setiv (sv, (IV)&evapi);
289 SvREADONLY_on (sv); 318 SvREADONLY_on (sv);
290 } 319 }
320
321 pthread_atfork (0, 0, ev_default_fork);
291} 322}
292 323
293NV ev_now () 324NV ev_now ()
294 CODE:
295 RETVAL = ev_now;
296 OUTPUT:
297 RETVAL
298 325
299int ev_method () 326int ev_method ()
300 CODE:
301 RETVAL = ev_method;
302 OUTPUT:
303 RETVAL
304 327
305NV ev_time () 328NV ev_time ()
306 329
307void ev_init (int flags = 0) 330int ev_default_loop (int methods = EVMETHOD_AUTO)
308 331
309void ev_loop (int flags = 0) 332void ev_loop (int flags = 0)
310 333
311void ev_loop_done (int value = 1) 334void ev_unloop (int how = 1)
312 CODE:
313 ev_loop_done = value;
314 335
315struct ev_io *io (SV *fh, int events, SV *cb) 336struct ev_io *io (SV *fh, int events, SV *cb)
316 ALIAS: 337 ALIAS:
317 io_ns = 1 338 io_ns = 1
318 CODE: 339 CODE:
340{
341 int fd = sv_fileno (fh);
342 CHECK_FD (fh, fd);
343
319 RETVAL = e_new (sizeof (struct ev_io), cb); 344 RETVAL = e_new (sizeof (struct ev_io), cb);
320 RETVAL->fh = newSVsv (fh); 345 RETVAL->fh = newSVsv (fh);
321 ev_io_set (RETVAL, sv_fileno (RETVAL->fh), events); 346 ev_io_set (RETVAL, fd, events);
322 if (!ix) ev_io_start (RETVAL); 347 if (!ix) ev_io_start (RETVAL);
348}
323 OUTPUT: 349 OUTPUT:
324 RETVAL 350 RETVAL
325 351
326struct ev_timer *timer (NV after, NV repeat, SV *cb) 352struct ev_timer *timer (NV after, NV repeat, SV *cb)
327 ALIAS: 353 ALIAS:
389 415
390struct ev_child *child (int pid, SV *cb) 416struct ev_child *child (int pid, SV *cb)
391 ALIAS: 417 ALIAS:
392 check_ns = 1 418 check_ns = 1
393 CODE: 419 CODE:
394 RETVAL = e_new (sizeof (struct ev_check), cb); 420 RETVAL = e_new (sizeof (struct ev_child), cb);
395 ev_child_set (RETVAL, pid); 421 ev_child_set (RETVAL, pid);
396 if (!ix) ev_child_start (RETVAL); 422 if (!ix) ev_child_start (RETVAL);
397 OUTPUT: 423 OUTPUT:
398 RETVAL 424 RETVAL
399 425
417 443
418void trigger (struct ev_watcher *w, int revents = EV_NONE) 444void trigger (struct ev_watcher *w, int revents = EV_NONE)
419 CODE: 445 CODE:
420 w->cb (w, revents); 446 w->cb (w, revents);
421 447
422MODULE = EV PACKAGE = EV::Io PREFIX = ev_io_ 448int priority (struct ev_watcher *w, int new_priority = 0)
423
424void ev_io_start (struct ev_io *w)
425
426void ev_io_stop (struct ev_io *w)
427
428void DESTROY (struct ev_io *w)
429 CODE: 449 CODE:
430 ev_io_stop (w);
431
432void set (struct ev_io *w, SV *fh, int events)
433 CODE:
434{ 450{
435 int active = w->active; 451 RETVAL = w->priority;
436 if (active) ev_io_stop (w);
437
438 sv_setsv (w->fh, fh);
439 ev_io_set (w, sv_fileno (w->fh), events);
440
441 if (active) ev_io_start (w);
442}
443
444SV *fh (struct ev_io *w, SV *new_fh = 0)
445 CODE:
446{
447 RETVAL = newSVsv (w->fh);
448 452
449 if (items > 1) 453 if (items > 1)
450 { 454 {
451 int active = w->active; 455 int active = ev_is_active (w);
456
457 if (new_priority < EV_MINPRI || new_priority > EV_MAXPRI)
458 croak ("watcher priority out of range, value must be between %d and %d, inclusive", EV_MINPRI, EV_MAXPRI);
459
460 if (active)
461 {
462 /* grrr. */
463 PUSHMARK (SP);
464 XPUSHs (ST (0));
465 call_method ("stop", G_DISCARD | G_VOID);
466 }
467
468 ev_set_priority (w, new_priority);
469
470 if (active)
471 {
472 PUSHMARK (SP);
473 XPUSHs (ST (0));
474 call_method ("start", G_DISCARD | G_VOID);
475 }
476 }
477}
478 OUTPUT:
479 RETVAL
480
481MODULE = EV PACKAGE = EV::Io PREFIX = ev_io_
482
483void ev_io_start (struct ev_io *w)
484
485void ev_io_stop (struct ev_io *w)
486
487void DESTROY (struct ev_io *w)
488 CODE:
489 ev_io_stop (w);
490 e_destroy (w);
491
492void set (struct ev_io *w, SV *fh, int events)
493 CODE:
494{
495 int active = ev_is_active (w);
496 int fd = sv_fileno (fh);
497 CHECK_FD (fh, fd);
498
499 if (active) ev_io_stop (w);
500
501 sv_setsv (w->fh, fh);
502 ev_io_set (w, fd, events);
503
504 if (active) ev_io_start (w);
505}
506
507SV *fh (struct ev_io *w, SV *new_fh = 0)
508 CODE:
509{
510 RETVAL = newSVsv (w->fh);
511
512 if (items > 1)
513 {
514 int active = ev_is_active (w);
452 if (active) ev_io_stop (w); 515 if (active) ev_io_stop (w);
453 516
454 sv_setsv (w->fh, new_fh); 517 sv_setsv (w->fh, new_fh);
455 ev_io_set (w, sv_fileno (w->fh), w->events); 518 ev_io_set (w, sv_fileno (w->fh), w->events);
456 519
458 } 521 }
459} 522}
460 OUTPUT: 523 OUTPUT:
461 RETVAL 524 RETVAL
462 525
463short events (struct ev_io *w, short new_events = EV_UNDEF) 526int events (struct ev_io *w, int new_events = EV_UNDEF)
464 CODE: 527 CODE:
465{ 528{
466 RETVAL = w->events; 529 RETVAL = w->events;
467 530
468 if (items > 1) 531 if (items > 1)
469 { 532 {
470 int active = w->active; 533 int active = ev_is_active (w);
471 if (active) ev_io_stop (w); 534 if (active) ev_io_stop (w);
472 535
473 ev_io_set (w, w->fd, new_events); 536 ev_io_set (w, w->fd, new_events);
474 537
475 if (active) ev_io_start (w); 538 if (active) ev_io_start (w);
485void ev_signal_stop (struct ev_signal *w) 548void ev_signal_stop (struct ev_signal *w)
486 549
487void DESTROY (struct ev_signal *w) 550void DESTROY (struct ev_signal *w)
488 CODE: 551 CODE:
489 ev_signal_stop (w); 552 ev_signal_stop (w);
553 e_destroy (w);
490 554
491void set (struct ev_signal *w, SV *signal = 0) 555void set (struct ev_signal *w, SV *signal)
492 CODE: 556 CODE:
493{ 557{
494 Signal signum = sv_signum (signal); /* may croak here */ 558 Signal signum = sv_signum (signal); /* may croak here */
495 int active = w->active; 559 int active = ev_is_active (w);
496 560
497 if (active) ev_signal_stop (w); 561 if (active) ev_signal_stop (w);
562
498 ev_signal_set (w, signum); 563 ev_signal_set (w, signum);
564
499 if (active) ev_signal_start (w); 565 if (active) ev_signal_start (w);
500} 566}
567
568int signal (struct ev_signal *w, SV *new_signal = 0)
569 CODE:
570{
571 RETVAL = w->signum;
572
573 if (items > 1)
574 {
575 Signal signum = sv_signum (new_signal); /* may croak here */
576 int active = ev_is_active (w);
577 if (active) ev_signal_stop (w);
578
579 ev_signal_set (w, signum);
580
581 if (active) ev_signal_start (w);
582 }
583}
584 OUTPUT:
585 RETVAL
501 586
502MODULE = EV PACKAGE = EV::Time 587MODULE = EV PACKAGE = EV::Time
503 588
504MODULE = EV PACKAGE = EV::Timer PREFIX = ev_timer_ 589MODULE = EV PACKAGE = EV::Timer PREFIX = ev_timer_
505 590
514 CHECK_REPEAT (w->repeat); 599 CHECK_REPEAT (w->repeat);
515 600
516void DESTROY (struct ev_timer *w) 601void DESTROY (struct ev_timer *w)
517 CODE: 602 CODE:
518 ev_timer_stop (w); 603 ev_timer_stop (w);
604 e_destroy (w);
519 605
520void set (struct ev_timer *w, NV after, NV repeat = 0.) 606void set (struct ev_timer *w, NV after, NV repeat = 0.)
521 INIT: 607 INIT:
522 CHECK_REPEAT (repeat); 608 CHECK_REPEAT (repeat);
523 CODE: 609 CODE:
524{ 610{
525 int active = w->active; 611 int active = ev_is_active (w);
526 if (active) ev_timer_stop (w); 612 if (active) ev_timer_stop (w);
527 ev_timer_set (w, after, repeat); 613 ev_timer_set (w, after, repeat);
528 if (active) ev_timer_start (w); 614 if (active) ev_timer_start (w);
529} 615}
530 616
537void ev_periodic_stop (struct ev_periodic *w) 623void ev_periodic_stop (struct ev_periodic *w)
538 624
539void DESTROY (struct ev_periodic *w) 625void DESTROY (struct ev_periodic *w)
540 CODE: 626 CODE:
541 ev_periodic_stop (w); 627 ev_periodic_stop (w);
628 e_destroy (w);
542 629
543void set (struct ev_periodic *w, NV at, NV interval = 0.) 630void set (struct ev_periodic *w, NV at, NV interval = 0.)
544 INIT: 631 INIT:
545 CHECK_REPEAT (interval); 632 CHECK_REPEAT (interval);
546 CODE: 633 CODE:
547{ 634{
548 int active = w->active; 635 int active = ev_is_active (w);
549 if (active) ev_periodic_stop (w); 636 if (active) ev_periodic_stop (w);
637
550 ev_periodic_set (w, at, interval); 638 ev_periodic_set (w, at, interval);
639
551 if (active) ev_periodic_start (w); 640 if (active) ev_periodic_start (w);
552} 641}
553 642
554MODULE = EV PACKAGE = EV::Idle PREFIX = ev_idle_ 643MODULE = EV PACKAGE = EV::Idle PREFIX = ev_idle_
555 644
558void ev_idle_stop (struct ev_idle *w) 647void ev_idle_stop (struct ev_idle *w)
559 648
560void DESTROY (struct ev_idle *w) 649void DESTROY (struct ev_idle *w)
561 CODE: 650 CODE:
562 ev_idle_stop (w); 651 ev_idle_stop (w);
652 e_destroy (w);
563 653
564MODULE = EV PACKAGE = EV::Prepare PREFIX = ev_check_ 654MODULE = EV PACKAGE = EV::Prepare PREFIX = ev_check_
565 655
566void ev_prepare_start (struct ev_prepare *w) 656void ev_prepare_start (struct ev_prepare *w)
567 657
568void ev_prepare_stop (struct ev_prepare *w) 658void ev_prepare_stop (struct ev_prepare *w)
569 659
570void DESTROY (struct ev_prepare *w) 660void DESTROY (struct ev_prepare *w)
571 CODE: 661 CODE:
572 ev_prepare_stop (w); 662 ev_prepare_stop (w);
663 e_destroy (w);
573 664
574MODULE = EV PACKAGE = EV::Check PREFIX = ev_check_ 665MODULE = EV PACKAGE = EV::Check PREFIX = ev_check_
575 666
576void ev_check_start (struct ev_check *w) 667void ev_check_start (struct ev_check *w)
577 668
578void ev_check_stop (struct ev_check *w) 669void ev_check_stop (struct ev_check *w)
579 670
580void DESTROY (struct ev_check *w) 671void DESTROY (struct ev_check *w)
581 CODE: 672 CODE:
582 ev_check_stop (w); 673 ev_check_stop (w);
674 e_destroy (w);
583 675
584MODULE = EV PACKAGE = EV::Child PREFIX = ev_child_ 676MODULE = EV PACKAGE = EV::Child PREFIX = ev_child_
585 677
586void ev_child_start (struct ev_child *w) 678void ev_child_start (struct ev_child *w)
587 679
588void ev_child_stop (struct ev_child *w) 680void ev_child_stop (struct ev_child *w)
589 681
590void DESTROY (struct ev_child *w) 682void DESTROY (struct ev_child *w)
591 CODE: 683 CODE:
592 ev_child_stop (w); 684 ev_child_stop (w);
685 e_destroy (w);
593 686
594void set (struct ev_child *w, int pid) 687void set (struct ev_child *w, int pid)
595 CODE: 688 CODE:
596{ 689{
597 int active = w->active; 690 int active = ev_is_active (w);
598 if (active) ev_child_stop (w); 691 if (active) ev_child_stop (w);
692
599 ev_child_set (w, pid); 693 ev_child_set (w, pid);
694
600 if (active) ev_child_start (w); 695 if (active) ev_child_start (w);
601} 696}
602 697
698int pid (struct ev_child *w, int new_pid = 0)
699 CODE:
700{
701 RETVAL = w->pid;
702
703 if (items > 1)
704 {
705 int active = ev_is_active (w);
706 if (active) ev_child_stop (w);
707
708 ev_child_set (w, new_pid);
709
710 if (active) ev_child_start (w);
711 }
712}
713 OUTPUT:
714 RETVAL
715
716
603int status (struct ev_child *w) 717int rstatus (struct ev_child *w)
718 ALIAS:
719 rpid = 1
604 CODE: 720 CODE:
605 RETVAL = w->status; 721 RETVAL = ix ? w->rpid : w->rstatus;
606 OUTPUT: 722 OUTPUT:
607 RETVAL 723 RETVAL
608
609#if 0
610 724
611MODULE = EV PACKAGE = EV::DNS PREFIX = evdns_ 725MODULE = EV PACKAGE = EV::DNS PREFIX = evdns_
612 726
613BOOT: 727BOOT:
614{ 728{
697 811
698void evdns_search_add (char *domain) 812void evdns_search_add (char *domain)
699 813
700void evdns_search_ndots_set (int ndots) 814void evdns_search_ndots_set (int ndots)
701 815
816#if 0
702 817
703MODULE = EV PACKAGE = EV::HTTP PREFIX = evhttp_ 818MODULE = EV PACKAGE = EV::HTTP PREFIX = evhttp_
704 819
705BOOT: 820BOOT:
706{ 821{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines