00001 #ifdef __cplusplus 00002 extern "C" { 00003 #endif 00004 00005 #ifndef REPLACER_HEADER 00006 00007 #define RELACER_MEM_ERROR 1 00008 00009 /* -------------------------------------------- */ 00010 /* Internal API */ 00011 /* -------------------------------------------- */ 00012 00013 void free_tokens(); 00014 int yylex_memory (char *src); 00015 00016 /* -------------------------------------------- */ 00017 /* Public API */ 00018 /* -------------------------------------------- */ 00019 00020 char* replace_tags (char *text, char **tags, char **values, int nb_tags); 00021 00022 #define REPLACER_HEADER 00023 #endif 00024 00025 #ifdef __cplusplus 00026 } 00027 #endif 00028