Changeset 2286 for trunk/gsdl/src/w32server/httpreq.h
- Timestamp:
- 2001-04-05T17:08:52+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/w32server/httpreq.h
r2280 r2286 1 /********************************************************************** 2 * 3 * httpreq.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 HTTPREQ_H 2 29 #define HTTPREQ_H … … 6 33 7 34 /* 8 Copyright (C) 1996 9 10 This program is free software; you can redistribute it and/or modify 11 it under the terms of the GNU General Public License as published by 12 the Free Software Foundation; either version 2 of the License, or 13 (at your option) any later version. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 24 The author can be contacted via Email at [email protected] 25 */ 26 27 /* 28 Module Name: HTTP Reqeust 35 Module Name: HTTP Request 29 36 Purpose: Parses HTTP requests and then calls the appropriate function 30 37 to respond to the request … … 37 44 //Used for sending information to the request thread 38 45 struct RequestThreadMessageT { 39 40 41 42 46 SOCKADDR_IN ClientSockAddr; 47 SOCKET ClientSocket; 48 int AddrLen; 49 }; 43 50 44 51 //Length constants for RequestFieldsT 45 52 #define ReqMethodStrLen 24 46 //#define ReqURIStrLen 25547 53 #define ReqVersionStrLen 24 48 54 #define ReqDateStrLen 48 … … 64 70 #define ReqPathTranslatedStrLen 512 65 71 #define ReqScriptNameStrLen 512 66 // ---67 // 443668 72 69 73 #define MAX_OTHER_HEADERS 100 … … 77 81 //Simple request line info v0.9 78 82 char MethodStr[ReqMethodStrLen]; 79 // char URIStr[ReqURIStrLen];80 83 text_t URIStr; 81 84 //added v1.0
Note:
See TracChangeset
for help on using the changeset viewer.