Main Page | Data Structures | File List | Data Fields | Globals

strsubvocab.h File Reference

#include "types.h"

Include dependency graph for strsubvocab.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  str_sub_vocab

Typedefs

typedef str_sub_vocab str_sub_vocab_t

Functions

void init_str_sub_vocab (str_sub_vocab_t *str_sub_vocab_tbl, int max_indx)
void add_str_sub_entry (char *ename, char *subst_str, str_sub_vocab_t **str_sub_vocab)
char * lookup_str_sub (char *tname, str_sub_vocab_t *str_sub_vocab)
bool create_str_sub_alias (char *new_name, char *old_name, str_sub_vocab_t **str_sub_vocab)
bool exists_in_str_sub (char *tname, str_sub_vocab_t *str_sub_vocab)
void reset_str_sub_vocab (str_sub_vocab_t **str_sub_vocab, str_sub_vocab_t *reset_position)


Typedef Documentation

typedef struct str_sub_vocab str_sub_vocab_t
 


Function Documentation

void add_str_sub_entry char *  ename,
char *  subst_str,
str_sub_vocab_t **  str_sub_vocab
 

Definition at line 139 of file strsubvocab.c.

References str_sub_vocab::alias, str_sub_vocab::name, str_sub_vocab::next, and safe_malloc().

Referenced by add_user_symbol(), and create_str_sub_alias().

Here is the call graph for this function:

bool create_str_sub_alias char *  new_name,
char *  old_name,
str_sub_vocab_t **  str_sub_vocab
 

Definition at line 271 of file strsubvocab.c.

References add_str_sub_entry(), and lookup_str_sub().

Here is the call graph for this function:

bool exists_in_str_sub char *  tname,
str_sub_vocab_t str_sub_vocab
 

Definition at line 210 of file strsubvocab.c.

References str_sub_vocab::name, and str_sub_vocab::next.

Referenced by exists_as_user_symbol().

void init_str_sub_vocab str_sub_vocab_t str_sub_vocab_tbl,
int  max_indx
 

Definition at line 92 of file strsubvocab.c.

References str_sub_vocab::next.

char* lookup_str_sub char *  tname,
str_sub_vocab_t str_sub_vocab
 

Definition at line 172 of file strsubvocab.c.

References str_sub_vocab::alias, str_sub_vocab::name, and str_sub_vocab::next.

Referenced by create_str_sub_alias(), and lookup_user_symbol().

void reset_str_sub_vocab str_sub_vocab_t **  str_sub_vocab,
str_sub_vocab_t reset_position
 

Definition at line 317 of file strsubvocab.c.

References str_sub_vocab::next.


Generated on Fri Aug 18 14:05:11 2006 for Toke1.0 by  doxygen 1.4.4