diff options
Diffstat (limited to 'usr/src/lib/libofmt/common/ofmt.h')
-rw-r--r-- | usr/src/lib/libofmt/common/ofmt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/lib/libofmt/common/ofmt.h b/usr/src/lib/libofmt/common/ofmt.h index e69d43e20a..f2cf1ac682 100644 --- a/usr/src/lib/libofmt/common/ofmt.h +++ b/usr/src/lib/libofmt/common/ofmt.h @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright 2017 Joyent, Inc. + */ + #ifndef _OFMT_H #define _OFMT_H @@ -203,6 +207,10 @@ extern void ofmt_update_winsize(ofmt_handle_t); */ extern char *ofmt_strerror(ofmt_handle_t, ofmt_status_t, char *, uint_t); +extern void ofmt_check(ofmt_status_t oferr, boolean_t parsable, + ofmt_handle_t ofmt, + void (*die)(const char *, ...), void (*warn)(const char *, ...)); + #ifdef __cplusplus } #endif |