mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
update copyright notice
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 2000-2003 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.53 2008/03/27 21:08:52 jinmei Exp $ */
|
||||
/* $Id: socket.c,v 1.54 2008/03/27 23:46:57 tbox Exp $ */
|
||||
|
||||
/* This code has been rewritten to take advantage of Windows Sockets
|
||||
* I/O Completion Ports and Events. I/O Completion Ports is ONLY
|
||||
@@ -184,16 +184,16 @@ typedef isc_event_t intev_t;
|
||||
|
||||
|
||||
struct msghdr {
|
||||
void *msg_name; /* optional address */
|
||||
u_int msg_namelen; /* size of address */
|
||||
WSABUF *msg_iov; /* scatter/gather array */
|
||||
u_int msg_iovlen; /* # elements in msg_iov */
|
||||
void *msg_control; /* ancillary data, see below */
|
||||
u_int msg_controllen; /* ancillary data buffer len */
|
||||
int msg_flags; /* flags on received message */
|
||||
void *msg_name; /* optional address */
|
||||
u_int msg_namelen; /* size of address */
|
||||
WSABUF *msg_iov; /* scatter/gather array */
|
||||
u_int msg_iovlen; /* # elements in msg_iov */
|
||||
void *msg_control; /* ancillary data, see below */
|
||||
u_int msg_controllen; /* ancillary data buffer len */
|
||||
int msg_flags; /* flags on received message */
|
||||
int msg_totallen; /* total length of this message */
|
||||
} msghdr;
|
||||
|
||||
|
||||
/*%
|
||||
* The size to raise the recieve buffer to.
|
||||
*/
|
||||
@@ -505,7 +505,7 @@ iocompletionport_init(isc_socketmgr_t *manager) {
|
||||
|
||||
/*
|
||||
* Worker threads for servicing the I/O
|
||||
*/
|
||||
*/
|
||||
iocompletionport_createthreads(manager->maxIOCPThreads, manager);
|
||||
}
|
||||
|
||||
@@ -660,7 +660,7 @@ socket_eventlist_add(event_change_t *evchange, sock_event_list *evlist,
|
||||
*/
|
||||
isc_boolean_t
|
||||
socket_eventlist_delete(event_change_t *evchange, sock_event_list *evlist,
|
||||
isc_socketmgr_t *manager)
|
||||
isc_socketmgr_t *manager)
|
||||
{
|
||||
int i;
|
||||
WSAEVENT hEvent;
|
||||
@@ -943,7 +943,7 @@ initialise(void) {
|
||||
void
|
||||
InitSockets(void) {
|
||||
RUNTIME_CHECK(isc_once_do(&initialise_once,
|
||||
initialise) == ISC_R_SUCCESS);
|
||||
initialise) == ISC_R_SUCCESS);
|
||||
if (!initialised)
|
||||
exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user