mirror of https://github.com/getdnsapi/getdns.git
Timeouts are 64 bits
This commit is contained in:
parent
a9d37df6b8
commit
648153f98c
|
@ -1992,7 +1992,7 @@ getdns_extension_set_eventloop(struct getdns_context* context,
|
||||||
|
|
||||||
getdns_return_t
|
getdns_return_t
|
||||||
getdns_context_schedule_timeout(struct getdns_context* context,
|
getdns_context_schedule_timeout(struct getdns_context* context,
|
||||||
getdns_transaction_t id, uint16_t timeout, getdns_timeout_callback callback,
|
getdns_transaction_t id, uint64_t timeout, getdns_timeout_callback callback,
|
||||||
void* userarg) {
|
void* userarg) {
|
||||||
RETURN_IF_NULL(context, GETDNS_RETURN_INVALID_PARAMETER);
|
RETURN_IF_NULL(context, GETDNS_RETURN_INVALID_PARAMETER);
|
||||||
RETURN_IF_NULL(callback, GETDNS_RETURN_INVALID_PARAMETER);
|
RETURN_IF_NULL(callback, GETDNS_RETURN_INVALID_PARAMETER);
|
||||||
|
|
|
@ -192,7 +192,7 @@ void getdns_bindata_destroy(
|
||||||
|
|
||||||
/* timeout scheduling */
|
/* timeout scheduling */
|
||||||
getdns_return_t getdns_context_schedule_timeout(struct getdns_context* context,
|
getdns_return_t getdns_context_schedule_timeout(struct getdns_context* context,
|
||||||
getdns_transaction_t id, uint16_t timeout, getdns_timeout_callback callback,
|
getdns_transaction_t id, uint64_t timeout, getdns_timeout_callback callback,
|
||||||
void* userarg);
|
void* userarg);
|
||||||
|
|
||||||
getdns_return_t getdns_context_clear_timeout(struct getdns_context* context,
|
getdns_return_t getdns_context_clear_timeout(struct getdns_context* context,
|
||||||
|
|
|
@ -101,7 +101,7 @@ getdns_libev_cleanup(struct getdns_context* context, void* data) {
|
||||||
|
|
||||||
static getdns_return_t
|
static getdns_return_t
|
||||||
getdns_libev_schedule_timeout(struct getdns_context* context,
|
getdns_libev_schedule_timeout(struct getdns_context* context,
|
||||||
void* eventloop_data, uint16_t timeout,
|
void* eventloop_data, uint64_t timeout,
|
||||||
getdns_timeout_data_t* timeout_data,
|
getdns_timeout_data_t* timeout_data,
|
||||||
void** eventloop_timer) {
|
void** eventloop_timer) {
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ getdns_libevent_cleanup(struct getdns_context* context, void* data) {
|
||||||
|
|
||||||
static getdns_return_t
|
static getdns_return_t
|
||||||
getdns_libevent_schedule_timeout(struct getdns_context* context,
|
getdns_libevent_schedule_timeout(struct getdns_context* context,
|
||||||
void* eventloop_data, uint16_t timeout,
|
void* eventloop_data, uint64_t timeout,
|
||||||
getdns_timeout_data_t* timeout_data,
|
getdns_timeout_data_t* timeout_data,
|
||||||
void** eventloop_timer) {
|
void** eventloop_timer) {
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ getdns_libuv_cleanup(struct getdns_context* context, void* data) {
|
||||||
|
|
||||||
static getdns_return_t
|
static getdns_return_t
|
||||||
getdns_libuv_schedule_timeout(struct getdns_context* context,
|
getdns_libuv_schedule_timeout(struct getdns_context* context,
|
||||||
void* eventloop_data, uint16_t timeout,
|
void* eventloop_data, uint64_t timeout,
|
||||||
getdns_timeout_data_t* timeout_data,
|
getdns_timeout_data_t* timeout_data,
|
||||||
void** eventloop_timer) {
|
void** eventloop_timer) {
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ typedef getdns_return_t (*getdns_eventloop_cleanup_t)(struct getdns_context* con
|
||||||
/* call the extension to schedule a timer. Any timer data that needs to be tracked should be
|
/* call the extension to schedule a timer. Any timer data that needs to be tracked should be
|
||||||
stored in eventloop_timer */
|
stored in eventloop_timer */
|
||||||
typedef getdns_return_t (*getdns_eventloop_schedule_timeout_t)(struct getdns_context* context,
|
typedef getdns_return_t (*getdns_eventloop_schedule_timeout_t)(struct getdns_context* context,
|
||||||
void* eventloop_data, uint16_t timeout,
|
void* eventloop_data, uint64_t timeout,
|
||||||
getdns_timeout_data_t* timeout_data,
|
getdns_timeout_data_t* timeout_data,
|
||||||
void** eventloop_timer);
|
void** eventloop_timer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue