1.1.2
by Michael Biebl
Import upstream version 3.14.2 |
1 |
/* Definitions for gssutil class. This implements a session of the
|
2 |
* plain TCP server.
|
|
3 |
*
|
|
4 |
* Copyright 2008 Rainer Gerhards and Adiscon GmbH.
|
|
5 |
*
|
|
6 |
* This file is part of rsyslog.
|
|
7 |
*
|
|
8 |
* Rsyslog is free software: you can redistribute it and/or modify
|
|
9 |
* it under the terms of the GNU General Public License as published by
|
|
10 |
* the Free Software Foundation, either version 3 of the License, or
|
|
11 |
* (at your option) any later version.
|
|
12 |
*
|
|
13 |
* Rsyslog is distributed in the hope that it will be useful,
|
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 |
* GNU General Public License for more details.
|
|
17 |
*
|
|
18 |
* You should have received a copy of the GNU General Public License
|
|
19 |
* along with Rsyslog. If not, see <http://www.gnu.org/licenses/>.
|
|
20 |
*
|
|
21 |
* A copy of the GPL can be found in the file "COPYING" in this distribution.
|
|
22 |
*/
|
|
23 |
#ifndef GSS_MISC_H_INCLUDED
|
|
24 |
#define GSS_MISC_H_INCLUDED 1
|
|
25 |
||
26 |
#include <gssapi/gssapi.h> |
|
27 |
#include "obj.h" |
|
28 |
||
29 |
/* interfaces */
|
|
30 |
BEGINinterface(gssutil) /* name must also be changed in ENDinterface macro! */ |
|
31 |
int (*recv_token)(int s, gss_buffer_t tok); |
|
32 |
int (*send_token)(int s, gss_buffer_t tok); |
|
33 |
void (*display_status)(char *m, OM_uint32 maj_stat, OM_uint32 min_stat); |
|
34 |
void (*display_ctx_flags)(OM_uint32 flags); |
|
35 |
ENDinterface(gssutil) |
|
36 |
#define gssutilCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ |
|
37 |
||
38 |
||
39 |
/* prototypes */
|
|
40 |
PROTOTYPEObj(gssutil); |
|
41 |
||
42 |
/* the name of our library binary */
|
|
43 |
#define LM_GSSUTIL_FILENAME "lmgssutil"
|
|
44 |
||
45 |
#endif /* #ifndef GSS_MISC_H_INCLUDED */ |