qse/ase/awk/extio.h

52 lines
1.1 KiB
C
Raw Normal View History

2006-06-28 14:19:01 +00:00
/*
2006-09-29 11:18:13 +00:00
* $Id: extio.h,v 1.13 2006-09-29 11:18:13 bacon Exp $
2006-06-28 14:19:01 +00:00
*/
2006-06-21 11:45:26 +00:00
#ifndef _XP_AWK_EXTIO_H_
#define _XP_AWK_EXTIO_H_
#ifndef _XP_AWK_AWK_H_
#error Never include this file directly. Include <xp/awk/awk.h> instead
#endif
#ifdef __cplusplus
extern "C"
#endif
2006-06-21 13:52:15 +00:00
int xp_awk_readextio (
2006-06-28 14:19:01 +00:00
xp_awk_run_t* run, int in_type,
2006-08-31 16:00:20 +00:00
const xp_char_t* name, xp_awk_str_t* buf);
2006-06-22 14:15:02 +00:00
2006-09-29 11:18:13 +00:00
int xp_awk_writeextio_val (
2006-06-28 14:19:01 +00:00
xp_awk_run_t* run, int out_type,
2006-08-27 15:29:21 +00:00
const xp_char_t* name, xp_awk_val_t* v);
2006-06-22 14:15:02 +00:00
2006-09-29 11:18:13 +00:00
int xp_awk_writeextio_str (
2006-08-03 09:54:16 +00:00
xp_awk_run_t* run, int out_type,
2006-09-29 11:18:13 +00:00
const xp_char_t* name, xp_char_t* str, xp_size_t len);
2006-08-03 09:54:16 +00:00
2006-08-22 15:11:13 +00:00
int xp_awk_flushextio (
2006-08-27 15:29:21 +00:00
xp_awk_run_t* run, int out_type, const xp_char_t* name);
2006-08-22 15:11:13 +00:00
2006-07-28 10:34:22 +00:00
int xp_awk_nextextio_read (
2006-08-27 15:29:21 +00:00
xp_awk_run_t* run, int in_type, const xp_char_t* name);
2006-07-28 10:34:22 +00:00
/* TODO:
int xp_awk_nextextio_write (
2006-08-27 15:29:21 +00:00
xp_awk_run_t* run, int out_type, const xp_char_t* name);
2006-07-28 10:34:22 +00:00
*/
2006-08-02 11:26:11 +00:00
int xp_awk_closeextio_read (
2006-08-27 15:29:21 +00:00
xp_awk_run_t* run, int in_type, const xp_char_t* name);
2006-08-02 11:26:11 +00:00
int xp_awk_closeextio_write (
2006-08-27 15:29:21 +00:00
xp_awk_run_t* run, int out_type, const xp_char_t* name);
int xp_awk_closeextio (xp_awk_run_t* run, const xp_char_t* name);
2006-06-21 11:45:26 +00:00
2006-06-21 15:37:51 +00:00
void xp_awk_clearextio (xp_awk_run_t* run);
2006-06-21 11:45:26 +00:00
#ifdef __cplusplus
}
#endif
#endif