From 76e6042107de23790f0532e3bf3c396cba27e5aa Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 6 Mar 2009 17:22:01 +0100 Subject: include: deprecate several header files with obsolete enums This patch deprecates several header files that contain enums that were define in the very old libnetfilter_conntrack API. Signed-off-by: Pablo Neira Ayuso --- .../libnetfilter_conntrack_udp.h | 36 ++-------------------- 1 file changed, 2 insertions(+), 34 deletions(-) (limited to 'include/libnetfilter_conntrack/libnetfilter_conntrack_udp.h') diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack_udp.h b/include/libnetfilter_conntrack/libnetfilter_conntrack_udp.h index 638e8eb..62ad87b 100644 --- a/include/libnetfilter_conntrack/libnetfilter_conntrack_udp.h +++ b/include/libnetfilter_conntrack/libnetfilter_conntrack_udp.h @@ -1,5 +1,5 @@ /* - * (C) 2005 by Pablo Neira Ayuso + * (C) 2005 by Pablo Neira Ayuso * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. @@ -8,38 +8,6 @@ #ifndef _LIBNETFILTER_CONNTRACK_UDP_H_ #define _LIBNETFILTER_CONNTRACK_UDP_H_ -#ifdef __cplusplus -extern "C" { -#endif - -enum udp_flags { - UDP_ORIG_SPORT_BIT = 0, - UDP_ORIG_SPORT = (1 << UDP_ORIG_SPORT_BIT), - - UDP_ORIG_DPORT_BIT = 1, - UDP_ORIG_DPORT = (1 << UDP_ORIG_DPORT_BIT), - - UDP_REPL_SPORT_BIT = 2, - UDP_REPL_SPORT = (1 << UDP_REPL_SPORT_BIT), - - UDP_REPL_DPORT_BIT = 3, - UDP_REPL_DPORT = (1 << UDP_REPL_DPORT_BIT), - - UDP_MASK_SPORT_BIT = 4, - UDP_MASK_SPORT = (1 << UDP_MASK_SPORT_BIT), - - UDP_MASK_DPORT_BIT = 5, - UDP_MASK_DPORT = (1 << UDP_MASK_DPORT_BIT), - - UDP_EXPTUPLE_SPORT_BIT = 6, - UDP_EXPTUPLE_SPORT = (1 << UDP_EXPTUPLE_SPORT_BIT), - - UDP_EXPTUPLE_DPORT_BIT = 7, - UDP_EXPTUPLE_DPORT = (1 << UDP_EXPTUPLE_DPORT_BIT) -}; - -#ifdef __cplusplus -} -#endif +#warning "Please, remove libnetfilter_conntrack_udp.h from your includes!" #endif -- cgit v1.2.3