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