-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsspisvcs.h
More file actions
28 lines (23 loc) · 740 Bytes
/
sspisvcs.h
File metadata and controls
28 lines (23 loc) · 740 Bytes
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
28
/* File: sspisvcs.h
*
* Description: See "sspisvcs.c"
*
* Comments: See "readme.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 LeaveSSPIService(void);
void ReleaseSvcSpecData(SocketClass *self, UInt4);
int StartupSspiService(SocketClass *self, SSPI_Service svc, const void *opt, int *bReconnect);
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__ */