File: myproxy_sasl_server.h

package info (click to toggle)
myproxy 6.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,196 kB
  • sloc: ansic: 24,753; sh: 11,507; perl: 3,673; makefile: 353
file content (26 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * myproxy_sasl_server.h
 *
 * Internal MyProxy SASL server interface.
 *
 */
#ifndef __MYPROXY_SASL_SERVER_H
#define __MYPROXY_SASL_SERVER_H

#if defined(HAVE_LIBSASL2)

int
auth_sasl_negotiate_server(myproxy_socket_attrs_t *attrs,
			   myproxy_request_t *client_request);

extern int myproxy_sasl_authenticated; /* set to 1 after success */

extern char *myproxy_sasl_mech; /* force a SASL mechanism */

/* for sasl_server_new(3) */
extern char *myproxy_sasl_serverFQDN;
extern char *myproxy_sasl_user_realm;

#endif

#endif