xref: /titanic_51/usr/src/cmd/ast/libast/i386/FEATURE/api (revision b4dd7d09880f14016feece03929a224eca1cf39a)
1*b4dd7d09SAndy Fiddaman/* : : generated from contrib/ast/src/lib/libast/features/api by iffe version 2012-07-17 : : */
2*b4dd7d09SAndy Fiddaman#ifndef _AST_API_H
3*b4dd7d09SAndy Fiddaman#define _AST_API_H	1
4*b4dd7d09SAndy Fiddaman#define _sys_types	1	/* #include <sys/types.h> ok */
5*b4dd7d09SAndy Fiddaman#define _AST_VERSION AST_VERSION /* pre-20100601 compatibility */
6*b4dd7d09SAndy Fiddaman
7*b4dd7d09SAndy Fiddaman#define AST_VERSION	20111111
8*b4dd7d09SAndy Fiddaman#define ASTAPI(rel)	( _BLD_ast || !_API_ast || _API_ast >= rel )
9*b4dd7d09SAndy Fiddaman
10*b4dd7d09SAndy Fiddaman#if !defined(_API_ast) && defined(_API_DEFAULT)
11*b4dd7d09SAndy Fiddaman#define _API_ast	_API_DEFAULT
12*b4dd7d09SAndy Fiddaman#endif
13*b4dd7d09SAndy Fiddaman
14*b4dd7d09SAndy Fiddaman#if ASTAPI(20120411)
15*b4dd7d09SAndy Fiddaman#undef	cmdopen
16*b4dd7d09SAndy Fiddaman#define cmdopen	cmdopen_20120411
17*b4dd7d09SAndy Fiddaman#elif _API_ast >= 20110505
18*b4dd7d09SAndy Fiddaman#undef	cmdopen
19*b4dd7d09SAndy Fiddaman#define cmdopen	cmdopen_20110505
20*b4dd7d09SAndy Fiddaman#endif
21*b4dd7d09SAndy Fiddaman
22*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
23*b4dd7d09SAndy Fiddaman#undef	pathaccess
24*b4dd7d09SAndy Fiddaman#define pathaccess	pathaccess_20100601
25*b4dd7d09SAndy Fiddaman#endif
26*b4dd7d09SAndy Fiddaman
27*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
28*b4dd7d09SAndy Fiddaman#undef	pathcanon
29*b4dd7d09SAndy Fiddaman#define pathcanon	pathcanon_20100601
30*b4dd7d09SAndy Fiddaman#endif
31*b4dd7d09SAndy Fiddaman
32*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
33*b4dd7d09SAndy Fiddaman#undef	pathcat
34*b4dd7d09SAndy Fiddaman#define pathcat	pathcat_20100601
35*b4dd7d09SAndy Fiddaman#endif
36*b4dd7d09SAndy Fiddaman
37*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
38*b4dd7d09SAndy Fiddaman#undef	pathkey
39*b4dd7d09SAndy Fiddaman#define pathkey	pathkey_20100601
40*b4dd7d09SAndy Fiddaman#endif
41*b4dd7d09SAndy Fiddaman
42*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
43*b4dd7d09SAndy Fiddaman#undef	pathpath
44*b4dd7d09SAndy Fiddaman#define pathpath	pathpath_20100601
45*b4dd7d09SAndy Fiddaman#endif
46*b4dd7d09SAndy Fiddaman
47*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
48*b4dd7d09SAndy Fiddaman#undef	pathprobe
49*b4dd7d09SAndy Fiddaman#define pathprobe	pathprobe_20100601
50*b4dd7d09SAndy Fiddaman#endif
51*b4dd7d09SAndy Fiddaman
52*b4dd7d09SAndy Fiddaman#if ASTAPI(20100601)
53*b4dd7d09SAndy Fiddaman#undef	pathrepl
54*b4dd7d09SAndy Fiddaman#define pathrepl	pathrepl_20100601
55*b4dd7d09SAndy Fiddaman#endif
56*b4dd7d09SAndy Fiddaman
57*b4dd7d09SAndy Fiddaman#if ASTAPI(20120528)
58*b4dd7d09SAndy Fiddaman#undef	regexec
59*b4dd7d09SAndy Fiddaman#define regexec	regexec_20120528
60*b4dd7d09SAndy Fiddaman#endif
61*b4dd7d09SAndy Fiddaman
62*b4dd7d09SAndy Fiddaman#if ASTAPI(20120528)
63*b4dd7d09SAndy Fiddaman#undef	regnexec
64*b4dd7d09SAndy Fiddaman#define regnexec	regnexec_20120528
65*b4dd7d09SAndy Fiddaman#endif
66*b4dd7d09SAndy Fiddaman
67*b4dd7d09SAndy Fiddaman#if ASTAPI(20120528)
68*b4dd7d09SAndy Fiddaman#undef	regrexec
69*b4dd7d09SAndy Fiddaman#define regrexec	regrexec_20120528
70*b4dd7d09SAndy Fiddaman#endif
71*b4dd7d09SAndy Fiddaman
72*b4dd7d09SAndy Fiddaman#if ASTAPI(20120528)
73*b4dd7d09SAndy Fiddaman#undef	regsubexec
74*b4dd7d09SAndy Fiddaman#define regsubexec	regsubexec_20120528
75*b4dd7d09SAndy Fiddaman#endif
76*b4dd7d09SAndy Fiddaman
77*b4dd7d09SAndy Fiddaman#if ASTAPI(20000308)
78*b4dd7d09SAndy Fiddaman#undef	sfkeyprintf
79*b4dd7d09SAndy Fiddaman#define sfkeyprintf	sfkeyprintf_20000308
80*b4dd7d09SAndy Fiddaman#endif
81*b4dd7d09SAndy Fiddaman
82*b4dd7d09SAndy Fiddaman#if ASTAPI(20120528)
83*b4dd7d09SAndy Fiddaman#undef	strgrpmatch
84*b4dd7d09SAndy Fiddaman#define strgrpmatch	strgrpmatch_20120528
85*b4dd7d09SAndy Fiddaman#endif
86*b4dd7d09SAndy Fiddaman
87*b4dd7d09SAndy Fiddaman#define _API_ast_MAP	"cmdopen_20120411 cmdopen_20110505 pathaccess_20100601 pathcanon_20100601 pathcat_20100601 pathkey_20100601 pathpath_20100601 pathprobe_20100601 pathrepl_20100601 regexec_20120528 regnexec_20120528 regrexec_20120528 regsubexec_20120528 sfkeyprintf_20000308 strgrpmatch_20120528"
88*b4dd7d09SAndy Fiddaman
89*b4dd7d09SAndy Fiddaman#endif
90