[29353] in CVS-changelog-for-Kerberos-V5
krb5 commit [krb5-1.14]: Add documentation for krb5_error_code
daemon@ATHENA.MIT.EDU (Tom Yu)
Tue Apr 5 23:03:03 2016
Date: Tue, 5 Apr 2016 23:02:58 -0400
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201604060302.u3632wX3031483@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/2d5910c1ae3d77344f64dd9fc0340e2eb84ff717
commit 2d5910c1ae3d77344f64dd9fc0340e2eb84ff717
Author: Sarah Day <sarahday@mit.edu>
Date: Fri Dec 11 11:46:04 2015 -0500
Add documentation for krb5_error_code
(cherry picked from commit 4d02def02a172bdfc5c5c2c9059cef559d8c1feb)
ticket: 8387
version_fixed: 1.14.2
status: resolved
tags: -pullup
src/include/krb5/krb5.hin | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 851cea3..e2c08ae 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -182,9 +182,15 @@ typedef krb5_int32 krb5_cryptotype;
typedef krb5_int32 krb5_preauthtype; /* This may change, later on */
typedef krb5_int32 krb5_flags;
typedef krb5_int32 krb5_timestamp;
-typedef krb5_int32 krb5_error_code;
typedef krb5_int32 krb5_deltat;
+/**
+ * Used to convey an operation status. The value 0 indicates success; any
+ * other values are com_err codes. Use krb5_get_error_message() to obtain a
+ * string describing the error.
+ */
+typedef krb5_int32 krb5_error_code;
+
typedef krb5_error_code krb5_magic;
typedef struct _krb5_data {
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5