summaryrefslogtreecommitdiffstats
path: root/gss-misc.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-11-20 16:08:25 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-11-20 16:08:25 +0000
commitf3b3f8cfaf6d43188d333119cbdc049231863cdb (patch)
treeb2dd27bc816307541b8744244bfb396f10ef4d5d /gss-misc.h
parent4ddd2037c8b4f963fa6c32e9e569c449fd0c4bb7 (diff)
downloadrsyslog-f3b3f8cfaf6d43188d333119cbdc049231863cdb.tar.gz
rsyslog-f3b3f8cfaf6d43188d333119cbdc049231863cdb.tar.xz
rsyslog-f3b3f8cfaf6d43188d333119cbdc049231863cdb.zip
applied gssapi patch from varmojfekoj - gss-api is now supported
Diffstat (limited to 'gss-misc.h')
-rw-r--r--gss-misc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gss-misc.h b/gss-misc.h
new file mode 100644
index 00000000..9c879d1c
--- /dev/null
+++ b/gss-misc.h
@@ -0,0 +1,11 @@
+#ifndef GSS_MISC_H_INCLUDED
+#define GSS_MISC_H_INCLUDED 1
+
+#include <gssapi.h>
+
+int recv_token(int s, gss_buffer_t tok);
+int send_token(int s, gss_buffer_t tok);
+void display_status(char *m, OM_uint32 maj_stat, OM_uint32 min_stat);
+void display_ctx_flags(OM_uint32 flags);
+
+#endif /* #ifndef GSS_MISC_H_INCLUDED */