* It compiles!
* Removed additional leftover link parser stuff.
* Removed unused memory allocate/free stuff until I discuss with my
cohort. It may be back... it may be left over from linkparser too. ;)
* list() works, but cores. Not sure why yet. Really, list() should be
renamed to something sensible, and return instantiated BSD::Jail
objects to attach() to or get additional info on.
* Ruby C bindings are way, way fun. Reminds me how little C I can
remember with one project a year :)
/*-
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $FreeBSD: src/sys/sys/jail.h,v 1.26 2005/06/09 18:49:19 pjd Exp $
*
*/
struct jail {
u_int32_t version;
char *path;
char *hostname;
u_int32_t ip_number;
};
int jail(struct jail *);
int jail_attach(int);