Added bootstrap and uninstall target
[ocaml-bitstring.git] / cil-tools / ext3.c
index 1e1a82d..c2267e4 100644 (file)
@@ -1,9 +1,10 @@
 /* This is an example import file, showing how to import the ext3
  * superblock automatically from Linux header files.
  *
- * Use: bitmatch-import-c ext3.c > ext3_stubs.ml
+ * Use: bitstring-import-c ext3.c > ext3.bmpp
  *
  * Tip: Add the --debug flag to that command line to see what's going on.
+ * Also use bitstring-objinfo to examine the bmpp file.
  */
 
 /* These are required by Linux in order to get the little/big-endian
  * interested in.
  */
 #include <linux/magic.h>
-//#include <linux/ext3_fs.h>
 #include <linux/ext2_fs.h>
 
 /* This tells the importer program what structures and constants to import. */
-//typedef struct ext3_super_block BITMATCH_IMPORT(ext3_super_block);
-typedef struct ext2_super_block BITMATCH_IMPORT(ext2_super_block);
-BITMATCH_CONSTANT_INT32 (ext3_super_magic, EXT3_SUPER_MAGIC);
+//typedef struct ext3_super_block BITSTRING_IMPORT(ext3_super_block);
+typedef struct ext2_super_block BITSTRING_IMPORT(ext3_super_block);
+BITSTRING_CONSTANT_INT32 (ext3_super_magic, EXT3_SUPER_MAGIC);