INSEE 05.04.2011
Interconnection Nertworks Simulation and Evaluation Environment
C:/cygwin/home/Javier/insee/src/literal.h
Go to the documentation of this file.
00001 
00026 #include "misc.h"
00027 
00028 #ifndef _literal
00029 #define _literal
00030 
00038 typedef struct literal_t {
00039         long value;
00040         char * name;
00041 } literal_t;
00042 
00043 #define LITERAL_END { 0, NULL } ///< This must be the last literal in an array.
00044 
00045 // Some declarations
00046 bool_t literal_value(literal_t * literal, char *  name, long * value);
00047 bool_t literal_name (literal_t * literal, char ** name, long   value);
00048 
00049 #endif /* _literal */