Timeouts are 64 bits

This commit is contained in:
Willem Toorop 2014-10-06 16:10:09 +02:00
parent a9d37df6b8
commit 648153f98c
6 changed files with 6 additions and 6 deletions

View File

@ -1992,7 +1992,7 @@ getdns_extension_set_eventloop(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) {
RETURN_IF_NULL(context, GETDNS_RETURN_INVALID_PARAMETER);
RETURN_IF_NULL(callback, GETDNS_RETURN_INVALID_PARAMETER);

View File

@ -192,7 +192,7 @@ void getdns_bindata_destroy(
/* timeout scheduling */
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);
getdns_return_t getdns_context_clear_timeout(struct getdns_context* context,

View File

@ -101,7 +101,7 @@ getdns_libev_cleanup(struct getdns_context* context, void* data) {
static getdns_return_t
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,
void** eventloop_timer) {

View File

@ -121,7 +121,7 @@ getdns_libevent_cleanup(struct getdns_context* context, void* data) {
static getdns_return_t
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,
void** eventloop_timer) {

View File

@ -103,7 +103,7 @@ getdns_libuv_cleanup(struct getdns_context* context, void* data) {
static getdns_return_t
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,
void** eventloop_timer) {

View File

@ -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
stored in eventloop_timer */
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,
void** eventloop_timer);