Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/libevent/evsignal.h

Issue 412006: posix: upgrade libevent from 1.4.7 to 1.4.13 (Closed)
Patch Set: better readme Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> 2 * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu>
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 volatile sig_atomic_t evsignal_caught; 36 volatile sig_atomic_t evsignal_caught;
37 struct event_list evsigevents[NSIG]; 37 struct event_list evsigevents[NSIG];
38 sig_atomic_t evsigcaught[NSIG]; 38 sig_atomic_t evsigcaught[NSIG];
39 #ifdef HAVE_SIGACTION 39 #ifdef HAVE_SIGACTION
40 struct sigaction **sh_old; 40 struct sigaction **sh_old;
41 #else 41 #else
42 ev_sighandler_t **sh_old; 42 ev_sighandler_t **sh_old;
43 #endif 43 #endif
44 int sh_old_max; 44 int sh_old_max;
45 }; 45 };
46 void evsignal_init(struct event_base *); 46 int evsignal_init(struct event_base *);
47 void evsignal_process(struct event_base *); 47 void evsignal_process(struct event_base *);
48 int evsignal_add(struct event *); 48 int evsignal_add(struct event *);
49 int evsignal_del(struct event *); 49 int evsignal_del(struct event *);
50 void evsignal_dealloc(struct event_base *); 50 void evsignal_dealloc(struct event_base *);
51 51
52 #endif /* _EVSIGNAL_H_ */ 52 #endif /* _EVSIGNAL_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698