709fe2b919636225cb13fb2d95cf177702346bd1 angie Wed Apr 25 15:50:25 2012 -0700 Feature #6152 (Variant Annotation Tool): Added region type and positioninputs to UI -- and it actually executes some queries now! diff --git src/inc/asParse.h src/inc/asParse.h index 901632c..68b5c8e 100644 --- src/inc/asParse.h +++ src/inc/asParse.h @@ -73,30 +73,34 @@ struct asObject /* Info on whole asObject. */ { struct asObject *next; char *name; /* Name of object. */ char *comment; /* Comment describing object. */ struct asColumn *columnList; /* List of columns. */ bool isTable; /* True if a table. */ bool isSimple; /* True if a simple object. */ }; struct dyString *asColumnToSqlType(struct asColumn *col); /* Convert column to a sql type spec in returned dyString */ +char *asTypeNameFromSqlType(char *sqlType); +/* Return the autoSql type name (not enum) for the given SQL type, or NULL. + * Don't attempt to free result. */ + struct asObject *asParseFile(char *fileName); /* Parse autoSql .as file. */ struct asObject *asParseText(char *text); /* Parse autoSql from text (as opposed to file). */ void asObjectFree(struct asObject **as); /* free a single asObject */ void asObjectFreeList(struct asObject **as); /* free a list of asObject */ void asColumnFree(struct asColumn **as); /* free a single asColumn */