win32.c
资源名称:ijb20.zip [点击查看]
上传用户:qunlip
上传日期:2007-01-04
资源大小:203k
文件大小:1k
源码类别:
代理服务器
开发平台:
Visual C++
- char *win32_rcs = "$Id: win32.c,v 1.11 1998/02/06 00:23:52 ACJC Exp $";
- /* Written and copyright 1997 Anonymous Coders and Junkbusters Corporation.
- * Distributed under the GNU General Public License; see the README file.
- * This code comes with NO WARRANTY. http://www.junkbusters.com/ht/en/gpl.html
- */
- #ifdef _WIN32
- #include <stdio.h>
- #ifdef REGEX
- #include "gnu_regex.h"
- #endif
- #include "jcc.h"
- #include <windows.h>
- extern int hideConsole;
- void InitWin32()
- {
- WORD wVersionRequested;
- WSADATA wsaData;
- SetProcessShutdownParameters(0x100, SHUTDOWN_NORETRY);
- if (hideConsole) {
- FreeConsole();
- }
- wVersionRequested = MAKEWORD(2, 0);
- if (WSAStartup(wVersionRequested, &wsaData) != 0) {
- exit(1);
- }
- }
- char *win32_blurb =
- "Internet Junkbuster Proxy(TM) Version " VERSION " for Windows is Copyright (C) 1997-8n"
- "by Junkbusters Corp. This is free software; it may be used and copied undern"
- "the GNU General Public License: http://www.junkbusters.com/ht/en/gpl.html.n"
- "This program comes with ABSOLUTELY NO WARRANTY OF ANY KIND.n"
- "n"
- "For information about how to to configure the proxy and your browser, seen"
- " http://www.junkbusters.com/ht/en/ijbwin.html#v" VERSION_MAJOR "n"
- "n"
- "The Internet Junkbuster Proxy(TM) is running and ready to serve!n"
- ;
- #endif