source: trunk/gsdl/src/w32server/httpsrv.h@ 611

Last change on this file since 611 was 611, checked in by sjboddie, 25 years ago

initial commit of windows server code

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/*
2Copyright (C) 1996
3
4This program is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation; either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program; if not, write to the Free Software
16Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18The author can be contacted via Email at [email protected]
19*/
20#define HTTP_SERVER_MSG WM_USER + 23
21
22/*
23Function Name: Start HTTP Server
24Purpose: Starts the HTTP server. Inits Winsock, MIME, loads registry stuff,
25 etc.
26Parameters:
27 PassedMsgWindow - The handle of the window that handles messages. Needed
28 to setup WSASelect notification of socket events and
29 to send a shutdown message on error.
30*/
31// returns 0 on success, and a WSA error otherwise
32int StartHTTPServer(HWND PassedMsgWindow);
33
34/*
35Function Name: End HTTP Server
36Purpose: Ends the HTTP server. Cleans up MIME, users, etc.
37*/
38void EndHTTPServer();
39
40/*
41Function Name: Process HTTP Server Message
42Purpose: Processes HTTP_SERVER_MSG messages.
43Parameters:
44 Socket - The socket the message is regarding (WPARAM)
45 MsgInfo - The messsage (LPARAM)
46*/
47void ProcessHTTPServerMsg(WPARAM Socket, LPARAM MsgInfo);
Note: See TracBrowser for help on using the repository browser.