qse/ase/awk/extio.h

52 lines
1.2 KiB
C
Raw Normal View History

2006-06-28 14:19:01 +00:00
/*
2006-10-22 11:34:53 +00:00
* $Id: extio.h,v 1.14 2006-10-22 11:34:53 bacon Exp $
2006-06-28 14:19:01 +00:00
*/
2006-10-22 11:34:53 +00:00
#ifndef _SSE_AWK_EXTIO_H_
#define _SSE_AWK_EXTIO_H_
2006-06-21 11:45:26 +00:00
2006-10-22 11:34:53 +00:00
#ifndef _SSE_AWK_AWK_H_
#error Never include this file directly. Include <sse/awk/awk.h> instead
2006-06-21 11:45:26 +00:00
#endif
#ifdef __cplusplus
extern "C"
#endif
2006-10-22 11:34:53 +00:00
int sse_awk_readextio (
sse_awk_run_t* run, int in_type,
const sse_char_t* name, sse_awk_str_t* buf);
2006-06-22 14:15:02 +00:00
2006-10-22 11:34:53 +00:00
int sse_awk_writeextio_val (
sse_awk_run_t* run, int out_type,
const sse_char_t* name, sse_awk_val_t* v);
2006-06-22 14:15:02 +00:00
2006-10-22 11:34:53 +00:00
int sse_awk_writeextio_str (
sse_awk_run_t* run, int out_type,
const sse_char_t* name, sse_char_t* str, sse_size_t len);
2006-08-03 09:54:16 +00:00
2006-10-22 11:34:53 +00:00
int sse_awk_flushextio (
sse_awk_run_t* run, int out_type, const sse_char_t* name);
2006-08-22 15:11:13 +00:00
2006-10-22 11:34:53 +00:00
int sse_awk_nextextio_read (
sse_awk_run_t* run, int in_type, const sse_char_t* name);
2006-07-28 10:34:22 +00:00
/* TODO:
2006-10-22 11:34:53 +00:00
int sse_awk_nextextio_write (
sse_awk_run_t* run, int out_type, const sse_char_t* name);
2006-07-28 10:34:22 +00:00
*/
2006-10-22 11:34:53 +00:00
int sse_awk_closeextio_read (
sse_awk_run_t* run, int in_type, const sse_char_t* name);
int sse_awk_closeextio_write (
sse_awk_run_t* run, int out_type, const sse_char_t* name);
int sse_awk_closeextio (sse_awk_run_t* run, const sse_char_t* name);
2006-06-21 11:45:26 +00:00
2006-10-22 11:34:53 +00:00
void sse_awk_clearextio (sse_awk_run_t* run);
2006-06-21 15:37:51 +00:00
2006-06-21 11:45:26 +00:00
#ifdef __cplusplus
}
#endif
#endif