conftab.h revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968
/* : : generated by proto : : */
#ifndef _CONFTAB_H
#if !defined(__PROTO__)
# if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
# if defined(__cplusplus)
# define __LINKAGE__ "C"
# else
# define __LINKAGE__
# endif
# define __STDARG__
# define __PROTO__(x) x
# define __OTORP__(x)
# define __PARAM__(n,o) n
# if !defined(__STDC__) && !defined(__cplusplus)
# if !defined(c_plusplus)
# define const
# endif
# define signed
# define void int
# define volatile
# define __V_ char
# else
# define __V_ void
# endif
# else
# define __PROTO__(x) ()
# define __OTORP__(x) x
# define __PARAM__(n,o) o
# define __LINKAGE__
# define __V_ char
# define const
# define signed
# define void int
# define volatile
# endif
# define __MANGLE__ __LINKAGE__
# if defined(__cplusplus) || defined(c_plusplus)
# define __VARARG__ ...
# else
# define __VARARG__
# endif
# if defined(__STDARG__)
# define __VA_START__(p,a) va_start(p,a)
# else
# define __VA_START__(p,a) va_start(p)
# endif
# if !defined(__INLINE__)
# if defined(__cplusplus)
# define __INLINE__ extern __MANGLE__ inline
# else
# if defined(_WIN32) && !defined(__GNUC__)
# define __INLINE__ __inline
# endif
# endif
# endif
#endif
#if !defined(__LINKAGE__)
#define __LINKAGE__ /* 2004-08-11 transition */
#endif
#define _CONFTAB_H
#if !defined(SYS_NMLEN)
#define SYS_NMLEN 9
#endif
#include <sys/systeminfo.h>
/* : : generated by conf from /home/gisburn/ksh93/ast_ksh_20070418/build_sparc_64bit/src/lib/libast/comp/conf.tab : : */
#define conf _ast_conf_data
#define conf_elements _ast_conf_ndata
#define prefix _ast_conf_prefix
#define prefix_elements _ast_conf_nprefix
#define CONF_nop 0
#define CONF_confstr 1
#define CONF_pathconf 2
#define CONF_sysconf 3
#define CONF_sysinfo 4
#define CONF_C 0
#define CONF_POSIX 1
#define CONF_SVID 2
#define CONF_XOPEN 3
#define CONF_SUN 4
#define CONF_XBS5 5
#define CONF_SCO 6
#define CONF_AST 7
#define CONF_AES 8
#define CONF_XPG 9
#define CONF_GNU 10
#define CONF_TRUSTEDBSD 11
#define CONF_call 12
#define _pth_getconf "/usr/bin/getconf"
#define _pth_getconf_a "-a"
#define CONF_DEFER_CALL 0x0001
#define CONF_DEFER_MM 0x0002
#define CONF_FEATURE 0x0004
#define CONF_LIMIT 0x0008
#define CONF_LIMIT_DEF 0x0010
#define CONF_MINMAX 0x0020
#define CONF_MINMAX_DEF 0x0040
#define CONF_NOSECTION 0x0080
#define CONF_NOUNDERSCORE 0x0100
#define CONF_PREFIX_ONLY 0x0200
#define CONF_PREFIXED 0x0400
#define CONF_STANDARD 0x0800
#define CONF_STRING 0x1000
#define CONF_UNDERSCORE 0x2000
#define CONF_USER 0x4000
struct Conf_s; typedef struct Conf_s Conf_t;
typedef int (*Conf_f) __PROTO__((Conf_t*, intmax_t*, char**));
typedef struct Value_s
{
intmax_t number;
const char* string;
} Value_t;
struct Conf_s
{
const char name[32];
Value_t limit;
Value_t minmax;
short flags;
short standard;
short section;
short call;
short op;
};
typedef struct Prefix_s
{
const char name[16];
short length;
short standard;
short call;
} Prefix_t;
extern __MANGLE__ const Conf_t conf[];
extern __MANGLE__ int conf_elements;
extern __MANGLE__ const Prefix_t prefix[];
extern __MANGLE__ int prefix_elements;
#endif