FreeCalypso > hg > ueda-linux
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8:640ba9db0e9d | 9:faeb83c43f1c |
|---|---|
| 1 /* | |
| 2 * Data structures for the unet reader | |
| 3 */ | |
| 4 | |
| 5 struct unetrd_state { | |
| 6 char *filename; | |
| 7 FILE *stream; | |
| 8 int lineno; | |
| 9 }; | |
| 10 | |
| 11 struct unetrd_out { | |
| 12 int typecode; | |
| 13 char *keyword; | |
| 14 char *objname; | |
| 15 char *connect_to_net; | |
| 16 char *nc_comment; | |
| 17 }; | |
| 18 | |
| 19 #define UNETOBJ_CLOSINGBRACE 0 | |
| 20 #define UNETOBJ_NET 1 | |
| 21 #define UNETOBJ_COMPONENT 2 | |
| 22 #define UNETOBJ_STARPOINT 3 | |
| 23 #define UNETOBJ_PRIMITIVE 4 | |
| 24 #define UNETOBJ_ALTNAME 5 | |
| 25 #define UNETOBJ_PIN 6 | |
| 26 #define UNETOBJ_PINMAP 7 |
