46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
|
/*
|
||
|
* $Id: misc.h,v 1.3 2007/04/30 05:47:33 bacon Exp $
|
||
|
*
|
||
|
* {License}
|
||
|
*/
|
||
|
|
||
|
#ifndef _ASE_AWK_MISC_H_
|
||
|
#define _ASE_AWK_MISC_H_
|
||
|
|
||
|
#ifndef _ASE_AWK_AWK_H_
|
||
|
#error Never include this file directly. Include <ase/awk/awk.h> instead
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
ase_char_t* ase_awk_strtok (
|
||
|
ase_awk_run_t* run, const ase_char_t* s,
|
||
|
const ase_char_t* delim, ase_char_t** tok, ase_size_t* tok_len);
|
||
|
|
||
|
ase_char_t* ase_awk_strxtok (
|
||
|
ase_awk_run_t* run, const ase_char_t* s, ase_size_t len,
|
||
|
const ase_char_t* delim, ase_char_t** tok, ase_size_t* tok_len);
|
||
|
|
||
|
ase_char_t* ase_awk_strntok (
|
||
|
ase_awk_run_t* run, const ase_char_t* s,
|
||
|
const ase_char_t* delim, ase_size_t delim_len,
|
||
|
ase_char_t** tok, ase_size_t* tok_len);
|
||
|
|
||
|
ase_char_t* ase_awk_strxntok (
|
||
|
ase_awk_run_t* run, const ase_char_t* s, ase_size_t len,
|
||
|
const ase_char_t* delim, ase_size_t delim_len,
|
||
|
ase_char_t** tok, ase_size_t* tok_len);
|
||
|
|
||
|
ase_char_t* ase_awk_strxntokbyrex (
|
||
|
ase_awk_run_t* run, const ase_char_t* s, ase_size_t len,
|
||
|
void* rex, ase_char_t** tok, ase_size_t* tok_len, int* errnum);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|