Add new krb5 exported functions to loadfuncs
authorSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:23 +0000 (20:54 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:23 +0000 (20:54 +0000)
Patch by Jeffrey Altman:

   krb5_get_error_message
   krb5_free_error_message
   krb5_clear_error_message

From: Alexey Melnikov <alexey.melnikov@isode.com>

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25244 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/leashdll/include/loadfuncs-krb5.h

index 1fab6753910028e886854db04db475b57e072ead..58ff443bff546f2bcf51598e22ef6ec2d45df153 100644 (file)
@@ -1754,4 +1754,25 @@ TYPEDEF_FUNC(
       struct addrlist *addrlist,
       int get_masters, int socktype, int family)
     );
+
+TYPEDEF_FUNC(
+    const char *,
+    KRB5_CALLCONV,
+    krb5_get_error_message,
+    (krb5_context, krb5_error_code)
+    );
+
+TYPEDEF_FUNC(
+    void,
+    KRB5_CALLCONV,
+    krb5_free_error_message,
+    (krb5_context, const char *)
+    );
+
+TYPEDEF_FUNC(
+    void,
+    KRB5_CALLCONV,
+    krb5_clear_error_message,
+    (krb5_context)
+    );
 #endif /* __LOADFUNCS_KRB5_H__ */