diff options
Diffstat (limited to 'proxy/src/gp_proxy.h')
| -rw-r--r-- | proxy/src/gp_proxy.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/proxy/src/gp_proxy.h b/proxy/src/gp_proxy.h index 0cf24bb..bd3d181 100644 --- a/proxy/src/gp_proxy.h +++ b/proxy/src/gp_proxy.h @@ -34,11 +34,45 @@ #define _(STRING) gettext(STRING) +struct gp_cred_krb5 { + char *keytab; + char *ccache; +}; + +struct gp_credcfg { + char *name; + + enum { + GP_CRED_NONE = 0, + GP_CRED_KRB5, + } mech; + + union { + struct gp_cred_krb5 krb5; + } cred; +}; + +struct gp_service { + char *name; + + uid_t euid; + gid_t egid; + + struct gp_credcfg **creds; + int num_creds; +}; + struct gp_config { char *config_file; /* gssproxy configuration file */ bool daemonize; /* let gssproxy daemonize */ char *socket_name; /* the socket name to use for */ int num_workers; /* number of worker threads */ + + struct gp_credcfg **creds; + int num_creds; + + struct gp_service **svcs; + int num_svcs; }; struct gp_workers; |
