--- a/ext/jail.h Sat Feb 28 06:52:48 2009 +0000
+++ b/ext/jail.h Tue Mar 03 22:23:45 2009 +0000
@@ -76,3 +76,47 @@
#endif /* _BSDJAIL_H_ */
+
+/* --------------------------------------------------------------
+ * Predeclarations
+ * -------------------------------------------------------------- */
+
+// globals
+//
+VALUE rbjail_mBSD;
+VALUE rbjail_cBSDJail;
+VALUE rbjail_cIPAddr;
+VALUE rbjail_cPathname;
+
+// utility
+//
+static struct xprison * rbjail_check_jail( VALUE self );
+static struct xprison * rbjail_get_jailptr( VALUE self );
+static int rbjail_do_attach( int jid );
+
+// memory management
+//
+static VALUE rbjail_alloc( VALUE class, struct xprison *xp );
+static void rbjail_gc_free( struct xprison *ptr );
+static VALUE rbjail_s_alloc( VALUE class );
+
+// class
+//
+static VALUE rbjail_jail( int argc, VALUE *argv, VALUE self );
+static VALUE rbjail_find( int argc, VALUE *argv, VALUE self );
+static VALUE rbjail_find_by_jid( VALUE self, VALUE jid );
+static VALUE rbjail_class_attach( VALUE self, VALUE arg );
+static VALUE rbjail_compare( VALUE self, VALUE other );
+
+// instance
+//
+static VALUE rbjail_inspect( VALUE self );
+static VALUE rbjail_get_ip( VALUE self );
+static VALUE rbjail_get_jid( VALUE self );
+static VALUE rbjail_get_host( VALUE self );
+static VALUE rbjail_get_path( VALUE self );
+static VALUE rbjail_instance_attach( VALUE self );
+static VALUE rbjail_attach_block( int jid );
+
+void Init_jail( void );
+