blob: 8a838b81276062e1d4c32926b2c6a1d83e33ca70 (
plain)
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
27
|
/* File: sspisvcs.h
*
* Description: See "sspisvcs.c"
*
* Comments: See "notice.txt" for copyright and license information.
*
*/
#ifndef __SSPISVCS_H__
#define __SSPISVCS_H__
#include "socket.h"
/* SSPI Services */
typedef enum {
SchannelService = 1L
,KerberosService = (1L << 1)
,NegotiateService = (1L << 2)
} SSPI_Service;
void ReleaseSvcSpecData(SocketClass *self, UInt4);
int StartupSspiService(SocketClass *self, SSPI_Service svc, const void *opt);
int ContinueSspiService(SocketClass *self, SSPI_Service svc, const void *opt);
int SSPI_recv(SocketClass *self, void *buf, int len);
int SSPI_send(SocketClass *self, const void *buf, int len);
#endif /* __SSPISVCS_H__ */
|