qse/ase/awk/extio.h

50 lines
1.1 KiB
C
Raw Normal View History

2006-06-28 14:19:01 +00:00
/*
2006-08-03 09:54:16 +00:00
* $Id: extio.h,v 1.9 2006-08-03 09:53:43 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,
const xp_char_t* name, xp_str_t* buf, int* errnum);
2006-06-22 14:15:02 +00:00
int xp_awk_writeextio (
2006-06-28 14:19:01 +00:00
xp_awk_run_t* run, int out_type,
2006-06-22 14:15:02 +00:00
const xp_char_t* name, xp_awk_val_t* v, int* errnum);
2006-08-03 09:54:16 +00:00
int xp_awk_writeextio_nl (
xp_awk_run_t* run, int out_type,
const xp_char_t* name, xp_awk_val_t* v, int* errnum);
2006-07-28 10:34:22 +00:00
int xp_awk_nextextio_read (
xp_awk_run_t* run, int in_type, const xp_char_t* name, int* errnum);
/* TODO:
int xp_awk_nextextio_write (
xp_awk_run_t* run, int out_type, const xp_char_t* name, int* errnum);
*/
2006-08-02 11:26:11 +00:00
int xp_awk_closeextio_read (
xp_awk_run_t* run, int in_type, const xp_char_t* name, int* errnum);
int xp_awk_closeextio_write (
xp_awk_run_t* run, int out_type, const xp_char_t* name, int* errnum);
2006-06-21 13:52:15 +00:00
int xp_awk_closeextio (
xp_awk_run_t* run, const xp_char_t* name, int* errnum);
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