ir compiling!
[henge/apc.git] / src / ir.h
index 7c1f4b3..590710e 100644 (file)
--- a/src/ir.h
+++ b/src/ir.h
@@ -5,7 +5,7 @@
 \r
 \details The IR serves as a storage structure that is populated during the\r
          parsing of the input directory structure. After parsing is complete,\r
-         the IR will be condensed (removed of excess allocated space) and then\r
+         the IR will be condensed (removed of excess allocated space) and then \r
          output as the input for the engine. In this file we describe the\r
          semantic actions that are called at each step, and the memory buffers\r
          that they populate.  See parser.y for the description on how the input\r
@@ -27,6 +27,9 @@ typedef struct ir_set_t*     ir_set;
 typedef struct ir_class_t*   ir_class;\r
 typedef struct ir_setld_t*   ir_setld;\r
 typedef struct ir_classld_t* ir_classld;\r
+\r
+enum dtype { FSDAT, MSDAT, ADAT, LDAT, FBDAT };\r
+enum ltype { OLINK, MLINK, VLINK, ALINK };\r
 /* Classes and Sets\r
    Classes are rooted at a special root class, representing the current working\r
    directory at scan-time, named ".".  The root class can always be identified\r
@@ -68,6 +71,7 @@ void       ir_data_assign_path(ir_setdata,uint8_t*);
 ir_setdata ir_framesheet(uint8_t*, apc_facing, int,int);\r
 ir_setdata ir_mapsheet(uint8_t*, apc_facing, int,int);\r
 ir_setdata ir_audio(uint8_t*);\r
+ir_setdata ir_link(enum ltype, ir_setld, uint8_t*);\r
 ir_setdata ir_link_odat(ir_setld);\r
 ir_setdata ir_link_vdat(ir_setld,uint8_t*);\r
 ir_setdata ir_link_mdat(ir_setld,uint8_t*);\r