From afb3d7c9c21fec039e6848901c417a5c25a85b32 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 10 Jul 1997 03:08:58 +0000 Subject: [PATCH] Move definitions of error_table and error_list from krb5.h. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2115 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/com_err/com_right.h | 17 +++++++++++++++++ lib/com_err/error.h | 17 +++++++++++++++++ lib/error/error.h | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 lib/com_err/com_right.h create mode 100644 lib/com_err/error.h create mode 100644 lib/error/error.h diff --git a/lib/com_err/com_right.h b/lib/com_err/com_right.h new file mode 100644 index 000000000..48da9e06f --- /dev/null +++ b/lib/com_err/com_right.h @@ -0,0 +1,17 @@ +/* $Id$ */ + +#ifndef __ERROR_H__ +#define __ERROR_H__ + +struct error_table { + char const * const * msgs; + long base; + int n_msgs; +}; + +struct error_list { + struct error_list *next; + const struct error_table * table; +}; + +#endif /* __ERROR_H__ */ diff --git a/lib/com_err/error.h b/lib/com_err/error.h new file mode 100644 index 000000000..48da9e06f --- /dev/null +++ b/lib/com_err/error.h @@ -0,0 +1,17 @@ +/* $Id$ */ + +#ifndef __ERROR_H__ +#define __ERROR_H__ + +struct error_table { + char const * const * msgs; + long base; + int n_msgs; +}; + +struct error_list { + struct error_list *next; + const struct error_table * table; +}; + +#endif /* __ERROR_H__ */ diff --git a/lib/error/error.h b/lib/error/error.h new file mode 100644 index 000000000..48da9e06f --- /dev/null +++ b/lib/error/error.h @@ -0,0 +1,17 @@ +/* $Id$ */ + +#ifndef __ERROR_H__ +#define __ERROR_H__ + +struct error_table { + char const * const * msgs; + long base; + int n_msgs; +}; + +struct error_list { + struct error_list *next; + const struct error_table * table; +}; + +#endif /* __ERROR_H__ */