1
/* An implementation of the nsd select interface for GnuTLS.
3
* Copyright (C) 2008 Rainer Gerhards and Adiscon GmbH.
5
* This file is part of the rsyslog runtime library.
7
* The rsyslog runtime library is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU Lesser General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* The rsyslog runtime library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with the rsyslog runtime library. If not, see <http://www.gnu.org/licenses/>.
20
* A copy of the GPL can be found in the file "COPYING" in this distribution.
21
* A copy of the LGPL can be found in the file "COPYING.LESSER" in this distribution.
24
#ifndef INCLUDED_NSDSEL_GTLS_H
25
#define INCLUDED_NSDSEL_GTLS_H
28
typedef nsdsel_if_t nsdsel_gtls_if_t; /* we just *implement* this interface */
30
/* the nsdsel_gtls object */
31
struct nsdsel_gtls_s {
32
BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */
33
nsdsel_t *pTcp; /* our aggregated ptcp sel handler (which does almost everything) */
34
int iBufferRcvReady; /* number of descriptiors where no RD select is needed because we have data in buf */
37
/* interface is defined in nsd.h, we just implement it! */
38
#define nsdsel_gtlsCURR_IF_VERSION nsdCURR_IF_VERSION
41
PROTOTYPEObj(nsdsel_gtls);
43
#endif /* #ifndef INCLUDED_NSDSEL_GTLS_H */