1/*-
2 * Copyright (c) 2009-2010 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Pawel Jakub Dawidek under sponsorship from
6 * the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 12 unchanged lines hidden (view full) ---
21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sbin/hastd/hast.h 211886 2010-08-27 15:16:52Z pjd $
30 */
31
32#ifndef _HAST_H_
33#define _HAST_H_
34
35#include <sys/queue.h>
36#include <sys/socket.h>
37
--- 84 unchanged lines hidden (view full) ---
122 /* Replication mode (HAST_REPLICATION_*). */
123 int hr_replication;
124 /* Provider name that will appear in /dev/hast/. */
125 char hr_provname[NAME_MAX];
126 /* Synchronization extent size. */
127 int hr_extentsize;
128 /* Maximum number of extents that are kept dirty. */
129 int hr_keepdirty;
130 /* Path to a program to execute on various events. */
131 char hr_exec[PATH_MAX];
132
133 /* Path to local component. */
134 char hr_localpath[PATH_MAX];
135 /* Descriptor to access local component. */
136 int hr_localfd;
137 /* Offset into local component. */
138 off_t hr_localoff;
139 /* Size of usable space. */
--- 62 unchanged lines hidden ---
2 * Copyright (c) 2009-2010 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Pawel Jakub Dawidek under sponsorship from
6 * the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 12 unchanged lines hidden (view full) ---
21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sbin/hastd/hast.h 211886 2010-08-27 15:16:52Z pjd $
30 */
31
32#ifndef _HAST_H_
33#define _HAST_H_
34
35#include <sys/queue.h>
36#include <sys/socket.h>
37
--- 84 unchanged lines hidden (view full) ---
122 /* Replication mode (HAST_REPLICATION_*). */
123 int hr_replication;
124 /* Provider name that will appear in /dev/hast/. */
125 char hr_provname[NAME_MAX];
126 /* Synchronization extent size. */
127 int hr_extentsize;
128 /* Maximum number of extents that are kept dirty. */
129 int hr_keepdirty;
130 /* Path to a program to execute on various events. */
131 char hr_exec[PATH_MAX];
132
133 /* Path to local component. */
134 char hr_localpath[PATH_MAX];
135 /* Descriptor to access local component. */
136 int hr_localfd;
137 /* Offset into local component. */
138 off_t hr_localoff;
139 /* Size of usable space. */
--- 62 unchanged lines hidden ---