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

📄 htfsave.h

📁 www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
💻 H
字号:
/*    					W3C Sample Code Library libwww ANSI C File Streams!  Basic ANSI C File Writer Stream!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*This module contains some local file writer streams based on the basic filewriter stream defined in the HTFWrite module.They can be used to do save-as, save-and-callback etc.This module is implemented by HTFSave.c, and itis a part of the W3C Sample CodeLibrary.*/#ifndef HTFSAVE_H#define HTFSAVE_H#include "HTFWrite.h"/*.  Various Converters using the File Writer Stream.This is a set of functions that can be registered as converters. They alluse the basic ANSI C file writer stream for writing out to the local filesystem.*/extern HTConverter HTSaveAndExecute, HTSaveLocally, HTSaveAndCallback;/*      HTSaveLocally      Saves a file to local disk. This can for example be used to dump date objects    of unknown media types to local disk. The stream prompts for a file name    for the temporary file.      HTSaveAndExecute      Creates temporary file, writes to it and then executes system command (maybe    an external viewer) when EOF has been reached. The stream finds    a suitable name of the temporary file which preserves the suffix. This way,    the system command can find out the file type from the name of the temporary    file name.      HTSaveAndCallback      This stream works exactly like the HTSaveAndExecute stream but    in addition when EOF has been reached, it checks whether a callback    function has been associated with the request object in which case, this    callback is being called. This can be use by the application to do some    processing after the system command has terminated. The callback    function is called with the file name of the temporary file as parameter.*/#endif/*    @(#) $Id: HTFSave.html,v 2.1 1999/02/07 18:26:23 frystyk Exp $*/

⌨️ 快捷键说明

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