diff options
author | des <des@FreeBSD.org> | 1998-12-16 10:24:55 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1998-12-16 10:24:55 +0000 |
commit | 37f6ae6efa76ffd76030b285155c142929e27e71 (patch) | |
tree | 46bd30e5ec6a8aa52bcbef848e3726d299305880 /lib/libfetch/common.h | |
parent | 0dfe97f554b9685389c9e58615db7e9453368503 (diff) | |
download | FreeBSD-src-37f6ae6efa76ffd76030b285155c142929e27e71.zip FreeBSD-src-37f6ae6efa76ffd76030b285155c142929e27e71.tar.gz |
Add verbose flag, and support functions.
Brucify the Makefile.
Differentiate atime and mtime in fetch*Stat().
Fix a few pointer bugs.
Tweak some error messages.
Don't #include sys/param.h and stdio.h in fetch.h.
Document that sys/param.h and stdio.h must be #included before fetch.h.
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r-- | lib/libfetch/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index dc2a42e..9ea23ea 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: common.h,v 1.1 1998/11/05 19:48:16 des Exp $ + * $Id: common.h,v 1.2 1998/11/06 22:14:08 des Exp $ */ #ifndef _COMMON_H_INCLUDED @@ -40,7 +40,8 @@ struct fetcherr { void _fetch_seterr(struct fetcherr *, int); void _fetch_syserr(void); -int fetchConnect(char *, int); +int _fetch_info(char *fmt, ...); +int fetchConnect(char *, int, int); #define _ftp_seterr(n) _fetch_seterr(_ftp_errlist, n) #define _http_seterr(n) _fetch_seterr(_http_errlist, n) |