opts.h (ab25eeb5) opts.h (af5f29dd)
1/*
2 * Copyright (C) 2000 by Darren Reed.
3 *
4 * See the IPFILTER.LICENCE file for details on licencing.
5 *
6 * $Id: opts.h,v 2.12 2003/08/14 14:24:27 darrenr Exp $
7 *
8 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9 * Use is subject to license terms.
10 */
11
1/*
2 * Copyright (C) 2000 by Darren Reed.
3 *
4 * See the IPFILTER.LICENCE file for details on licencing.
5 *
6 * $Id: opts.h,v 2.12 2003/08/14 14:24:27 darrenr Exp $
7 *
8 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9 * Use is subject to license terms.
10 */
11
12#pragma ident "%Z%%M% %I% %E% SMI"
13
14#ifndef __OPTS_H__
15#define __OPTS_H__
16
17#ifndef SOLARIS
18#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
19#endif
20#define OPT_REMOVE 0x000001
21#define OPT_DEBUG 0x000002

--- 32 unchanged lines hidden (view full) ---

54#ifndef __P
55# ifdef __STDC__
56# define __P(x) x
57# else
58# define __P(x) ()
59# endif
60#endif
61
12#ifndef __OPTS_H__
13#define __OPTS_H__
14
15#ifndef SOLARIS
16#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
17#endif
18#define OPT_REMOVE 0x000001
19#define OPT_DEBUG 0x000002

--- 32 unchanged lines hidden (view full) ---

52#ifndef __P
53# ifdef __STDC__
54# define __P(x) x
55# else
56# define __P(x) ()
57# endif
58#endif
59
62#if defined(sun) && !SOLARIS
60#if defined(sun) && !defined(SOLARIS)
63# define STRERROR(x) sys_errlist[x]
64extern char *sys_errlist[];
65#else
66# define STRERROR(x) strerror(x)
67#endif
68
69extern int opts;
70
71#endif /* __OPTS_H__ */
61# define STRERROR(x) sys_errlist[x]
62extern char *sys_errlist[];
63#else
64# define STRERROR(x) strerror(x)
65#endif
66
67extern int opts;
68
69#endif /* __OPTS_H__ */