FreeCalypso > hg > ueda-linux
diff ueda/libunet/unetrd.h @ 9:faeb83c43f1c
libunet started
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 01 Aug 2015 20:50:59 +0000 |
parents | |
children | 33e4c4cdf493 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ueda/libunet/unetrd.h Sat Aug 01 20:50:59 2015 +0000 @@ -0,0 +1,26 @@ +/* + * Data structures for the unet reader + */ + +struct unetrd_state { + char *filename; + FILE *stream; + int lineno; +}; + +struct unetrd_out { + int typecode; + char *keyword; + char *objname; + char *connect_to_net; + char *nc_comment; +}; + +#define UNETOBJ_CLOSINGBRACE 0 +#define UNETOBJ_NET 1 +#define UNETOBJ_COMPONENT 2 +#define UNETOBJ_STARPOINT 3 +#define UNETOBJ_PRIMITIVE 4 +#define UNETOBJ_ALTNAME 5 +#define UNETOBJ_PIN 6 +#define UNETOBJ_PINMAP 7