Rudiments
gsscontext.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4 void *getContext();
5 void setTokenFormat(gsstokenformat_t tokenformat);
6
8 gsscontext &operator=(gsscontext &g) { return *this; };
9
10 private:
11 bool getMaxMessageSize(const char *mechname);
12 bool inquire();
13 bool initiate(const char *name,
14 size_t namelen,
15 const void *nametype);
16
17 ssize_t receiveToken(uint32_t *tokenflags,
18 void **tokendata,
19 size_t *tokensize);
20 ssize_t receiveKrbToken(uint32_t *tokenflags,
21 void **tokendata,
22 size_t *tokensize);
23 ssize_t receiveTlsToken(uint32_t *tokenflags,
24 void **tokendata,
25 size_t *tokensize);
26
27 ssize_t sendToken(uint32_t tokenflags,
28 const void *tokendata,
29 size_t tokensize);
30 ssize_t sendKrbToken(uint32_t tokenflags,
31 const void *tokendata,
32 size_t tokensize);
33 ssize_t sendTlsToken(uint32_t tokenflags,
34 const void *tokendata,
35 size_t tokensize);
36
37 ssize_t fullRead(void *data, size_t count);
38 ssize_t fullWrite(const void *data, size_t count);
39
40 bool checkFlags(uint32_t actualflags,
41 uint32_t desiredflags);
42
43 void setStatus(uint32_t status, int32_t type);
44
Definition avltree.h:11
Definition gss.h:242