1/*-
2 * Copyright (c) 2010 James Gritton.
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
--- 9 unchanged lines hidden (view full) ---
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: projects/jailconf/usr.sbin/jail/jailp.h 216367 2010-12-10 23:57:55Z jamie $
27 */
28
29#include <sys/param.h>
30#include <sys/types.h>
31#include <sys/jail.h>
32#include <sys/queue.h>
33#include <sys/time.h>
34
--- 91 unchanged lines hidden (view full) ---
126STAILQ_HEAD(cfvars, cfvar);
127
128struct cfvar {
129 STAILQ_ENTRY(cfvar) tq;
130 char *name;
131 size_t pos;
132};
133
134STAILQ_HEAD(cfstrings, cfstring);
135
136struct cfstring {
137 STAILQ_ENTRY(cfstring) tq;
138 char *s;
139 size_t len;
140 struct cfvars vars;
141};
142
143TAILQ_HEAD(cfparams, cfparam);
144
145struct cfparam {
--- 79 unchanged lines hidden ---
2 * Copyright (c) 2010 James Gritton.
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
--- 9 unchanged lines hidden (view full) ---
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: projects/jailconf/usr.sbin/jail/jailp.h 216367 2010-12-10 23:57:55Z jamie $
27 */
28
29#include <sys/param.h>
30#include <sys/types.h>
31#include <sys/jail.h>
32#include <sys/queue.h>
33#include <sys/time.h>
34
--- 91 unchanged lines hidden (view full) ---
126STAILQ_HEAD(cfvars, cfvar);
127
128struct cfvar {
129 STAILQ_ENTRY(cfvar) tq;
130 char *name;
131 size_t pos;
132};
133
134STAILQ_HEAD(cfstrings, cfstring);
135
136struct cfstring {
137 STAILQ_ENTRY(cfstring) tq;
138 char *s;
139 size_t len;
140 struct cfvars vars;
141};
142
143TAILQ_HEAD(cfparams, cfparam);
144
145struct cfparam {
--- 79 unchanged lines hidden ---