1 /* 2 * BEGIN illumos section 3 * This is an unstable interface; changes may be made 4 * without notice. 5 * END illumos section 6 */ 7 /*********************************************************************** 8 * * 9 * This software is part of the ast package * 10 * Copyright (c) 1985-2025 AT&T Intellectual Property * 11 * All Rights Reserved * 12 * This software is licensed by AT&T Intellectual Property * 13 * under the terms and conditions of the license in * 14 * http://www.eclipse.org/org/documents/epl-v10.html * 15 * (with an md5 checksum of b35adb5213ca9657e911e9befb180842) * 16 * * 17 * Information and Software Systems Research * 18 * AT&T Research * 19 * Florham Park NJ * 20 * * 21 * Glenn Fowler <gsf@research.att.com> * 22 * David Korn <dgk@research.att.com> * 23 * Phong Vo <kpv@research.att.com> * 24 * * 25 ***********************************************************************/ 26 /* : : generated from contrib/ast/src/lib/libast/features/api by iffe version 2012-07-17 : : */ 27 #ifndef _AST_API_H 28 #define _AST_API_H 1 29 #define _sys_types 1 /* #include <sys/types.h> ok */ 30 #define _AST_VERSION AST_VERSION /* pre-20100601 compatibility */ 31 32 #define AST_VERSION 20111111 33 #define ASTAPI(rel) ( _BLD_ast || !_API_ast || _API_ast >= rel ) 34 35 #if !defined(_API_ast) && defined(_API_DEFAULT) 36 #define _API_ast _API_DEFAULT 37 #endif 38 39 #if ASTAPI(20120411) 40 #undef cmdopen 41 #define cmdopen cmdopen_20120411 42 #elif _API_ast >= 20110505 43 #undef cmdopen 44 #define cmdopen cmdopen_20110505 45 #endif 46 47 #if ASTAPI(20100601) 48 #undef pathaccess 49 #define pathaccess pathaccess_20100601 50 #endif 51 52 #if ASTAPI(20100601) 53 #undef pathcanon 54 #define pathcanon pathcanon_20100601 55 #endif 56 57 #if ASTAPI(20100601) 58 #undef pathcat 59 #define pathcat pathcat_20100601 60 #endif 61 62 #if ASTAPI(20100601) 63 #undef pathkey 64 #define pathkey pathkey_20100601 65 #endif 66 67 #if ASTAPI(20100601) 68 #undef pathpath 69 #define pathpath pathpath_20100601 70 #endif 71 72 #if ASTAPI(20100601) 73 #undef pathprobe 74 #define pathprobe pathprobe_20100601 75 #endif 76 77 #if ASTAPI(20100601) 78 #undef pathrepl 79 #define pathrepl pathrepl_20100601 80 #endif 81 82 #if ASTAPI(20120528) 83 #undef regexec 84 #define regexec regexec_20120528 85 #endif 86 87 #if ASTAPI(20120528) 88 #undef regnexec 89 #define regnexec regnexec_20120528 90 #endif 91 92 #if ASTAPI(20120528) 93 #undef regrexec 94 #define regrexec regrexec_20120528 95 #endif 96 97 #if ASTAPI(20120528) 98 #undef regsubexec 99 #define regsubexec regsubexec_20120528 100 #endif 101 102 #if ASTAPI(20000308) 103 #undef sfkeyprintf 104 #define sfkeyprintf sfkeyprintf_20000308 105 #endif 106 107 #if ASTAPI(20120528) 108 #undef strgrpmatch 109 #define strgrpmatch strgrpmatch_20120528 110 #endif 111 112 #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" 113 114 #endif 115