summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-09-08 21:21:51 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-09-08 21:21:51 +0000
commitfc0dacfba57436f48776458190990d49f489ca23 (patch)
treee5e9fd422ddd4b19ab22a07e108e294b9465d7f1 /src/include
parent48260aff2d5cec809c42d6ada43f906afc1d453d (diff)
downloadkrb5-fc0dacfba57436f48776458190990d49f489ca23.tar.gz
krb5-fc0dacfba57436f48776458190990d49f489ca23.tar.xz
krb5-fc0dacfba57436f48776458190990d49f489ca23.zip
Use krb5 threading functions.
Remove use of ECODE since errors are no longer objects. Fixed bug where bundle error strings were not returned when homedir access was off. Switched to using UTF8 unconditionally. ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20709 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-thread.h1
-rw-r--r--src/include/kim/kim_library.h40
2 files changed, 41 insertions, 0 deletions
diff --git a/src/include/k5-thread.h b/src/include/k5-thread.h
index ad1ad8b73a..c2d4f4bf28 100644
--- a/src/include/k5-thread.h
+++ b/src/include/k5-thread.h
@@ -414,6 +414,7 @@ typedef enum {
K5_KEY_CCAPI_REQUEST_PORT,
K5_KEY_CCAPI_REPLY_STREAM,
K5_KEY_CCAPI_SERVER_DIED,
+ K5_KEY_COM_ERR_REENTER,
#endif
K5_KEY_MAX
} k5_key_t;
diff --git a/src/include/kim/kim_library.h b/src/include/kim/kim_library.h
new file mode 100644
index 0000000000..104c1b3918
--- /dev/null
+++ b/src/include/kim/kim_library.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2005-2008 Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
+
+#ifndef KIM_LIBRARY_H
+#define KIM_LIBRARY_H
+
+#include <kim/kim.h>
+
+
+kim_error kim_library_set_allow_home_directory_access (kim_boolean in_allow_access);
+
+kim_boolean kim_library_allow_home_directory_access (void);
+
+kim_error kim_library_set_allow_automatic_prompting (kim_boolean in_allow_automatic_prompting);
+
+kim_boolean kim_library_allow_automatic_prompting (void);
+
+#endif /* KIM_LIBRARY_H */