diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-14 18:56:06 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-14 18:56:06 +0200 |
commit | a892293556960b0813098ede7da7a34774da7d3c (patch) | |
tree | 85f4bd5e1a77a1f25f6a5285430a617a5e1bd4f9 /extension/readdir.c | |
parent | 151fc88916ca2d6fb1fc3b945dbd8912ff162c94 (diff) | |
download | egawk-a892293556960b0813098ede7da7a34774da7d3c.tar.gz egawk-a892293556960b0813098ede7da7a34774da7d3c.tar.bz2 egawk-a892293556960b0813098ede7da7a34774da7d3c.zip |
API cleanups and doc additions.
Diffstat (limited to 'extension/readdir.c')
-rw-r--r-- | extension/readdir.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extension/readdir.c b/extension/readdir.c index 5f937fb9..7d126d03 100644 --- a/extension/readdir.c +++ b/extension/readdir.c @@ -146,7 +146,7 @@ typedef struct open_directory { /* dir_get_record --- get one record at a time out of a directory */ static int -dir_get_record(char **out, struct iobuf_public *iobuf, int *errcode, +dir_get_record(char **out, awk_input_buf_t *iobuf, int *errcode, char **rt_start, size_t *rt_len) { DIR *dp; @@ -200,7 +200,7 @@ dir_get_record(char **out, struct iobuf_public *iobuf, int *errcode, /* dir_close --- close up when done */ static void -dir_close(struct iobuf_public *iobuf) +dir_close(awk_input_buf_t *iobuf) { open_directory_t *the_dir; @@ -218,8 +218,8 @@ dir_close(struct iobuf_public *iobuf) /* dir_can_take_file --- return true if we want the file */ -static int -dir_can_take_file(const IOBUF_PUBLIC *iobuf) +static awk_bool_t +dir_can_take_file(const awk_input_buf_t *iobuf) { if (iobuf == NULL) return 0; @@ -233,8 +233,8 @@ dir_can_take_file(const IOBUF_PUBLIC *iobuf) * and no state has changed since then. */ -static int -dir_take_control_of(IOBUF_PUBLIC *iobuf) +static awk_bool_t +dir_take_control_of(awk_input_buf_t *iobuf) { DIR *dp; open_directory_t *the_dir; |