Remove keytab configuration
[mspang/pyceo.git] / src / gss.h
1 #include <gssapi/gssapi.h>
2 #include <gssapi/gssapi_krb5.h>
3
4 void server_acquire_creds(const char *service);
5 void client_acquire_creds(const char *service, const char *hostname);
6 void gss_fatal(char *msg, OM_uint32 maj_stat, OM_uint32 min_stat);
7 int process_server_token(gss_buffer_t incoming_tok, gss_buffer_t outgoing_tok);
8 int process_client_token(gss_buffer_t incoming_tok, gss_buffer_t outgoing_tok);
9 int initial_client_token(gss_buffer_t outgoing_tok);
10 char *client_principal(void);
11 char *client_username(void);
12 void free_gss(void);