]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add name and tag to socket structure
authorMark Andrews <marka@isc.org>
Tue, 6 Mar 2007 01:50:48 +0000 (01:50 +0000)
committerMark Andrews <marka@isc.org>
Tue, 6 Mar 2007 01:50:48 +0000 (01:50 +0000)
lib/isc/win32/socket.c

index cb7e57bc2326fbaad4a74cc173bbc0800dddc3c8..988df39bfb8523382f31a9651006cb0037bdceef 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.48 2007/02/13 02:49:08 marka Exp $ */
+/* $Id: socket.c,v 1.49 2007/03/06 01:50:48 marka Exp $ */
 
 /* This code has been rewritten to take advantage of Windows Sockets
  * I/O Completion Ports and Events. I/O Completion Ports is ONLY
@@ -226,6 +226,11 @@ struct isc_socket {
        SOCKET                  fd;
        int                     pf;
 
+#ifdef ISC_SOCKET_NAMES   
+       char                    name[16];
+       void *                  tag;
+#endif
+
        ISC_LIST(isc_socketevent_t)             send_list;
        ISC_LIST(isc_socketevent_t)             recv_list;
        ISC_LIST(isc_socket_newconnev_t)        accept_list;