diff options
Diffstat (limited to '')
-rw-r--r-- | get_error.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/get_error.c b/get_error.c new file mode 100644 index 0000000..4ee3dbc --- /dev/null +++ b/get_error.c @@ -0,0 +1,11 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +struct liberror_error * +liberror_get_error(void) +{ + if (liberror_have_error_) + return &liberror_error_; + return NULL; +} |