PPL Logo

libs/ck-libs/metis/GKlib/tokenizer.c File Reference

String tokenization routines. More...

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)


Detailed Description

String tokenization routines.

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.

Date:
Started 11/23/04
Author:
George
Version:
$Id: tokenizer.c 10711 2011-08-31 22:23:04Z karypis $ 

Definition in file tokenizer.c.


Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:09:12 2020 for Charm++ by  doxygen 1.5.5