OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:async_id
(Results
1 - 9
of
9
) sorted by relevancy
/src/external/bsd/unbound/dist/libunbound/python/examples/
async-lookup.py
50
status,
async_id
= ctx.resolve_async("www.nic.cz", my_data, call_back, unbound.RR_TYPE_A, unbound.RR_CLASS_IN)
/src/external/bsd/unbound/dist/testdata/pylib.tdir/
pylib.lookup.py
63
retval,
async_id
= ctx.resolve_async(qname, cb_data, callback, qtype, qclass)
87
retval,
async_id
= ctx.resolve_async(qname, cb_data, callback, qtype, qclass)
88
retval,
async_id
= ctx.resolve_async(qname2, cb_data2, callback, qtype, qclass)
/src/external/bsd/unbound/dist/libunbound/
libworker.h
130
* @param
async_id
: store query num if query takes long.
134
int*
async_id
);
unbound-event.h
251
* resolve_event returns,
async_id
=0 is returned.
252
* @param
async_id
: if you pass a non-NULL value, an identifier number is
259
int*
async_id
);
unbound.h
260
/** error
async_id
does not exist or result already been delivered */
563
* @param
async_id
: if you pass a non-NULL value, an identifier number is
569
int rrclass, void* mydata, ub_callback_type callback, int*
async_id
);
576
* @param
async_id
: which query to cancel.
578
* This routine can return an error if the
async_id
passed does not exist
584
int ub_cancel(struct ub_ctx* ctx, int
async_id
);
libunbound.c
802
int*
async_id
)
807
if(
async_id
)
808
*
async_id
= 0;
835
if((r=libworker_attach_mesh(ctx, q,
async_id
)) != 0)
843
int rrclass, void* mydata, ub_callback_type callback, int*
async_id
)
851
if(
async_id
)
852
*
async_id
= 0;
891
if(
async_id
)
892
*
async_id
= q->querynum;
907
ub_cancel(struct ub_ctx* ctx, int
async_id
)
[
all
...]
libworker.c
698
int*
async_id
)
733
if(
async_id
)
734
*
async_id
= q->querynum;
/src/external/bsd/unbound/dist/libunbound/python/
libunbound.i
541
def cancel(self,
async_id
):
546
:param
async_id
:
550
return _unbound.ub_cancel(self,
async_id
)
621
* (int)
async_id
, an identifier number is returned for the query as it is in progress. It can be used to cancel the query.
879
%typemap(in,numinputs=0,noblock=1) (int*
async_id
)
888
%typemap(argout,noblock=1) (int*
async_id
)
910
int _ub_resolve_async(struct ub_ctx* ctx, char* name, int rrtype, int rrclass, void* mydata, PyObject *pyfunc, int*
async_id
);
941
int _ub_resolve_async(struct ub_ctx* ctx, char* name, int rrtype, int rrclass, PyObject* mydata, PyObject *pyfunc, int*
async_id
) {
950
r = ub_resolve_async(ctx,name,rrtype,rrclass, (void *) id, PythonCallBack,
async_id
);
/src/external/bsd/unbound/dist/testcode/
asynclook.c
86
int
async_id
;
member in struct:lookinfo
532
&lookups[i].
async_id
);
541
r = ub_cancel(ctx, lookups[i].
async_id
);
Completed in 24 milliseconds
Indexes created Sun Oct 04 00:26:11 UTC 2026