Go to the source code of this file.
Functions | |
void | gk_strtokenize (char *str, char *delim, gk_Tokens_t *tokens) |
void | gk_freetokenslist (gk_Tokens_t *tokens) |
This file contains various routines for splitting an input string into tokens and returning them in form of a list. The goal is to mimic perl's split function.
$Id: tokenizer.c 10711 2011-08-31 22:23:04Z karypis $
Definition in file tokenizer.c.
void gk_strtokenize | ( | char * | str, | |
char * | delim, | |||
gk_Tokens_t * | tokens | |||
) |
Definition at line 22 of file tokenizer.c.
References gk_malloc(), gk_strdup(), gk_Tokens_t::list, gk_Tokens_t::ntoks, and gk_Tokens_t::strbuf.
Referenced by gk_seq_ReadGKMODPSSM().
void gk_freetokenslist | ( | gk_Tokens_t * | tokens | ) |
Definition at line 73 of file tokenizer.c.
References gk_free(), gk_Tokens_t::list, and gk_Tokens_t::strbuf.
Referenced by gk_seq_ReadGKMODPSSM().