Changeset 2286 for trunk/gsdl/src/w32server/d_winsock.h
- Timestamp:
- 2001-04-05T17:08:52+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/w32server/d_winsock.h
r611 r2286 1 /********************************************************************** 2 * 3 * d_winsock.h 4 * Copyright (C) 1996 5 * 6 * A component of the fnord webserver written by [email protected]. 7 * 8 * Altered for use with the Greenstone digital library software by the 9 * New Zealand Digital Library Project at the University of Waikato, 10 * New Zealand. 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; either version 2 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the Free Software 24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 25 * 26 *********************************************************************/ 27 1 28 #ifndef D_WINSOCK_H 2 29 #define D_WINSOCK_H 3 30 4 5 31 /* get most definitions from the real winsock */ 6 32 #include <winsock.h> 7 8 33 9 34 #define D_NOERROR 0 … … 12 37 #define D_ERR_FREELIBFAILED 3 13 38 14 15 16 39 // d_LoadWinsock must be called before an normal winsock 17 40 // functions 18 19 41 20 42 // expects path to be NULL, a empty string, or a path which ends in a slash … … 26 48 // D_ERR_FREELIBFAILED on failure 27 49 int d_UnloadWinsock (); 28 29 50 30 51 // dynamically loaded versions of the winsock functions … … 97 118 long lEvent); 98 119 99 100 101 102 103 120 #endif
Note:
See TracChangeset
for help on using the changeset viewer.