FACT++  1.0
TokenString::TokenString ( char *  str,
char *  seps 
)

Definition at line 14 of file tokenstring.cxx.

References curr_token_ptr, store_str(), token_buff, token_ptr, and token_seps.

15 {
16  token_buff = new char[((int)strlen(str)+1)*2];
18  token_seps = new char[((int)strlen(seps)+1)];
19  strcpy(token_seps,seps);
20  store_str(str);
21  token_ptr = token_buff;
23 }
char * curr_token_ptr
Definition: tokenstring.hxx:25
char str[80]
Definition: test_client.c:7
char * token_ptr
Definition: tokenstring.hxx:24
void store_str(char *str)
Definition: tokenstring.cxx:39
char * token_seps
Definition: tokenstring.hxx:27
char * token_buff
Definition: tokenstring.hxx:23

+ Here is the call graph for this function: