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