diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-13 15:15:09 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-13 15:15:09 -0800 |
commit | d8ea4f87e3e5a44985f961a2def83612b5c90c9a (patch) | |
tree | 966c0f5d7c1d8c98d83c09c9fb5dcf14afab92ea /src/cli_cstore.h | |
parent | ab2f5d520eb46a6f407c396413523256803814fe (diff) | |
download | vyatta-cfg-d8ea4f87e3e5a44985f961a2def83612b5c90c9a.tar.gz vyatta-cfg-d8ea4f87e3e5a44985f961a2def83612b5c90c9a.zip |
make the library croak when internal error occurs in perl context.
* extend output/assert mechanism and simplify code.
* when handling internal error, automatically detect perl context and croak if the library is used from perl.
Diffstat (limited to 'src/cli_cstore.h')
-rw-r--r-- | src/cli_cstore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_cstore.h b/src/cli_cstore.h index c03bddf..54da657 100644 --- a/src/cli_cstore.h +++ b/src/cli_cstore.h @@ -116,6 +116,7 @@ typedef struct { /* extern variables */ extern void *var_ref_handle; extern FILE *out_stream; +extern FILE *err_stream; /* note that some functions may be used outside the actual CLI operations, * so output may not have been initialized. nop in such cases. |