Deleted Added
full compact
hast.h (219818) hast.h (219873)
1/*-
2 * Copyright (c) 2009-2010 The FreeBSD Foundation
3 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net>
4 * All rights reserved.
5 *
6 * This software was developed by Pawel Jakub Dawidek under sponsorship from
7 * the FreeBSD Foundation.
8 *

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
1/*-
2 * Copyright (c) 2009-2010 The FreeBSD Foundation
3 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net>
4 * All rights reserved.
5 *
6 * This software was developed by Pawel Jakub Dawidek under sponsorship from
7 * the FreeBSD Foundation.
8 *

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sbin/hastd/hast.h 219818 2011-03-21 08:54:59Z pjd $
30 * $FreeBSD: head/sbin/hastd/hast.h 219873 2011-03-22 16:21:11Z pjd $
31 */
32
33#ifndef _HAST_H_
34#define _HAST_H_
35
36#include <sys/queue.h>
37#include <sys/socket.h>
38

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

81#define HIO_DELETE 3
82#define HIO_FLUSH 4
83#define HIO_KEEPALIVE 5
84
85#define HAST_USER "hast"
86#define HAST_TIMEOUT 5
87#define HAST_CONFIG "/etc/hast.conf"
88#define HAST_CONTROL "/var/run/hastctl"
31 */
32
33#ifndef _HAST_H_
34#define _HAST_H_
35
36#include <sys/queue.h>
37#include <sys/socket.h>
38

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

81#define HIO_DELETE 3
82#define HIO_FLUSH 4
83#define HIO_KEEPALIVE 5
84
85#define HAST_USER "hast"
86#define HAST_TIMEOUT 5
87#define HAST_CONFIG "/etc/hast.conf"
88#define HAST_CONTROL "/var/run/hastctl"
89#define HASTD_PORT 8457
90#define HASTD_LISTEN "tcp4://0.0.0.0:8457"
91#define HASTD_PIDFILE "/var/run/hastd.pid"
92
93/* Default extent size. */
94#define HAST_EXTENTSIZE 2097152
95/* Default maximum number of extents that are kept dirty. */
96#define HAST_KEEPDIRTY 64
97

--- 129 unchanged lines hidden ---
89#define HASTD_LISTEN "tcp4://0.0.0.0:8457"
90#define HASTD_PIDFILE "/var/run/hastd.pid"
91
92/* Default extent size. */
93#define HAST_EXTENTSIZE 2097152
94/* Default maximum number of extents that are kept dirty. */
95#define HAST_KEEPDIRTY 64
96

--- 129 unchanged lines hidden ---