Home
last modified time | relevance | path

Searched refs:DohDispatcher (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
Ddoh.h51 struct DohDispatcher;
78 DohDispatcher* doh_dispatcher_new(ValidationCallback validation_fn,
85 void doh_dispatcher_delete(DohDispatcher* doh);
93 int32_t doh_net_new(DohDispatcher* doh, uint32_t net_id, const char* url, const char* domain,
105 ssize_t doh_query(DohDispatcher* doh, uint32_t net_id, uint8_t* dns_query, size_t dns_query_len,
112 void doh_net_delete(DohDispatcher* doh, uint32_t net_id);
DPrivateDnsConfiguration.h196 DohDispatcher* mDohDispatcher = nullptr;
/packages/modules/DnsResolver/doh/
Dffi.rs95 pub struct DohDispatcher(Mutex<Dispatcher>); struct
97 impl DohDispatcher { impl
160 ) -> *mut DohDispatcher { in doh_dispatcher_new() argument
165 Ok(c) => Box::into_raw(Box::new(DohDispatcher(Mutex::new(c)))), in doh_dispatcher_new()
180 pub unsafe extern "C" fn doh_dispatcher_delete(doh: *mut DohDispatcher) { in doh_dispatcher_delete() argument
194 doh: &DohDispatcher, in doh_net_new() argument
274 doh: &DohDispatcher, in doh_query() argument
346 pub extern "C" fn doh_net_delete(doh: &DohDispatcher, net_id: uint32_t) { in doh_net_delete() argument
/packages/modules/DnsResolver/tests/
Ddoh_ffi_test.cpp99 DohDispatcher* doh = doh_dispatcher_new(validation_cb, tag_socket_cb); in TEST_F()