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

📄 htfile.h

📁 firtext搜索引擎源码
💻 H
字号:
/*      					W3C Sample Code Library libwww Local File Access!  Local File Access!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*These are routines for local file access used by WWW browsers and servers.This module is implemented by HTFile.c, and it isa part of the  W3C Sample CodeLibrary.*/#ifndef HTFILE_H#define HTFILE_H#include "HTProt.h"extern HTProtCallback HTLoadFile;/*.  Directory Access.You can define the directory access for file URLs by using the followingfunction.*/typedef enum _HTDirAccess {    HT_DIR_FORBID,			/* Altogether forbidden */    HT_DIR_SELECTIVE,			/* Only if "selfile" exists */    HT_DIR_OK				/* Directory reading always OK */} HTDirAccess;#define DEFAULT_DIR_FILE	".www_browsable"    /* If exists, can browse */extern HTDirAccess  HTFile_dirAccess	(void);extern BOOL HTFile_setDirAccess		(HTDirAccess mode);/*.  Readme Files.You can specify the module to look for a README file and to put into a directorylisting. These are the possibilities:*/typedef enum _HTDirReadme {    HT_DIR_README_NONE,    HT_DIR_README_TOP,    HT_DIR_README_BOTTOM} HTDirReadme;#define DEFAULT_README		"README"extern HTDirReadme  HTFile_dirReadme	(void);extern BOOL HTFile_setDirReadme		(HTDirReadme mode);/*.  Should we do Automatic File Suffix Binding?.By default, libwww uses the file suffix bindingsto figure out the media type, natural language, charset, content encoding,etc and assign the values to the anchor of the local file.However, in some situations, the application can either already have donethis or isn't interested in using the libwww bindings. You can control whetherlibwww should do thi or not using the following methods:*/extern BOOL HTFile_doFileSuffixBinding (BOOL mode);extern BOOL HTFile_fileSuffixBinding (void);/**/#endif /* HTFILE_H *//*    @(#) $Id: HTFile.html,v 2.40 1998/05/14 02:10:28 frystyk Exp $*/

⌨️ 快捷键说明

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