diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-19 07:25:58 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-19 07:25:58 +0000 |
commit | 33a274f0258d6798f82aa16ddc2a77b718f81953 (patch) | |
tree | 57c98d5e7094a524b747f08d45a2dee1967129a6 /tcpsyslog.h | |
parent | dce6853568b164dc015339fc6078ebd75f67346a (diff) | |
download | rsyslog-33a274f0258d6798f82aa16ddc2a77b718f81953.tar.gz rsyslog-33a274f0258d6798f82aa16ddc2a77b718f81953.tar.xz rsyslog-33a274f0258d6798f82aa16ddc2a77b718f81953.zip |
applied gss-api enhancement form varmojfekoj
Diffstat (limited to 'tcpsyslog.h')
-rw-r--r-- | tcpsyslog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tcpsyslog.h b/tcpsyslog.h index f8e2fa94..a68e8934 100644 --- a/tcpsyslog.h +++ b/tcpsyslog.h @@ -39,6 +39,7 @@ struct TCPSession { #if defined(SYSLOG_INET) && defined(USE_GSSAPI) OM_uint32 gss_flags; gss_ctx_id_t gss_context; + char allowedMethods; #endif }; @@ -49,8 +50,12 @@ extern int bEnableTCP; extern struct TCPSession *pTCPSessions; #if defined(SYSLOG_INET) && defined(USE_GSSAPI) extern char *gss_listen_service_name; + +#define ALLOWEDMETHOD_GSS 2 #endif +#define ALLOWEDMETHOD_TCP 1 + /* prototypes */ void deinit_tcp_listener(void); int *create_tcp_socket(void); @@ -65,6 +70,7 @@ int TCPSessGSSInit(void); int TCPSessGSSAccept(int fd); int TCPSessGSSRecv(int fd, void *buf, size_t buf_len); void TCPSessGSSClose(int sess); +void TCPSessGSSDeinit(void); #endif #endif /* #ifndef TCPSYSLOG_H_INCLUDED */ |