mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
Add missing libisc.def definitions, netmgr version of isc_sockettype_t.
This commit is contained in:
committed by
Witold Krecicki
parent
7500fb9319
commit
25f84ffc68
@@ -12,17 +12,19 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <isc/mem.h>
|
#include <isc/mem.h>
|
||||||
|
#include <isc/region.h>
|
||||||
#include <isc/result.h>
|
#include <isc/result.h>
|
||||||
#include <isc/types.h>
|
#include <isc/types.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Replacement for isc_sockettype_t provided by socket.h.
|
||||||
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
NMEV_READ,
|
isc_socktype_tcp = 1,
|
||||||
NMEV_WRITE,
|
isc_socktype_udp = 2,
|
||||||
NMEV_ACCEPT,
|
isc_socktype_unix = 3,
|
||||||
NMEV_CONNECTED,
|
isc_socktype_raw = 4
|
||||||
NMEV_CANCELLED,
|
} isc_socktype_t;
|
||||||
NMEV_SHUTDOWN
|
|
||||||
} isc_nm_eventtype;
|
|
||||||
|
|
||||||
typedef void (*isc_nm_recv_cb_t)(isc_nmhandle_t *handle, isc_result_t eresult,
|
typedef void (*isc_nm_recv_cb_t)(isc_nmhandle_t *handle, isc_result_t eresult,
|
||||||
isc_region_t *region, void *cbarg);
|
isc_region_t *region, void *cbarg);
|
||||||
|
@@ -454,8 +454,10 @@ isc_nm_closedown
|
|||||||
isc_nm_destroy
|
isc_nm_destroy
|
||||||
isc_nm_detach
|
isc_nm_detach
|
||||||
isc_nm_listentcpdns
|
isc_nm_listentcpdns
|
||||||
|
isc_nm_listentcp
|
||||||
isc_nm_listenudp
|
isc_nm_listenudp
|
||||||
isc_nm_maxudp
|
isc_nm_maxudp
|
||||||
|
isc_nm_read
|
||||||
isc_nm_send
|
isc_nm_send
|
||||||
isc_nm_setstats
|
isc_nm_setstats
|
||||||
isc_nm_start
|
isc_nm_start
|
||||||
|
Reference in New Issue
Block a user