⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 netsite.h

📁 ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识
💻 H
字号:
/* * $Id: netsite.h 32986 2000-06-04 22:02:08Z brunsch $ * * Copyright (c) 1994, 1995.  Netscape Communications Corporation.  All * rights reserved. * * Use of this software is governed by the terms of the license agreement for * the Netscape Communications or Netscape Comemrce Server between the * parties. *//* ------------------------------------------------------------------------ *//* * Standard defs for NetSite servers. */#ifndef NETSITE_H#define NETSITE_H#ifdef MCC_PROXY#define MAGNUS_VERSION "1.1m"#define MAGNUS_VERSION_STRING "Netscape-Proxy/1.1m"#elif defined(MCC_ADMSERV)#define MAGNUS_VERSION "1.1"#define MAGNUS_VERSION_STRING "Netscape-Administrator/1.1"#elif defined(MCC_HTTPD)#define MAGNUS_VERSION "1.1"#ifdef NET_SSL#define MAGNUS_VERSION_STRING "Netscape-Commerce/1.12"#else#define MAGNUS_VERSION_STRING "Netscape-Communications/1.12"#endif#elif defined(MCC_NEWS)#define MAGNUS_VERSION_STRING "Netscape 1.1"#endif/* Used in some places as a length limit on error messages */#define MAGNUS_ERROR_LEN 8192/* Carraige return and line feed */#define CR 13#define LF 10/* -------------------------- Memory allocation --------------------------- *//* Later change these to have catastrophic error handling */#include <stdlib.h>#define MALLOC(sz) malloc(sz)#define FREE(ptr) free((void *)ptr)#define STRDUP(str) strdup(str)#define REALLOC(ptr,sz) realloc(ptr,sz)/* Not sure where to put this. */void magnus_atrestart(void (*fn)(void *), void *data);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -