diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-10-21 00:49:05 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-12-19 12:45:11 -0500 |
commit | 26245eed626245255c980efdfe69ca1f65186338 (patch) | |
tree | 101ed996617e3a8e890759b3a8edaeb24ad5afd6 /src/include/k5-err.h | |
parent | dbbc38c38150d76ebd6ff0b9d971ff48de3fbe38 (diff) | |
download | krb5-26245eed626245255c980efdfe69ca1f65186338.zip krb5-26245eed626245255c980efdfe69ca1f65186338.tar.gz krb5-26245eed626245255c980efdfe69ca1f65186338.tar.bz2 |
Add functions to save and restore error state
Diffstat (limited to 'src/include/k5-err.h')
-rw-r--r-- | src/include/k5-err.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/k5-err.h b/src/include/k5-err.h index d6d4bbf..083dee4 100644 --- a/src/include/k5-err.h +++ b/src/include/k5-err.h @@ -46,6 +46,7 @@ struct errinfo { long code; char *msg; }; +#define EMPTY_ERRINFO { 0, NULL } void k5_set_error(struct errinfo *ep, long code, const char *fmt, ...) #if !defined(__cplusplus) && (__GNUC__ > 2) |