Deleted Added
full compact
fetch.h (302408) fetch.h (315902)
1/*-
2 * Copyright (c) 1998-2004 Dag-Erling Sm��rgrav
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1998-2004 Dag-Erling Sm��rgrav
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: stable/11/lib/libfetch/fetch.h 267133 2014-06-05 22:16:26Z bapt $
28 * $FreeBSD: stable/11/lib/libfetch/fetch.h 315902 2017-03-24 14:19:52Z des $
29 */
30
31#ifndef _FETCH_H_INCLUDED
32#define _FETCH_H_INCLUDED
33
34#define _LIBFETCH_VER "libfetch/2.0"
35
36#define URL_SCHEMELEN 16

--- 5 unchanged lines hidden (view full) ---

42 char user[URL_USERLEN+1];
43 char pwd[URL_PWDLEN+1];
44 char host[MAXHOSTNAMELEN+1];
45 int port;
46 char *doc;
47 off_t offset;
48 size_t length;
49 time_t ims_time;
29 */
30
31#ifndef _FETCH_H_INCLUDED
32#define _FETCH_H_INCLUDED
33
34#define _LIBFETCH_VER "libfetch/2.0"
35
36#define URL_SCHEMELEN 16

--- 5 unchanged lines hidden (view full) ---

42 char user[URL_USERLEN+1];
43 char pwd[URL_PWDLEN+1];
44 char host[MAXHOSTNAMELEN+1];
45 int port;
46 char *doc;
47 off_t offset;
48 size_t length;
49 time_t ims_time;
50 int netrcfd;
50};
51
52struct url_stat {
53 off_t size;
54 time_t atime;
55 time_t mtime;
56};
57

--- 96 unchanged lines hidden ---
51};
52
53struct url_stat {
54 off_t size;
55 time_t atime;
56 time_t mtime;
57};
58

--- 96 unchanged lines hidden ---