aboutsummaryrefslogtreecommitdiff
path: root/contrib/Win32
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Win32')
-rw-r--r--contrib/Win32/dirent.c277
-rw-r--r--contrib/Win32/dirent.h56
-rw-r--r--contrib/Win32/flock.c57
-rw-r--r--contrib/Win32/flock.h31
-rw-r--r--contrib/Win32/help/help.cfg13
-rw-r--r--contrib/Win32/help/help.dsp157
-rw-r--r--contrib/Win32/help/help.icobin766 -> 0 bytes
-rw-r--r--contrib/Win32/help/help.rc72
-rw-r--r--contrib/Win32/help/mime.types469
-rw-r--r--contrib/Win32/help/resource.h16
-rw-r--r--contrib/Win32/libwebserver.dsp237
-rw-r--r--contrib/Win32/libwebserver.dsw44
12 files changed, 0 insertions, 1429 deletions
diff --git a/contrib/Win32/dirent.c b/contrib/Win32/dirent.c
deleted file mode 100644
index 5f31686e..00000000
--- a/contrib/Win32/dirent.c
+++ /dev/null
@@ -1,277 +0,0 @@
1/*
2 dir.c for MS-DOS by Samuel Lam <skl@van-bc.UUCP>, June/87
3 */
4
5/* #ifdef WIN32 */
6/*
7 * @(#)dir.c 1.4 87/11/06 Public Domain.
8 *
9 * A public domain implementation of BSD directory routines for
10 * MS-DOS. Written by Michael Rendell ({uunet,utai}michael@garfield),
11 * August 1897
12 * Ported to OS/2 by Kai Uwe Rommel
13 * December 1989, February 1990
14 * Ported to Windows NT 22 May 91
15 * other mods Summer '92 brianmo@microsoft.com
16 * opendirx() was horribly written, very inefficient, and did not take care
17 * of all cases. It is still not too clean, but it is far more efficient.
18 * Changes made by Gordon Chaffee (chaffee@bugs-bunny.cs.berkeley.edu)
19 */
20
21
22/*Includes:
23 * crt
24 */
25#include <windows.h>
26#include <stdlib.h>
27#include <string.h>
28#include <sys\types.h>
29#include <sys\stat.h>
30#include "dirent.h"
31
32#define stat _stat
33
34/*
35 * NT specific
36 */
37#include <stdio.h>
38
39/*
40 * random typedefs
41 */
42#define HDIR HANDLE
43#define HFILE HANDLE
44#define PHFILE PHANDLE
45
46/*
47 * local functions
48 */
49static char *getdirent(char *);
50static void free_dircontents(struct _dircontents *);
51
52static HDIR FindHandle;
53static WIN32_FIND_DATA FileFindData;
54
55static struct dirent dp;
56
57DIR *opendirx(char *name, char *pattern)
58{
59 struct stat statb;
60 DIR *dirp;
61 char c;
62 char *s;
63 struct _dircontents *dp;
64 int len;
65 int unc;
66 char path[OFS_MAXPATHNAME];
67 register char *ip, *op;
68
69 for (ip = name, op = path;; op++, ip++) {
70 *op = *ip;
71 if (*ip == '\0') {
72 break;
73 }
74 }
75 len = ip - name;
76 if (len > 0) {
77 unc = ((path[0] == '\\' || path[0] == '/') &&
78 (path[1] == '\\' || path[1] == '/'));
79 c = path[len - 1];
80 if (unc) {
81 if (c != '\\' && c != '/') {
82 path[len] = '/';
83 len++;
84 path[len] = '\0';
85 }
86 } else {
87 if ((c == '\\' || c == '/') && (len > 1)) {
88 len--;
89 path[len] = '\0';
90
91 if (path[len - 1] == ':') {
92 path[len] = '/';
93 len++;
94 path[len] = '.';
95 len++;
96 path[len] = '\0';
97 }
98 } else if (c == ':') {
99 path[len] = '.';
100 len++;
101 path[len] = '\0';
102 }
103 }
104 } else {
105 unc = 0;
106 path[0] = '.';
107 path[1] = '\0';
108 len = 1;
109 }
110
111 if (stat(path, &statb) < 0 || (statb.st_mode & S_IFMT) != S_IFDIR) {
112 return NULL;
113 }
114 dirp = malloc(sizeof(DIR));
115 if (dirp == NULL) {
116 return dirp;
117 }
118 c = path[len - 1];
119 if (c == '.') {
120 if (len == 1) {
121 len--;
122 } else {
123 c = path[len - 2];
124 if (c == '\\' || c == ':') {
125 len--;
126 } else {
127 path[len] = '/';
128 len++;
129 }
130 }
131 } else if (!unc && ((len != 1) || (c != '\\' && c != '/'))) {
132 path[len] = '/';
133 len++;
134 }
135 strcpy(path + len, pattern);
136
137 dirp->dd_loc = 0;
138 dirp->dd_contents = dirp->dd_cp = NULL;
139
140 if ((s = getdirent(path)) == NULL) {
141 return dirp;
142 }
143 do {
144 if (((dp = malloc(sizeof(struct _dircontents))) == NULL) ||
145 ((dp->_d_entry = malloc(strlen(s) + 1)) == NULL)) {
146 if (dp)
147 free(dp);
148 free_dircontents(dirp->dd_contents);
149
150 return NULL;
151 }
152 if (dirp->dd_contents)
153 dirp->dd_cp = dirp->dd_cp->_d_next = dp;
154 else
155 dirp->dd_contents = dirp->dd_cp = dp;
156
157 strcpy(dp->_d_entry, s);
158 dp->_d_next = NULL;
159
160 }
161 while ((s = getdirent(NULL)) != NULL);
162
163 dirp->dd_cp = dirp->dd_contents;
164 return dirp;
165}
166
167DIR *opendir(char *name)
168{
169 return opendirx(name, "*");
170}
171
172void closedir(DIR * dirp)
173{
174 free_dircontents(dirp->dd_contents);
175 free(dirp);
176}
177
178struct dirent *readdir(DIR * dirp)
179{
180 /* static struct dirent dp; */
181 if (dirp->dd_cp == NULL)
182 return NULL;
183
184 /*strcpy(dp.d_name,dirp->dd_cp->_d_entry); */
185
186 dp.d_name = dirp->dd_cp->_d_entry;
187
188 dp.d_namlen = dp.d_reclen =
189 strlen(dp.d_name);
190
191 dp.d_ino = dirp->dd_loc + 1; /* fake the inode */
192
193 dirp->dd_cp = dirp->dd_cp->_d_next;
194 dirp->dd_loc++;
195
196
197 return &dp;
198}
199
200void seekdir(DIR * dirp, long off)
201{
202 long i = off;
203 struct _dircontents *dp;
204
205 if (off >= 0) {
206 for (dp = dirp->dd_contents; --i >= 0 && dp; dp = dp->_d_next);
207
208 dirp->dd_loc = off - (i + 1);
209 dirp->dd_cp = dp;
210 }
211}
212
213
214long telldir(DIR * dirp)
215{
216 return dirp->dd_loc;
217}
218
219static void free_dircontents(struct _dircontents *dp)
220{
221 struct _dircontents *odp;
222
223 while (dp) {
224 if (dp->_d_entry)
225 free(dp->_d_entry);
226
227 dp = (odp = dp)->_d_next;
228 free(odp);
229 }
230}
231/* end of "free_dircontents" */
232
233static char *getdirent(char *dir)
234{
235 int got_dirent;
236
237 if (dir != NULL) { /* get first entry */
238 if ((FindHandle = FindFirstFile(dir, &FileFindData))
239 == (HDIR) 0xffffffff) {
240 return NULL;
241 }
242 got_dirent = 1;
243 } else /* get next entry */
244 got_dirent = FindNextFile(FindHandle, &FileFindData);
245
246 if (got_dirent)
247 return FileFindData.cFileName;
248 else {
249 FindClose(FindHandle);
250 return NULL;
251 }
252}
253/* end of getdirent() */
254
255struct passwd *_cdecl
256 getpwnam(char *name)
257{
258 return NULL;
259}
260
261struct passwd *_cdecl
262 getpwuid(int uid)
263{
264 return NULL;
265}
266
267int getuid()
268{
269 return 0;
270}
271
272void _cdecl
273 endpwent(void)
274{
275}
276
277/* #endif */
diff --git a/contrib/Win32/dirent.h b/contrib/Win32/dirent.h
deleted file mode 100644
index c0852a17..00000000
--- a/contrib/Win32/dirent.h
+++ /dev/null
@@ -1,56 +0,0 @@
1/*
2 * @(#) dirent.h 2.0 17 Jun 91 Public Domain.
3 *
4 * A public domain implementation of BSD directory routines for
5 * MS-DOS. Written by Michael Rendell ({uunet,utai}michael@garfield),
6 * August 1987
7 *
8 * Enhanced and ported to OS/2 by Kai Uwe Rommel; added scandir() prototype
9 * December 1989, February 1990
10 * Change of MAXPATHLEN for HPFS, October 1990
11 *
12 * Unenhanced and ported to Windows NT by Bill Gallagher
13 * 17 Jun 91
14 * changed d_name to char * instead of array, removed non-std extensions
15 *
16 * Cleanup, other hackery, Summer '92, Brian Moran , brianmo@microsoft.com
17 */
18
19#ifndef _DIRENT
20#define _DIRENT
21
22#include <direct.h>
23
24struct dirent
25{
26 ino_t d_ino; /* a bit of a farce */
27 short d_reclen; /* more farce */
28 short d_namlen; /* length of d_name */
29 char *d_name;
30};
31
32struct _dircontents
33{
34 char *_d_entry;
35 struct _dircontents *_d_next;
36};
37
38typedef struct _dirdesc
39{
40 int dd_id; /* uniquely identify each open directory*/
41 long dd_loc; /* where we are in directory entry */
42 struct _dircontents *dd_contents; /* pointer to contents of dir */
43 struct _dircontents *dd_cp; /* pointer to current position */
44}
45DIR;
46
47extern DIR *opendir(char *);
48extern struct dirent *readdir(DIR *);
49extern void seekdir(DIR *, long);
50extern long telldir(DIR *);
51extern void closedir(DIR *);
52#define rewinddir(dirp) seekdir(dirp, 0L)
53
54#endif /* _DIRENT */
55
56/* end of dirent.h */
diff --git a/contrib/Win32/flock.c b/contrib/Win32/flock.c
deleted file mode 100644
index 89238625..00000000
--- a/contrib/Win32/flock.c
+++ /dev/null
@@ -1,57 +0,0 @@
1/* Copyrights 2002 Luis Figueiredo (stdio@netc.pt) All rights reserved.
2 *
3 * See the LICENSE file
4 *
5 * The origin of this software must not be misrepresented, either by
6 * explicit claim or by omission. Since few users ever read sources,
7 * credits must appear in the documentation.
8 *
9 * date: 19:49,07-49-2002
10 *
11 * -- description: File lock for winnt
12 *
13
14/*********************************************************************************************************/
15/*
16 * simulate a file lock, using locking region on WINNT
17 */
18#include "flock.h"
19
20
21
22#define LK_ERR(f,i) ((f) ? (i = 0) : (i=-1))
23#define LK_LEN 0xffff0000
24
25int flock(int fd, int oper) {
26 OVERLAPPED o;
27 int i = -1;
28 HANDLE fh;
29
30 fh = (HANDLE)_get_osfhandle(fd);
31 memset(&o, 0, sizeof(o));
32
33 switch(oper) {
34 case LOCK_SH: /* shared lock */
35 LK_ERR(LockFileEx(fh, 0, 0, LK_LEN, 0, &o),i);
36 break;
37 case LOCK_EX: /* exclusive lock */
38 LK_ERR(LockFileEx(fh, LOCKFILE_EXCLUSIVE_LOCK, 0, LK_LEN, 0, &o),i);
39 break;
40 case LOCK_SH|LOCK_NB: /* non-blocking shared lock */
41 LK_ERR(LockFileEx(fh, LOCKFILE_FAIL_IMMEDIATELY, 0, LK_LEN, 0, &o),i);
42 break;
43 case LOCK_EX|LOCK_NB: /* non-blocking exclusive lock */
44 LK_ERR(LockFileEx(fh,LOCKFILE_EXCLUSIVE_LOCK|LOCKFILE_FAIL_IMMEDIATELY,0, LK_LEN, 0, &o),i);
45 break;
46 case LOCK_UN: /* unlock lock */
47 LK_ERR(UnlockFileEx(fh, 0, LK_LEN, 0, &o),i);
48 break;
49 default: /* unknown */
50 //errno = EINVAL; // i heard that on some versions errno is a function (win32 MT lib?)
51 break;
52 }
53 return i;
54}
55
56#undef LK_ERR
57#undef LK_LEN \ No newline at end of file
diff --git a/contrib/Win32/flock.h b/contrib/Win32/flock.h
deleted file mode 100644
index 0ea72cf1..00000000
--- a/contrib/Win32/flock.h
+++ /dev/null
@@ -1,31 +0,0 @@
1/* Copyrights 2002 Luis Figueiredo (stdio@netc.pt) All rights reserved.
2 *
3 * See the LICENSE file
4 *
5 * The origin of this software must not be misrepresented, either by
6 * explicit claim or by omission. Since few users ever read sources,
7 * credits must appear in the documentation.
8 *
9 * file: utils.h
10 *
11 * description: Header
12 *
13 * date: 19:50,07-50-2002
14 */
15
16#ifndef _FLOCK_H_
17#define _FLOCK_H_
18
19#include <windows.h>
20#include <io.h> // this?
21#include <errno.h>
22
23#define LOCK_SH 1
24#define LOCK_EX 2
25#define LOCK_NB 4
26#define LOCK_UN 8
27
28int flock (int,int);
29
30
31#endif \ No newline at end of file
diff --git a/contrib/Win32/help/help.cfg b/contrib/Win32/help/help.cfg
deleted file mode 100644
index 6fbb727e..00000000
--- a/contrib/Win32/help/help.cfg
+++ /dev/null
@@ -1,13 +0,0 @@
1[LIBWEBSERVER]
2LOG=help.log
3PORT=81
4USESSL=0
5LOCAL=0
6DYNVAR=0
7
8
9[PERSONAL_CONF]
10PORT=Portability
11MOST=general key guard
12IP=127.0.0.1
13
diff --git a/contrib/Win32/help/help.dsp b/contrib/Win32/help/help.dsp
deleted file mode 100644
index a1cecd1d..00000000
--- a/contrib/Win32/help/help.dsp
+++ /dev/null
@@ -1,157 +0,0 @@
1# Microsoft Developer Studio Project File - Name="help" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version 6.00
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Console Application" 0x0103
6
7CFG=help - Win32 Release
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "help.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "help.mak" CFG="help - Win32 Release"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "help - Win32 Release" (based on "Win32 (x86) Console Application")
21!MESSAGE "help - Win32 Debug" (based on "Win32 (x86) Console Application")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29RSC=rc.exe
30
31!IF "$(CFG)" == "help - Win32 Release"
32
33# PROP BASE Use_MFC 0
34# PROP BASE Use_Debug_Libraries 0
35# PROP BASE Output_Dir "Release"
36# PROP BASE Intermediate_Dir "Release"
37# PROP BASE Target_Dir ""
38# PROP Use_MFC 0
39# PROP Use_Debug_Libraries 0
40# PROP Output_Dir "Release"
41# PROP Intermediate_Dir "Release"
42# PROP Ignore_Export_Lib 0
43# PROP Target_Dir ""
44# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
45# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /Zm200 /c
46# ADD BASE RSC /l 0x816 /d "NDEBUG"
47# ADD RSC /l 0x816 /d "NDEBUG"
48BSC32=bscmake.exe
49# ADD BASE BSC32 /nologo
50# ADD BSC32 /nologo
51LINK32=link.exe
52# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
53# ADD LINK32 libwebserver.lib wsock32.lib user32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/help.exe" /libpath:"../../bin"
54# SUBTRACT LINK32 /pdb:none /nodefaultlib
55
56!ELSEIF "$(CFG)" == "help - Win32 Debug"
57
58# PROP BASE Use_MFC 0
59# PROP BASE Use_Debug_Libraries 1
60# PROP BASE Output_Dir "Debug"
61# PROP BASE Intermediate_Dir "Debug"
62# PROP BASE Target_Dir ""
63# PROP Use_MFC 0
64# PROP Use_Debug_Libraries 1
65# PROP Output_Dir "Debug"
66# PROP Intermediate_Dir "Debug"
67# PROP Ignore_Export_Lib 0
68# PROP Target_Dir ""
69# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
70# ADD CPP /nologo /Gm /GX /ZI /Od /I "../../include" /D "_CONSOLE" /D "WIN32" /D "DEBUG" /D "_MBCS" /FA /FR /YX /FD /Zm200 /GZ /c
71# ADD BASE RSC /l 0x816 /d "_DEBUG"
72# ADD RSC /l 0x816 /d "DEBUG"
73BSC32=bscmake.exe
74# ADD BASE BSC32 /nologo
75# ADD BSC32 /nologo
76LINK32=link.exe
77# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
78# ADD LINK32 libwebserver.lib wsock32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../bin/help.exe" /pdbtype:sept /libpath:"../../bin"
79# SUBTRACT LINK32 /pdb:none
80
81!ENDIF
82
83# Begin Target
84
85# Name "help - Win32 Release"
86# Name "help - Win32 Debug"
87# Begin Group "Source Files"
88
89# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
90# Begin Source File
91
92SOURCE=..\..\help\help.c
93
94!IF "$(CFG)" == "help - Win32 Release"
95
96# ADD CPP /I "../../include ./"
97# SUBTRACT CPP /I "../../include"
98
99!ELSEIF "$(CFG)" == "help - Win32 Debug"
100
101# ADD CPP /I "../../include help/"
102# SUBTRACT CPP /I "../../include"
103
104!ENDIF
105
106# End Source File
107# Begin Source File
108
109SOURCE=.\help.rc
110# End Source File
111# End Group
112# Begin Group "Header Files"
113
114# PROP Default_Filter "h;hpp;hxx;hm;inl"
115# Begin Source File
116
117SOURCE=..\..\help\examples.h
118# End Source File
119# Begin Source File
120
121SOURCE=..\..\help\functions.h
122# End Source File
123# Begin Source File
124
125SOURCE=..\..\help\info.h
126# End Source File
127# Begin Source File
128
129SOURCE=..\..\help\security.h
130# End Source File
131# End Group
132# Begin Group "Resource Files"
133
134# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
135# Begin Source File
136
137SOURCE=.\help.ico
138# End Source File
139# End Group
140# Begin Source File
141
142SOURCE=..\..\help.html\examples.html
143# End Source File
144# Begin Source File
145
146SOURCE=..\..\help.html\functions.html
147# End Source File
148# Begin Source File
149
150SOURCE=..\..\help.html\info.html
151# End Source File
152# Begin Source File
153
154SOURCE=..\..\help.html\security.html
155# End Source File
156# End Target
157# End Project
diff --git a/contrib/Win32/help/help.ico b/contrib/Win32/help/help.ico
deleted file mode 100644
index 1523bb39..00000000
--- a/contrib/Win32/help/help.ico
+++ /dev/null
Binary files differ
diff --git a/contrib/Win32/help/help.rc b/contrib/Win32/help/help.rc
deleted file mode 100644
index 23179828..00000000
--- a/contrib/Win32/help/help.rc
+++ /dev/null
@@ -1,72 +0,0 @@
1//Microsoft Developer Studio generated resource script.
2//
3#include "resource.h"
4
5#define APSTUDIO_READONLY_SYMBOLS
6/////////////////////////////////////////////////////////////////////////////
7//
8// Generated from the TEXTINCLUDE 2 resource.
9//
10#include "afxres.h"
11
12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS
14
15/////////////////////////////////////////////////////////////////////////////
16// Portuguese (Portugal) resources
17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_PTG)
19#ifdef _WIN32
20LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
21#pragma code_page(1252)
22#endif //_WIN32
23
24#ifdef APSTUDIO_INVOKED
25/////////////////////////////////////////////////////////////////////////////
26//
27// TEXTINCLUDE
28//
29
301 TEXTINCLUDE DISCARDABLE
31BEGIN
32 "resource.h\0"
33END
34
352 TEXTINCLUDE DISCARDABLE
36BEGIN
37 "#include ""afxres.h""\r\n"
38 "\0"
39END
40
413 TEXTINCLUDE DISCARDABLE
42BEGIN
43 "\r\n"
44 "\0"
45END
46
47#endif // APSTUDIO_INVOKED
48
49
50/////////////////////////////////////////////////////////////////////////////
51//
52// Icon
53//
54
55// Icon with lowest ID value placed first to ensure application icon
56// remains consistent on all systems.
57IDI_ICON1 ICON DISCARDABLE "help.ico"
58#endif // Portuguese (Portugal) resources
59/////////////////////////////////////////////////////////////////////////////
60
61
62
63#ifndef APSTUDIO_INVOKED
64/////////////////////////////////////////////////////////////////////////////
65//
66// Generated from the TEXTINCLUDE 3 resource.
67//
68
69
70/////////////////////////////////////////////////////////////////////////////
71#endif // not APSTUDIO_INVOKED
72
diff --git a/contrib/Win32/help/mime.types b/contrib/Win32/help/mime.types
deleted file mode 100644
index 16c8cbd5..00000000
--- a/contrib/Win32/help/mime.types
+++ /dev/null
@@ -1,469 +0,0 @@
1# This is a comment. I love comments.
2
3# This file controls what Internet media types are sent to the client for
4# given file extension(s). Sending the correct media type to the client
5# is important so they know how to handle the content of the file.
6# Extra types can either be added here or by using an AddType directive
7# in your config files. For more information about Internet media types,
8# please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
9# registry is at <ftp://ftp.iana.org/in-notes/iana/assignments/media-types/>.
10
11# MIME type Extension
12application/EDI-Consent
13application/EDI-X12
14application/EDIFACT
15application/activemessage
16application/andrew-inset ez
17application/applefile
18application/atomicmail
19application/batch-SMTP
20application/beep+xml
21application/cals-1840
22application/commonground
23application/cybercash
24application/dca-rft
25application/dec-dx
26application/dvcs
27application/eshop
28application/http
29application/hyperstudio
30application/iges
31application/index
32application/index.cmd
33application/index.obj
34application/index.response
35application/index.vnd
36application/iotp
37application/ipp
38application/isup
39application/font-tdpfr
40application/mac-binhex40 hqx
41application/mac-compactpro cpt
42application/macwriteii
43application/marc
44application/mathematica
45application/mathematica-old
46application/msword doc
47application/news-message-id
48application/news-transmission
49application/ocsp-request
50application/ocsp-response
51application/octet-stream bin dms lha lzh exe class so dll
52application/oda oda
53application/parityfec
54application/pdf pdf
55application/pgp-encrypted
56application/pgp-keys
57application/pgp-signature
58application/pkcs10
59application/pkcs7-mime
60application/pkcs7-signature
61application/pkix-cert
62application/pkix-crl
63application/pkixcmp
64application/postscript ai eps ps
65application/prs.alvestrand.titrax-sheet
66application/prs.cww
67application/prs.nprend
68application/qsig
69application/remote-printing
70application/riscos
71application/rtf
72application/sdp
73application/set-payment
74application/set-payment-initiation
75application/set-registration
76application/set-registration-initiation
77application/sgml
78application/sgml-open-catalog
79application/sieve
80application/slate
81application/smil smi smil
82application/timestamp-query
83application/timestamp-reply
84application/vemmi
85application/vnd.3M.Post-it-Notes
86application/vnd.FloGraphIt
87application/vnd.accpac.simply.aso
88application/vnd.accpac.simply.imp
89application/vnd.acucobol
90application/vnd.aether.imp
91application/vnd.anser-web-certificate-issue-initiation
92application/vnd.anser-web-funds-transfer-initiation
93application/vnd.audiograph
94application/vnd.businessobjects
95application/vnd.bmi
96application/vnd.canon-cpdl
97application/vnd.canon-lips
98application/vnd.claymore
99application/vnd.commerce-battelle
100application/vnd.commonspace
101application/vnd.comsocaller
102application/vnd.contact.cmsg
103application/vnd.cosmocaller
104application/vnd.cups-postscript
105application/vnd.cups-raster
106application/vnd.cups-raw
107application/vnd.ctc-posml
108application/vnd.cybank
109application/vnd.dna
110application/vnd.dpgraph
111application/vnd.dxr
112application/vnd.ecdis-update
113application/vnd.ecowin.chart
114application/vnd.ecowin.filerequest
115application/vnd.ecowin.fileupdate
116application/vnd.ecowin.series
117application/vnd.ecowin.seriesrequest
118application/vnd.ecowin.seriesupdate
119application/vnd.enliven
120application/vnd.epson.esf
121application/vnd.epson.msf
122application/vnd.epson.quickanime
123application/vnd.epson.salt
124application/vnd.epson.ssf
125application/vnd.ericsson.quickcall
126application/vnd.eudora.data
127application/vnd.fdf
128application/vnd.ffsns
129application/vnd.framemaker
130application/vnd.fsc.weblaunch
131application/vnd.fujitsu.oasys
132application/vnd.fujitsu.oasys2
133application/vnd.fujitsu.oasys3
134application/vnd.fujitsu.oasysgp
135application/vnd.fujitsu.oasysprs
136application/vnd.fujixerox.ddd
137application/vnd.fujixerox.docuworks
138application/vnd.fujixerox.docuworks.binder
139application/vnd.fut-misnet
140application/vnd.grafeq
141application/vnd.groove-account
142application/vnd.groove-identity-message
143application/vnd.groove-injector
144application/vnd.groove-tool-message
145application/vnd.groove-tool-template
146application/vnd.groove-vcard
147application/vnd.hhe.lesson-player
148application/vnd.hp-HPGL
149application/vnd.hp-PCL
150application/vnd.hp-PCLXL
151application/vnd.hp-hpid
152application/vnd.hp-hps
153application/vnd.httphone
154application/vnd.hzn-3d-crossword
155application/vnd.ibm.afplinedata
156application/vnd.ibm.MiniPay
157application/vnd.ibm.modcap
158application/vnd.informix-visionary
159application/vnd.intercon.formnet
160application/vnd.intertrust.digibox
161application/vnd.intertrust.nncp
162application/vnd.intu.qbo
163application/vnd.intu.qfx
164application/vnd.irepository.package+xml
165application/vnd.is-xpr
166application/vnd.japannet-directory-service
167application/vnd.japannet-jpnstore-wakeup
168application/vnd.japannet-payment-wakeup
169application/vnd.japannet-registration
170application/vnd.japannet-registration-wakeup
171application/vnd.japannet-setstore-wakeup
172application/vnd.japannet-verification
173application/vnd.japannet-verification-wakeup
174application/vnd.koan
175application/vnd.lotus-1-2-3
176application/vnd.lotus-approach
177application/vnd.lotus-freelance
178application/vnd.lotus-notes
179application/vnd.lotus-organizer
180application/vnd.lotus-screencam
181application/vnd.lotus-wordpro
182application/vnd.mcd
183application/vnd.mediastation.cdkey
184application/vnd.meridian-slingshot
185application/vnd.mif mif
186application/vnd.minisoft-hp3000-save
187application/vnd.mitsubishi.misty-guard.trustweb
188application/vnd.mobius.daf
189application/vnd.mobius.dis
190application/vnd.mobius.msl
191application/vnd.mobius.plc
192application/vnd.mobius.txf
193application/vnd.motorola.flexsuite
194application/vnd.motorola.flexsuite.adsi
195application/vnd.motorola.flexsuite.fis
196application/vnd.motorola.flexsuite.gotap
197application/vnd.motorola.flexsuite.kmr
198application/vnd.motorola.flexsuite.ttc
199application/vnd.motorola.flexsuite.wem
200application/vnd.mozilla.xul+xml
201application/vnd.ms-artgalry
202application/vnd.ms-asf
203application/vnd.ms-excel xls
204application/vnd.ms-lrm
205application/vnd.ms-powerpoint ppt
206application/vnd.ms-project
207application/vnd.ms-tnef
208application/vnd.ms-works
209application/vnd.mseq
210application/vnd.msign
211application/vnd.music-niff
212application/vnd.musician
213application/vnd.netfpx
214application/vnd.noblenet-directory
215application/vnd.noblenet-sealer
216application/vnd.noblenet-web
217application/vnd.novadigm.EDM
218application/vnd.novadigm.EDX
219application/vnd.novadigm.EXT
220application/vnd.osa.netdeploy
221application/vnd.palm
222application/vnd.pg.format
223application/vnd.pg.osasli
224application/vnd.powerbuilder6
225application/vnd.powerbuilder6-s
226application/vnd.powerbuilder7
227application/vnd.powerbuilder7-s
228application/vnd.powerbuilder75
229application/vnd.powerbuilder75-s
230application/vnd.previewsystems.box
231application/vnd.publishare-delta-tree
232application/vnd.pvi.ptid1
233application/vnd.pwg-xhtml-print+xml
234application/vnd.rapid
235application/vnd.s3sms
236application/vnd.seemail
237application/vnd.shana.informed.formdata
238application/vnd.shana.informed.formtemplate
239application/vnd.shana.informed.interchange
240application/vnd.shana.informed.package
241application/vnd.sss-cod
242application/vnd.sss-dtf
243application/vnd.sss-ntf
244application/vnd.street-stream
245application/vnd.svd
246application/vnd.swiftview-ics
247application/vnd.triscape.mxs
248application/vnd.trueapp
249application/vnd.truedoc
250application/vnd.tve-trigger
251application/vnd.ufdl
252application/vnd.uplanet.alert
253application/vnd.uplanet.alert-wbxml
254application/vnd.uplanet.bearer-choice-wbxml
255application/vnd.uplanet.bearer-choice
256application/vnd.uplanet.cacheop
257application/vnd.uplanet.cacheop-wbxml
258application/vnd.uplanet.channel
259application/vnd.uplanet.channel-wbxml
260application/vnd.uplanet.list
261application/vnd.uplanet.list-wbxml
262application/vnd.uplanet.listcmd
263application/vnd.uplanet.listcmd-wbxml
264application/vnd.uplanet.signal
265application/vnd.vcx
266application/vnd.vectorworks
267application/vnd.vidsoft.vidconference
268application/vnd.visio
269application/vnd.vividence.scriptfile
270application/vnd.wap.sic
271application/vnd.wap.slc
272application/vnd.wap.wbxml wbxml
273application/vnd.wap.wmlc wmlc
274application/vnd.wap.wmlscriptc wmlsc
275application/vnd.webturbo
276application/vnd.wrq-hp3000-labelled
277application/vnd.wt.stf
278application/vnd.xara
279application/vnd.xfdl
280application/vnd.yellowriver-custom-menu
281application/whoispp-query
282application/whoispp-response
283application/wita
284application/wordperfect5.1
285application/x-bcpio bcpio
286application/x-cdlink vcd
287application/x-chess-pgn pgn
288application/x-compress
289application/x-cpio cpio
290application/x-csh csh
291application/x-director dcr dir dxr
292application/x-dvi dvi
293application/x-futuresplash spl
294application/x-gtar gtar
295application/x-gzip
296application/x-hdf hdf
297application/x-javascript js
298application/x-koan skp skd skt skm
299application/x-latex latex
300application/x-netcdf nc cdf
301application/x-sh sh
302application/x-shar shar
303application/x-shockwave-flash swf
304application/x-stuffit sit
305application/x-sv4cpio sv4cpio
306application/x-sv4crc sv4crc
307application/x-tar tar
308application/x-tcl tcl
309application/x-tex tex
310application/x-texinfo texinfo texi
311application/x-troff t tr roff
312application/x-troff-man man
313application/x-troff-me me
314application/x-troff-ms ms
315application/x-ustar ustar
316application/x-wais-source src
317application/x400-bp
318application/xml
319application/xml-dtd
320application/xml-external-parsed-entity
321application/zip zip
322audio/32kadpcm
323audio/basic au snd
324audio/g.722.1
325audio/l16
326audio/midi mid midi kar
327audio/mp4a-latm
328audio/mpa-robust
329audio/mpeg mpga mp2 mp3
330audio/parityfec
331audio/prs.sid
332audio/telephone-event
333audio/tone
334audio/vnd.cisco.nse
335audio/vnd.cns.anp1
336audio/vnd.cns.inf1
337audio/vnd.digital-winds
338audio/vnd.everad.plj
339audio/vnd.lucent.voice
340audio/vnd.nortel.vbk
341audio/vnd.nuera.ecelp4800
342audio/vnd.nuera.ecelp7470
343audio/vnd.nuera.ecelp9600
344audio/vnd.octel.sbc
345audio/vnd.qcelp
346audio/vnd.rhetorex.32kadpcm
347audio/vnd.vmx.cvsd
348audio/x-aiff aif aiff aifc
349audio/x-mpegurl m3u
350audio/x-pn-realaudio ram rm
351audio/x-pn-realaudio-plugin rpm
352audio/x-realaudio ra
353audio/x-wav wav
354chemical/x-pdb pdb
355chemical/x-xyz xyz
356image/bmp bmp
357image/cgm
358image/g3fax
359image/gif gif
360image/ief ief
361image/jpeg jpeg jpg jpe
362image/naplps
363image/png png
364image/prs.btif
365image/prs.pti
366image/tiff tiff tif
367image/vnd.cns.inf2
368image/vnd.dwg
369image/vnd.dxf
370image/vnd.fastbidsheet
371image/vnd.fpx
372image/vnd.fst
373image/vnd.fujixerox.edmics-mmr
374image/vnd.fujixerox.edmics-rlc
375image/vnd.mix
376image/vnd.net-fpx
377image/vnd.svf
378image/vnd.wap.wbmp wbmp
379image/vnd.xiff
380image/x-cmu-raster ras
381image/x-portable-anymap pnm
382image/x-portable-bitmap pbm
383image/x-portable-graymap pgm
384image/x-portable-pixmap ppm
385image/x-rgb rgb
386image/x-xbitmap xbm
387image/x-xpixmap xpm
388image/x-xwindowdump xwd
389message/delivery-status
390message/disposition-notification
391message/external-body
392message/http
393message/news
394message/partial
395message/rfc822
396message/s-http
397model/iges igs iges
398model/mesh msh mesh silo
399model/vnd.dwf
400model/vnd.flatland.3dml
401model/vnd.gdl
402model/vnd.gs-gdl
403model/vnd.gtw
404model/vnd.mts
405model/vnd.vtu
406model/vrml wrl vrml
407multipart/alternative
408multipart/appledouble
409multipart/byteranges
410multipart/digest
411multipart/encrypted
412multipart/form-data
413multipart/header-set
414multipart/mixed
415multipart/parallel
416multipart/related
417multipart/report
418multipart/signed
419multipart/voice-message
420text/calendar
421text/css css
422text/directory
423text/enriched
424text/html html htm
425text/parityfec
426text/plain asc txt
427text/prs.lines.tag
428text/rfc822-headers
429text/richtext rtx
430text/rtf rtf
431text/sgml sgml sgm
432text/tab-separated-values tsv
433text/t140
434text/uri-list
435text/vnd.DMClientScript
436text/vnd.IPTC.NITF
437text/vnd.IPTC.NewsML
438text/vnd.abc
439text/vnd.curl
440text/vnd.flatland.3dml
441text/vnd.fly
442text/vnd.fmi.flexstor
443text/vnd.in3d.3dml
444text/vnd.in3d.spot
445text/vnd.latex-z
446text/vnd.motorola.reflex
447text/vnd.ms-mediapackage
448text/vnd.wap.si
449text/vnd.wap.sl
450text/vnd.wap.wml wml
451text/vnd.wap.wmlscript wmls
452text/x-setext etx
453text/xml xml xsl
454text/xml-external-parsed-entity
455video/mp4v-es
456video/mpeg mpeg mpg mpe
457video/parityfec
458video/pointer
459video/quicktime qt mov
460video/vnd.fvt
461video/vnd.motorola.video
462video/vnd.motorola.videop
463video/vnd.mpegurl mxu
464video/vnd.mts
465video/vnd.nokia.interleaved-multimedia
466video/vnd.vivo
467video/x-msvideo avi
468video/x-sgi-movie movie
469x-conference/x-cooltalk ice
diff --git a/contrib/Win32/help/resource.h b/contrib/Win32/help/resource.h
deleted file mode 100644
index a16dbd2c..00000000
--- a/contrib/Win32/help/resource.h
+++ /dev/null
@@ -1,16 +0,0 @@
1//{{NO_DEPENDENCIES}}
2// Microsoft Developer Studio generated include file.
3// Used by help.rc
4//
5#define IDI_ICON1 101
6
7// Next default values for new objects
8//
9#ifdef APSTUDIO_INVOKED
10#ifndef APSTUDIO_READONLY_SYMBOLS
11#define _APS_NEXT_RESOURCE_VALUE 102
12#define _APS_NEXT_COMMAND_VALUE 40001
13#define _APS_NEXT_CONTROL_VALUE 1000
14#define _APS_NEXT_SYMED_VALUE 101
15#endif
16#endif
diff --git a/contrib/Win32/libwebserver.dsp b/contrib/Win32/libwebserver.dsp
deleted file mode 100644
index 00f36e24..00000000
--- a/contrib/Win32/libwebserver.dsp
+++ /dev/null
@@ -1,237 +0,0 @@
1# Microsoft Developer Studio Project File - Name="libwebserver" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version 6.00
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Static Library" 0x0104
6
7CFG=libwebserver - Win32 Release
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "libwebserver.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "libwebserver.mak" CFG="libwebserver - Win32 Release"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "libwebserver - Win32 Release" (based on "Win32 (x86) Static Library")
21!MESSAGE "libwebserver - Win32 Debug" (based on "Win32 (x86) Static Library")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29RSC=rc.exe
30
31!IF "$(CFG)" == "libwebserver - Win32 Release"
32
33# PROP BASE Use_MFC 0
34# PROP BASE Use_Debug_Libraries 0
35# PROP BASE Output_Dir "Release"
36# PROP BASE Intermediate_Dir "Release"
37# PROP BASE Target_Dir ""
38# PROP Use_MFC 0
39# PROP Use_Debug_Libraries 0
40# PROP Output_Dir "Release"
41# PROP Intermediate_Dir "Release"
42# PROP Target_Dir ""
43# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
44# ADD CPP /nologo /W3 /GX /O2 /I "../include" /I "./" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
45# ADD BASE RSC /l 0x816 /d "NDEBUG"
46# ADD RSC /l 0x816 /d "NDEBUG"
47BSC32=bscmake.exe
48# ADD BASE BSC32 /nologo
49# ADD BSC32 /nologo
50LIB32=link.exe -lib
51# ADD BASE LIB32 /nologo
52# ADD LIB32 /nologo /out:"../bin/libwebserver.lib"
53
54!ELSEIF "$(CFG)" == "libwebserver - Win32 Debug"
55
56# PROP BASE Use_MFC 0
57# PROP BASE Use_Debug_Libraries 1
58# PROP BASE Output_Dir "Debug"
59# PROP BASE Intermediate_Dir "Debug"
60# PROP BASE Target_Dir ""
61# PROP Use_MFC 0
62# PROP Use_Debug_Libraries 1
63# PROP Output_Dir "Debug"
64# PROP Intermediate_Dir "Debug"
65# PROP Target_Dir ""
66# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
67# ADD CPP /nologo /Gm /GX /ZI /Od /I "./" /I "../include" /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /FA /YX /FD /GZ /c
68# SUBTRACT CPP /X
69# ADD BASE RSC /l 0x816 /d "_DEBUG"
70# ADD RSC /l 0x816 /d "DEBUG"
71BSC32=bscmake.exe
72# ADD BASE BSC32 /nologo
73# ADD BSC32 /nologo
74LIB32=link.exe -lib
75# ADD BASE LIB32 /nologo
76# ADD LIB32 /nologo /out:"../bin/libwebserver.lib"
77
78!ENDIF
79
80# Begin Target
81
82# Name "libwebserver - Win32 Release"
83# Name "libwebserver - Win32 Debug"
84# Begin Group "Source Files"
85
86# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
87# Begin Source File
88
89SOURCE=..\src\client.c
90# End Source File
91# Begin Source File
92
93SOURCE=..\src\clientinfo.c
94# End Source File
95# Begin Source File
96
97SOURCE=.\dirent.c
98# End Source File
99# Begin Source File
100
101SOURCE=..\src\error.c
102# End Source File
103# Begin Source File
104
105SOURCE=.\flock.c
106# End Source File
107# Begin Source File
108
109SOURCE=..\src\fnmatch.c
110# End Source File
111# Begin Source File
112
113SOURCE=..\src\gethandler.c
114# End Source File
115# Begin Source File
116
117SOURCE=..\src\memory.c
118# End Source File
119# Begin Source File
120
121SOURCE=..\src\outgif.c
122# End Source File
123# Begin Source File
124
125SOURCE=..\src\outstream.c
126# End Source File
127# Begin Source File
128
129SOURCE=..\src\server.c
130# End Source File
131# Begin Source File
132
133SOURCE=..\src\socket.c
134# End Source File
135# Begin Source File
136
137SOURCE=..\src\utils.c
138# End Source File
139# Begin Source File
140
141SOURCE=..\src\weblog.c
142# End Source File
143# End Group
144# Begin Group "Header Files"
145
146# PROP Default_Filter "h;hpp;hxx;hm;inl"
147# Begin Source File
148
149SOURCE=..\include\client.h
150# End Source File
151# Begin Source File
152
153SOURCE=..\include\clientinfo.h
154# End Source File
155# Begin Source File
156
157SOURCE=..\include\config.h
158# End Source File
159# Begin Source File
160
161SOURCE=..\include\debug.h
162# End Source File
163# Begin Source File
164
165SOURCE=.\dirent.h
166# End Source File
167# Begin Source File
168
169SOURCE=..\include\error.h
170# End Source File
171# Begin Source File
172
173SOURCE=.\flock.h
174# End Source File
175# Begin Source File
176
177SOURCE=..\include\fnmatch.h
178# End Source File
179# Begin Source File
180
181SOURCE=..\include\gethandler.h
182# End Source File
183# Begin Source File
184
185SOURCE=..\include\logo.h
186# End Source File
187# Begin Source File
188
189SOURCE=..\include\memory.h
190# End Source File
191# Begin Source File
192
193SOURCE=..\include\module.h
194# End Source File
195# Begin Source File
196
197SOURCE=..\include\outgif.h
198# End Source File
199# Begin Source File
200
201SOURCE=..\include\outstream.h
202# End Source File
203# Begin Source File
204
205SOURCE=..\include\server.h
206# End Source File
207# Begin Source File
208
209SOURCE=..\include\socket.h
210# End Source File
211# Begin Source File
212
213SOURCE=..\include\utils.h
214# End Source File
215# Begin Source File
216
217SOURCE=..\include\web_server.h
218# End Source File
219# Begin Source File
220
221SOURCE=..\include\weblog.h
222# End Source File
223# End Group
224# Begin Source File
225
226SOURCE=..\Authors
227# End Source File
228# Begin Source File
229
230SOURCE=..\ChangeLog
231# End Source File
232# Begin Source File
233
234SOURCE=..\Todo
235# End Source File
236# End Target
237# End Project
diff --git a/contrib/Win32/libwebserver.dsw b/contrib/Win32/libwebserver.dsw
deleted file mode 100644
index 5ae9bb2f..00000000
--- a/contrib/Win32/libwebserver.dsw
+++ /dev/null
@@ -1,44 +0,0 @@
1Microsoft Developer Studio Workspace File, Format Version 6.00
2# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3
4###############################################################################
5
6Project: "help"=".\help\help.dsp" - Package Owner=<4>
7
8Package=<5>
9{{{
10}}}
11
12Package=<4>
13{{{
14 Begin Project Dependency
15 Project_Dep_Name libwebserver
16 End Project Dependency
17}}}
18
19###############################################################################
20
21Project: "libwebserver"=".\libwebserver.dsp" - Package Owner=<4>
22
23Package=<5>
24{{{
25}}}
26
27Package=<4>
28{{{
29}}}
30
31###############################################################################
32
33Global:
34
35Package=<5>
36{{{
37}}}
38
39Package=<3>
40{{{
41}}}
42
43###############################################################################
44