Main Page | Class List | File List | Class Members | File Members

med.h File Reference

Go to the source code of this file.

Classes

struct  _med
struct  med_pattern
struct  mux_table_entry

Defines

#define UCF   -1
#define MAX_MUX_TABLE_SIZE   16

Typedefs

typedef _med med

Functions

int prefix (char *s1, char *s2)
void upstring (char *s)
void stripwhitespace (char *s)
int balanced (char *s)
int atom (char *s)
char * advance_past_comma (char *s)
mednew_med (void)
void check_med1 (med *m)
void check_med (med *m)
medparse_med1 (char *s)
medparse_med (char *s)
void print_med (med *m)
void print_sample (med *m)
int figure_length1 (med *m)
int figure_length (med *m)
void write_pattern1 (int *pattern, int *offset, med *m)
void write_pattern (int *pattern, int *offset, med *m)
med_patternmake_pattern (med *m)
void print_pattern (med_pattern *pat)
void add_to_mux_table (mux_table_entry *mt, int *size, char *medstr)


Define Documentation

#define MAX_MUX_TABLE_SIZE   16
 

Definition at line 17 of file med.h.

#define UCF   -1
 

Definition at line 16 of file med.h.


Typedef Documentation

typedef struct _med med
 

Referenced by check_med(), check_med1(), figure_length(), figure_length1(), make_pattern(), new_med(), parse_med(), parse_med1(), print_med(), print_sample(), write_pattern(), and write_pattern1().


Function Documentation

void add_to_mux_table mux_table_entry mt,
int *  size,
char *  medstr
 

Definition at line 572 of file med.c.

References mux_table_entry::entry, make_pattern(), parse_med(), pattern, mux_table_entry::pattern, and print_pattern().

Referenced by mux_table_config().

00573 {
00574   mt[*size].entry = parse_med(medstr);
00575   mt[*size].pattern = make_pattern(mt[*size].entry);
00576   
00577   if (debug)
00578     print_pattern(mt[*size].pattern);
00579 
00580   (*size)++;
00581 }

char* advance_past_comma char *  s  )  [static]
 

Referenced by parse_med(), and parse_med1().

int atom char *  s  )  [static]
 

int balanced char *  s  )  [static]
 

Referenced by parse_med().

void check_med med m  )  [static]
 

Referenced by parse_med().

void check_med1 med m  )  [static]
 

Referenced by check_med(), and check_med1().

int figure_length med m  )  [static]
 

Referenced by make_pattern().

int figure_length1 med m  )  [static]
 

Referenced by figure_length(), and figure_length1().

med_pattern* make_pattern med m  )  [static]
 

Referenced by add_to_mux_table().

med* new_med void   )  [static]
 

med* parse_med char *  s  )  [static]
 

Referenced by add_to_mux_table().

med* parse_med1 char *  s  )  [static]
 

Referenced by parse_med(), and parse_med1().

int prefix char *  s1,
char *  s2
 

Definition at line 17 of file med.c.

Referenced by parse_med1(), and set_config().

00021 {
00022   while ((*s1) && (*s2) && (*s1==*s2)) {
00023     s1++;
00024     s2++;
00025   }
00026   return (!*s1);
00027 }

void print_med med m  )  [static]
 

Referenced by print_med().

void print_pattern med_pattern pat  )  [static]
 

Referenced by add_to_mux_table().

void print_sample med m  )  [static]
 

Referenced by print_sample().

void stripwhitespace char *  s  )  [static]
 

Referenced by parse_med().

void upstring char *  s  )  [static]
 

Referenced by parse_med().

void write_pattern int *  pattern,
int *  offset,
med m
[static]
 

Referenced by make_pattern().

void write_pattern1 int *  pattern,
int *  offset,
med m
[static]
 

Referenced by write_pattern(), and write_pattern1().


Generated on Sun Jul 16 16:27:47 2006 by  doxygen 1.3.9.1