Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
3fc2fc6b
Commit
3fc2fc6b
authored
Sep 10, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include evdns.h through libevent.h so that libevent2 is supported too
parent
4cf92028
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
gevent/evdns.pxi
gevent/evdns.pxi
+1
-1
gevent/libevent.h
gevent/libevent.h
+3
-0
No files found.
gevent/evdns.pxi
View file @
3fc2fc6b
...
...
@@ -18,7 +18,7 @@ cdef extern from "arpa/inet.h":
int
inet_pton
(
int
af
,
char
*
src
,
void
*
dst
)
char
*
inet_ntop
(
int
af
,
void
*
src
,
char
*
dst
,
socklen_t
size
)
cdef
extern
from
"
evdns
.h"
:
cdef
extern
from
"
libevent
.h"
:
ctypedef
void
(
*
evdns_handler
)(
int
result
,
char
t
,
int
count
,
int
ttl
,
void
*
addrs
,
void
*
arg
)
...
...
gevent/libevent.h
View file @
3fc2fc6b
...
...
@@ -12,6 +12,8 @@
#include "event2/http_struct.h"
#include "event2/buffer.h"
#include "event2/buffer_compat.h"
#include "event2/dns.h"
#include "event2/dns_compat.h"
#define EVBUFFER_DRAIN evbuffer_drain
#define EVHTTP_SET_CB evhttp_set_cb
...
...
@@ -22,6 +24,7 @@
#include "event.h"
#include "evhttp.h"
#include "evdns.h"
/* compatibility */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment