renamed a parameter name of ase_awk_getrundata()

This commit is contained in:
2008-12-12 07:43:05 +00:00
parent cd1dd05766
commit 25a776e842
6 changed files with 176 additions and 135 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.h 469 2008-12-11 10:05:28Z baconevi $
* $Id: awk.h 470 2008-12-11 13:43:05Z baconevi $
*
* {License}
*/
@ -975,7 +975,7 @@ ase_mmgr_t* ase_awk_getrunmmgr (
* SYNOPSIS
*/
void* ase_awk_getrundata (
ase_awk_run_t* awk
ase_awk_run_t* run
);
/******/

View File

@ -88,6 +88,21 @@ ase_fio_hnd_t ase_fio_gethandle (
ase_fio_t* fio
);
/****f* ase.cmn.fio/ase_fio_sethandle
* SYNOPSIS
* ase_fio_sethandle - set the file handle
* WARNING
* Avoid using this function if you don't know what you are doing.
* You may have to retrieve the previous handle using ase_fio_gethandle()
* to take relevant actions before resetting it with ase_fio_sethandle().
* SYNOPSIS
*/
void ase_fio_sethandle (
ase_fio_t* fio,
ase_fio_hnd_t handle
);
/******/
ase_fio_off_t ase_fio_seek (
ase_fio_t* fio,
ase_fio_off_t offset,

View File

@ -68,19 +68,55 @@ void ase_sio_fini (
ase_sio_t* sio
);
ase_fio_hnd_t ase_sio_gethandle (ase_sio_t* sio);
ase_fio_hnd_t ase_sio_gethandle (
ase_sio_t* sio
);
ase_ssize_t ase_sio_flush (ase_sio_t* sio);
void ase_sio_purge (ase_sio_t* sio);
ase_ssize_t ase_sio_flush (
ase_sio_t* sio
);
ase_ssize_t ase_sio_getc (ase_sio_t* sio, ase_char_t* c);
ase_ssize_t ase_sio_gets (ase_sio_t* sio, ase_char_t* buf, ase_size_t size);
ase_ssize_t ase_sio_getsx (ase_sio_t* sio, ase_char_t* buf, ase_size_t size);
ase_ssize_t ase_sio_getstr (ase_sio_t* sio, ase_str_t* buf);
void ase_sio_purge (
ase_sio_t* sio
);
ase_ssize_t ase_sio_putc (ase_sio_t* sio, ase_char_t c);
ase_ssize_t ase_sio_puts (ase_sio_t* sio, const ase_char_t* str);
ase_ssize_t ase_sio_putsx (ase_sio_t* sio, const ase_char_t* str, ase_size_t size);
ase_ssize_t ase_sio_getc (
ase_sio_t* sio,
ase_char_t* c
);
ase_ssize_t ase_sio_gets (
ase_sio_t* sio,
ase_char_t* buf,
ase_size_t size
);
ase_ssize_t ase_sio_getsx (
ase_sio_t* sio,
ase_char_t* buf,
ase_size_t size
);
ase_ssize_t ase_sio_getstr (
ase_sio_t* sio,
ase_str_t* buf
);
ase_ssize_t ase_sio_putc (
ase_sio_t* sio,
ase_char_t c
);
ase_ssize_t ase_sio_puts (
ase_sio_t* sio,
const ase_char_t* str
);
ase_ssize_t ase_sio_putsx (
ase_sio_t* sio,
const ase_char_t* str,
ase_size_t size
);
#if 0
ase_ssize_t ase_sio_putsn (ase_sio_t* sio, ...);