aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-04-12 11:30:38 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-04-12 11:30:38 +0300
commit5d078dbd9007515128ce99f3c6c68b9d7ff1b012 (patch)
tree90e6a59eab569257f34a789e44c587cd576d7d45 /awk.h
parent967e4b9ec9e1b7cc7ca9968f6fe822f3b1155f53 (diff)
parentc9c9fe5bb2d5c6b07a67f4cf6861aeb6d9bbfcfd (diff)
downloadegawk-5d078dbd9007515128ce99f3c6c68b9d7ff1b012.tar.gz
egawk-5d078dbd9007515128ce99f3c6c68b9d7ff1b012.tar.bz2
egawk-5d078dbd9007515128ce99f3c6c68b9d7ff1b012.zip
Merge branch 'master' into feature/api-mpfr
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/awk.h b/awk.h
index dd50b843..69f6ae65 100644
--- a/awk.h
+++ b/awk.h
@@ -1512,7 +1512,7 @@ extern NODE *get_actual_argument(NODE *, int, bool);
#endif
/* field.c */
extern void init_fields(void);
-extern void set_record(const char *buf, int cnt);
+extern void set_record(const char *buf, int cnt, const awk_fieldwidth_info_t *);
extern void reset_record(void);
extern void rebuild_record(void);
extern void set_NF(void);
@@ -1529,9 +1529,11 @@ extern void update_PROCINFO_num(const char *subscript, AWKNUM val);
typedef enum {
Using_FS,
Using_FIELDWIDTHS,
- Using_FPAT
+ Using_FPAT,
+ Using_API
} field_sep_type;
extern field_sep_type current_field_sep(void);
+extern const char *current_field_sep_str(void);
/* gawkapi.c: */
extern gawk_api_t api_impl;