summaryrefslogtreecommitdiffstats
path: root/src/mod_auth_gssapi.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-11-27 17:28:23 -0500
committerSimo Sorce <simo@redhat.com>2015-12-02 18:34:39 -0500
commit472d605d916f7ad63cd8bbffa100997eca700da4 (patch)
treeea2a518b004b64beb8ea3a3cc971af1ae91d02c4 /src/mod_auth_gssapi.h
parent855341bf3b39fe5e5b9abf299563e0d09c4861a3 (diff)
downloadmod_auth_gssapi-472d605d916f7ad63cd8bbffa100997eca700da4.tar.gz
mod_auth_gssapi-472d605d916f7ad63cd8bbffa100997eca700da4.tar.xz
mod_auth_gssapi-472d605d916f7ad63cd8bbffa100997eca700da4.zip
Move setting request data to a separate file
In preparation for the next commit. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r--src/mod_auth_gssapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h
index d73036b..5662add 100644
--- a/src/mod_auth_gssapi.h
+++ b/src/mod_auth_gssapi.h
@@ -36,6 +36,7 @@
#include "crypto.h"
#include "sessions.h"
+#include "environ.h"
#define MIN_SESS_EXP_TIME 300 /* 5 minutes validity minimum */
@@ -90,8 +91,12 @@ struct mag_conn {
int auth_type;
bool delegated;
struct databuf basic_hash;
+ bool is_preserved;
};
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
struct mag_conn *mag_new_conn_ctx(apr_pool_t *pool);
+const char *mag_str_auth_type(int auth_type);
+char *mag_gss_name_to_ccache_name(request_rec *req,
+ char *dir, const char *gss_name);