/* * $Id: extio.h,v 1.10 2006-08-22 15:10:48 bacon Exp $ */ #ifndef _XP_AWK_EXTIO_H_ #define _XP_AWK_EXTIO_H_ #ifndef _XP_AWK_AWK_H_ #error Never include this file directly. Include instead #endif #ifdef __cplusplus extern "C" #endif int xp_awk_readextio ( xp_awk_run_t* run, int in_type, const xp_char_t* name, xp_str_t* buf, int* errnum); int xp_awk_writeextio ( xp_awk_run_t* run, int out_type, const xp_char_t* name, xp_awk_val_t* v, int* errnum); 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); int xp_awk_flushextio ( xp_awk_run_t* run, int out_type, const xp_char_t* name, int* errnum); 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); */ 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); int xp_awk_closeextio ( xp_awk_run_t* run, const xp_char_t* name, int* errnum); void xp_awk_clearextio (xp_awk_run_t* run); #ifdef __cplusplus } #endif #endif