summaryrefslogtreecommitdiffstats
path: root/src/environ.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-11-30 17:53:42 -0500
committerSimo Sorce <simo@redhat.com>2015-12-03 13:30:09 -0500
commit7f11db955b8440668fc806b4203f584bb44f58c1 (patch)
tree0abe923f6c0e00f5ef838df35ede4589fb2356c2 /src/environ.h
parent472d605d916f7ad63cd8bbffa100997eca700da4 (diff)
downloadmod_auth_gssapi-7f11db955b8440668fc806b4203f584bb44f58c1.tar.gz
mod_auth_gssapi-7f11db955b8440668fc806b4203f584bb44f58c1.tar.xz
mod_auth_gssapi-7f11db955b8440668fc806b4203f584bb44f58c1.zip
Add code to set attribute names in the environmentname_attrs
This code allows to specify which attributes in a name are interesting to the application and set them as named environemnt variables. Optionally the whole set of attributes can be exported in a json formatted structure. Signed-off-by: Simo Sorce <simo@redhat.com> Close #62 Close #63
Diffstat (limited to 'src/environ.h')
-rw-r--r--src/environ.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/environ.h b/src/environ.h
index e20ed64..3895665 100644
--- a/src/environ.h
+++ b/src/environ.h
@@ -3,6 +3,11 @@
struct mag_config;
struct mag_conn;
+void mag_get_name_attributes(request_rec *req,
+ struct mag_config *cfg,
+ gss_name_t name,
+ struct mag_conn *mc);
+
void mag_set_req_data(request_rec *req,
struct mag_config *cfg,
struct mag_conn *mc);