Commit 25f84ffc authored by Witold Krecicki's avatar Witold Krecicki Committed by Witold Krecicki
Browse files

Add missing libisc.def definitions, netmgr version of isc_sockettype_t.

parent 7500fb93
...@@ -12,17 +12,19 @@ ...@@ -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 ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment