summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail/jailp.h
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2011-06-18 15:23:08 +0000
committerjamie <jamie@FreeBSD.org>2011-06-18 15:23:08 +0000
commitb3870a12d7efae3649e1a6c7496069c521524a0b (patch)
treead59a2ee8acfbad5eba1ef300574c820f63e8367 /usr.sbin/jail/jailp.h
parent8d425bfde2c0af68087f5784ac994ac5d316a375 (diff)
downloadFreeBSD-src-b3870a12d7efae3649e1a6c7496069c521524a0b.zip
FreeBSD-src-b3870a12d7efae3649e1a6c7496069c521524a0b.tar.gz
Move the actual create/remove (IP__OP) handling into run_command,
and the cost of an ugly single-use global variable.
Diffstat (limited to 'usr.sbin/jail/jailp.h')
-rw-r--r--usr.sbin/jail/jailp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/jail/jailp.h b/usr.sbin/jail/jailp.h
index 204cebe..0f96655 100644
--- a/usr.sbin/jail/jailp.h
+++ b/usr.sbin/jail/jailp.h
@@ -182,6 +182,7 @@ struct cfdepend {
extern void *emalloc(size_t);
extern void *erealloc(void *, size_t);
extern char *estrdup(const char *);
+extern int create_jail(struct cfjail *j);
extern void failed(struct cfjail *j);
extern void jail_note(const struct cfjail *j, const char *fmt, ...);
extern void jail_warnx(const struct cfjail *j, const char *fmt, ...);
@@ -219,5 +220,6 @@ extern struct cfjails cfjails;
extern struct cfjails ready;
extern struct cfjails depend;
extern const char *cfname;
+extern int note_remove;
extern int paralimit;
extern int verbose;
OpenPOWER on IntegriCloud