[29341] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Add documentation for krb5_error_code

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Mar 24 11:56:23 2016

Date: Thu, 24 Mar 2016 11:56:15 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201603241556.u2OFuFLi018463@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/4d02def02a172bdfc5c5c2c9059cef559d8c1feb
commit 4d02def02a172bdfc5c5c2c9059cef559d8c1feb
Author: Sarah Day <sarahday@mit.edu>
Date:   Fri Dec 11 11:46:04 2015 -0500

    Add documentation for krb5_error_code
    
    ticket: 8387 (new)
    target_version: 1.14-next
    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 9e91a60..c045ee3 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

home help back first fref pref prev next nref lref last post