📄 httee.h
字号:
/* W3C Sample Code Library libwww T Stream!Tee stream!*//*** (c) COPYRIGHT MIT 1995.** Please first read the full copyright statement in the file COPYRIGH.*//*The Tee stream just writes everything you put into it into two otherstreams. One use (the only use?!) is for taking a cached copey on diskwhile loading the main copy, without having to wait for the disk copyto be finished and reread it. You can create a T stream using this method. Each stream returns areturn value and in order to resolve conflicts in the return code youcan specify a resolver callback function. Each time any of the datamethods are called the resolver function is then called with thereturn codes from the two streams. The return code of the T streamitself will be the result of the resolver function. If you pass NULLas the resolver routine then a default resolver is used.This module is implemented by HTTee.c, and it isa part of the W3CSample Code Library.*/#ifndef _HTTEE_H#define _HTTEE_H#include "HTStream.h"#include "HTArray.h"extern HTStream * HTTee (HTStream * s1, HTStream * s2, HTComparer * resolver);#endif /* HTTEE_H *//*@(#) $Id: HTTee.html,v 2.16 1998/05/14 02:11:13 frystyk Exp $*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -