EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/rexpr.h

Go to the documentation of this file.
00001 #define Atom    256             /* token Atom (an impossible char value) */
00002 #define Epsilon 257             /* epsilon arc (an impossible char value) */
00003 
00004 /* track field must be same for all node types */
00005 typedef struct _a {
00006                                         struct _a *track;       /* track mem allocation */
00007                                         int label;
00008                                         struct _a *next;
00009                                         struct _n *target;
00010                                 } Arc, *ArcPtr;
00011 
00012 typedef struct _n {
00013                                         struct _n *track;
00014                                         ArcPtr arcs, arctail;
00015                                 } Node, *NodePtr;
00016 
00017 typedef struct  {
00018                                         NodePtr left,
00019                                                         right;
00020                                 } Graph, *GraphPtr;
00021 
00022 #ifdef __USE_PROTOS
00023 int rexpr( char *expr, char *s );
00024 int match( NodePtr automaton, char *s );
00025 #else
00026 int rexpr();
00027 int match();
00028 #endif
00029 
00030 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines