mawk/split.h
2014-09-14 22:36:13 -04:00

29 lines
749 B
C

/********************************************
split.h
copyright 2014, Thomas E. Dickey
copyright 2014, Michael D. Brennan
This is a source file for mawk, an implementation of
the AWK programming language.
Mawk is distributed without warranty under the terms of
the GNU General Public License, version 2, 1991.
********************************************/
/*
* $MawkId: split.h,v 1.2 2014/09/14 21:34:37 tom Exp $
*/
/* split.h */
#ifndef SCAN_H
#define SCAN_H
extern size_t null_split(const char *s, size_t slen);
extern size_t re_split(char *s, size_t slen, PTR re);
extern size_t space_split(const char *s, size_t slen);
extern void transfer_to_array(CELL cp[], size_t cnt);
extern void transfer_to_fields(size_t);
#endif /* SCAN_H */