Skip to content

Commit 8aa4962

Browse files
committed
New async support
1 parent b818f46 commit 8aa4962

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

getdns.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ PyMethodDef Context_methods[] = {
125125
"method for looking up a host name given an IP address" },
126126
{ "service", (PyCFunction)context_service, METH_VARARGS|METH_KEYWORDS,
127127
"method for looking up relevant SRV record for a name" },
128+
{ "run", (PyCFunction)context_run, METH_VARARGS|METH_KEYWORDS,
129+
"run unprocessed events" },
130+
{ "cancel_callback", (PyCFunction)context_cancel_callback, METH_VARARGS|METH_KEYWORDS,
131+
"cancel outstanding callbacks" },
128132
{ NULL }
129133
};
130134

0 commit comments

Comments
 (0)