isc_socketmgr Struct Reference

This structure is actually just the common prefix of a socket manager object implementation's version of an isc_socketmgr_t. More...

#include <socket.h>


Data Fields

unsigned int impmagic
unsigned int magic
isc_socketmgrmethods_tmethods


Detailed Description

This structure is actually just the common prefix of a socket manager object implementation's version of an isc_socketmgr_t.

Direct use of this structure by clients is forbidden. socket implementations may change the structure. 'magic' must be ISCAPI_SOCKETMGR_MAGIC for any of the isc_socket_ routines to work. socket implementations must maintain all socket invariants. In effect, this definition is used only for non-BIND9 version ("export") of the library, and the export version does not work for win32. So, to avoid the definition conflict with win32/socket.c, we enable this definition only for non-Win32 (i.e. Unix) platforms.

Definition at line 392 of file socket.h.


Field Documentation

unsigned int isc_socketmgr::impmagic

Definition at line 393 of file socket.h.

unsigned int isc_socketmgr::magic

Definition at line 394 of file socket.h.

isc_socketmgrmethods_t* isc_socketmgr::methods

Definition at line 395 of file socket.h.

Referenced by isc_socket_create(), and isc_socket_fdwatchcreate().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:21 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha