26c26
< * $FreeBSD: projects/jailconf/usr.sbin/jail/jailp.h 223188 2011-06-17 16:06:13Z jamie $
---
> * $FreeBSD: projects/jailconf/usr.sbin/jail/jailp.h 223189 2011-06-17 16:18:44Z jamie $
62,66c62,64
< #define JF_IFUP 0x0100 /* IP addresses have been configured */
< #define JF_MOUNTED 0x0200 /* Filesystems have been mounted */
< #define JF_PERSIST 0x0400 /* Jail is temporarily persistent */
< #define JF_TIMEOUT 0x0800 /* A command (or process kill) timed out */
< #define JF_SLEEPQ 0x2000 /* Waiting on a command and/or timeout */
---
> #define JF_PERSIST 0x0100 /* Jail is temporarily persistent */
> #define JF_TIMEOUT 0x0200 /* A command (or process kill) timed out */
> #define JF_SLEEPQ 0x0400 /* Waiting on a command and/or timeout */
104a103
> IP__OP, /* Placeholder for requested operation */
167c166
< enum intparam comparam;
---
> const enum intparam *comparam;
190c189
< extern int run_command(struct cfjail *j, enum intparam comparam);
---
> extern int next_command(struct cfjail *j);
< * $FreeBSD: projects/jailconf/usr.sbin/jail/jailp.h 223188 2011-06-17 16:06:13Z jamie $
---
> * $FreeBSD: projects/jailconf/usr.sbin/jail/jailp.h 223189 2011-06-17 16:18:44Z jamie $
62,66c62,64
< #define JF_IFUP 0x0100 /* IP addresses have been configured */
< #define JF_MOUNTED 0x0200 /* Filesystems have been mounted */
< #define JF_PERSIST 0x0400 /* Jail is temporarily persistent */
< #define JF_TIMEOUT 0x0800 /* A command (or process kill) timed out */
< #define JF_SLEEPQ 0x2000 /* Waiting on a command and/or timeout */
---
> #define JF_PERSIST 0x0100 /* Jail is temporarily persistent */
> #define JF_TIMEOUT 0x0200 /* A command (or process kill) timed out */
> #define JF_SLEEPQ 0x0400 /* Waiting on a command and/or timeout */
104a103
> IP__OP, /* Placeholder for requested operation */
167c166
< enum intparam comparam;
---
> const enum intparam *comparam;
190c189
< extern int run_command(struct cfjail *j, enum intparam comparam);
---
> extern int next_command(struct cfjail *j);