1N/A
1N/A/* : : generated by proto : : */
1N/A/***********************************************************************
1N/A* *
1N/A* This software is part of the ast package *
1N/A* Copyright (c) 1985-2011 AT&T Intellectual Property *
1N/A* and is licensed under the *
1N/A* Common Public License, Version 1.0 *
1N/A* by AT&T Intellectual Property *
1N/A* *
1N/A* A copy of the License is available at *
1N/A* http://www.opensource.org/licenses/cpl1.0.txt *
1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
1N/A* *
1N/A* Information and Software Systems Research *
1N/A* AT&T Research *
1N/A* Florham Park NJ *
1N/A* *
1N/A* Glenn Fowler <gsf@research.att.com> *
1N/A* David Korn <dgk@research.att.com> *
1N/A* Phong Vo <kpv@research.att.com> *
1N/A* *
1N/A***********************************************************************/
1N/A
1N/A/*
1N/A * Advanced Software Technology Library
1N/A * AT&T Research
1N/A *
1N/A * std + posix + ast
1N/A */
1N/A
1N/A#ifndef _AST_H
1N/A#if !defined(__PROTO__)
1N/A#include <prototyped.h>
1N/A#endif
1N/A#if !defined(__LINKAGE__)
1N/A#define __LINKAGE__ /* 2004-08-11 transition */
1N/A#endif
1N/A
1N/A#define _AST_H
1N/A
1N/A#ifndef _AST_STD_H
1N/A#include <ast_std.h>
1N/A#endif
1N/A
1N/A#ifndef _SFIO_H
1N/A#include <sfio.h>
1N/A#endif
1N/A
1N/A#ifndef ast
1N/A#define ast _ast_info
1N/A#endif
1N/A
1N/A#ifndef PATH_MAX
1N/A#define PATH_MAX 1024
1N/A#endif
1N/A
1N/A/*
1N/A * workaround botched headers that assume <stdio.h>
1N/A */
1N/A
1N/A#ifndef FILE
1N/A#ifndef _SFIO_H
1N/Astruct _sfio_s;
1N/A#endif
1N/A#define FILE struct _sfio_s
1N/A#ifndef __FILE_typedef
1N/A#define __FILE_typedef 1
1N/A#endif
1N/A#ifndef _FILEDEFED
1N/A#define _FILEDEFED 1
1N/A#endif
1N/A#endif
1N/A
1N/A/*
1N/A * exit() support -- this matches shell exit codes
1N/A */
1N/A
1N/A#define EXIT_BITS 8 /* # exit status bits */
1N/A
1N/A#define EXIT_USAGE 2 /* usage exit code */
1N/A#define EXIT_QUIT ((1<<(EXIT_BITS))-1) /* parent should quit */
1N/A#define EXIT_NOTFOUND ((1<<(EXIT_BITS-1))-1) /* command not found */
1N/A#define EXIT_NOEXEC ((1<<(EXIT_BITS-1))-2) /* other exec error */
1N/A
1N/A#define EXIT_CODE(x) ((x)&((1<<EXIT_BITS)-1))
1N/A#define EXIT_CORE(x) (EXIT_CODE(x)|(1<<EXIT_BITS)|(1<<(EXIT_BITS-1)))
1N/A#define EXIT_TERM(x) (EXIT_CODE(x)|(1<<EXIT_BITS))
1N/A
1N/A/*
1N/A * NOTE: for compatibility the following work for EXIT_BITS={7,8}
1N/A */
1N/A
1N/A#define EXIT_STATUS(x) (((x)&((1<<(EXIT_BITS-2))-1))?(x):EXIT_CODE((x)>>EXIT_BITS))
1N/A
1N/A#define EXITED_CORE(x) (((x)&((1<<EXIT_BITS)|(1<<(EXIT_BITS-1))))==((1<<EXIT_BITS)|(1<<(EXIT_BITS-1)))||((x)&((1<<(EXIT_BITS-1))|(1<<(EXIT_BITS-2))))==((1<<(EXIT_BITS-1))|(1<<(EXIT_BITS-2))))
1N/A#define EXITED_TERM(x) ((x)&((1<<EXIT_BITS)|(1<<(EXIT_BITS-1))))
1N/A
1N/A/*
1N/A * astconflist() flags
1N/A */
1N/A
1N/A#define ASTCONF_parse 0x0001
1N/A#define ASTCONF_write 0x0002
1N/A#define ASTCONF_read 0x0004
1N/A#define ASTCONF_lower 0x0008
1N/A#define ASTCONF_base 0x0010
1N/A#define ASTCONF_defined 0x0020
1N/A#define ASTCONF_quote 0x0040
1N/A#define ASTCONF_table 0x0080
1N/A#define ASTCONF_matchcall 0x0100
1N/A#define ASTCONF_matchname 0x0200
1N/A#define ASTCONF_matchstandard 0x0400
1N/A#define ASTCONF_error 0x0800
1N/A#define ASTCONF_system 0x1000
1N/A#define ASTCONF_AST 0x2000
1N/A
1N/A/*
1N/A * pathcanon() flags
1N/A */
1N/A
1N/A#define PATH_PHYSICAL 01
1N/A#define PATH_DOTDOT 02
1N/A#define PATH_EXISTS 04
1N/A#define PATH_VERIFIED(n) (((n)&01777)<<5)
1N/A
1N/A/*
1N/A * pathaccess() flags
1N/A */
1N/A
1N/A#define PATH_READ 004
1N/A#define PATH_WRITE 002
1N/A#define PATH_EXECUTE 001
1N/A#define PATH_REGULAR 010
1N/A#define PATH_ABSOLUTE 020
1N/A
1N/A/*
1N/A * touch() flags
1N/A */
1N/A
1N/A#define PATH_TOUCH_CREATE 01
1N/A#define PATH_TOUCH_VERBATIM 02
1N/A
1N/A/*
1N/A * pathcheck() info
1N/A */
1N/A
1N/Atypedef struct
1N/A{
1N/A unsigned long date;
1N/A char* feature;
1N/A char* host;
1N/A char* user;
1N/A} Pathcheck_t;
1N/A
1N/A/*
1N/A * strgrpmatch() flags
1N/A */
1N/A
1N/A#define STR_MAXIMAL 01 /* maximal match */
1N/A#define STR_LEFT 02 /* implicit left anchor */
1N/A#define STR_RIGHT 04 /* implicit right anchor */
1N/A#define STR_ICASE 010 /* ignore case */
1N/A#define STR_GROUP 020 /* (|&) inside [@|&](...) only */
1N/A
1N/A/*
1N/A * fmtquote() flags
1N/A */
1N/A
1N/A#define FMT_ALWAYS 0x01 /* always quote */
1N/A#define FMT_ESCAPED 0x02 /* already escaped */
1N/A#define FMT_SHELL 0x04 /* escape $ ` too */
1N/A#define FMT_WIDE 0x08 /* don't escape 8 bit chars */
1N/A#define FMT_PARAM 0x10 /* disable FMT_SHELL ${$( quote */
1N/A
1N/A/*
1N/A * chrexp() flags
1N/A */
1N/A
1N/A#define FMT_EXP_CHAR 0x020 /* expand single byte chars */
1N/A#define FMT_EXP_LINE 0x040 /* expand \n and \r */
1N/A#define FMT_EXP_WIDE 0x080 /* expand \u \U \x wide chars */
1N/A#define FMT_EXP_NOCR 0x100 /* skip \r */
1N/A#define FMT_EXP_NONL 0x200 /* skip \n */
1N/A
1N/A/*
1N/A * multibyte macros
1N/A */
1N/A
1N/A#define mbmax() (ast.mb_cur_max)
1N/A#define mberr() (ast.tmp_int<0)
1N/A
1N/A#define mbcoll() (ast.mb_xfrm!=0)
1N/A#define mbwide() (mbmax()>1)
1N/A
1N/A#define mb2wc(w,p,n) (*ast.mb_towc)(&w,(char*)p,n)
1N/A#define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++)))
1N/A#define mbnchar(p,n) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),n))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++)))
1N/A#define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0)
1N/A#define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1))
1N/A#define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1))
1N/A#define mbconv(s,w) (ast.mb_conv?(*ast.mb_conv)(s,w):((*(s)=(w)),1))
1N/A#define mbwidth(w) (ast.mb_width?(*ast.mb_width)(w):1)
1N/A#define mbxfrm(t,f,n) (mbcoll()?(*ast.mb_xfrm)((char*)(t),(char*)(f),n):0)
1N/A#define mbalpha(w) (ast.mb_alpha?(*ast.mb_alpha)(w):isalpha((w)&0xff))
1N/A
1N/A/*
1N/A * common macros
1N/A */
1N/A
1N/A#define elementsof(x) (sizeof(x)/sizeof(x[0]))
1N/A#define integralof(x) (((char*)(x))-((char*)0))
1N/A#define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x)))
1N/A#define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x)))
1N/A#define pointerof(x) ((__V_*)((char*)0+(x)))
1N/A#define roundof(x,y) (((x)+(y)-1)&~((y)-1))
1N/A#define ssizeof(x) ((int)sizeof(x))
1N/A
1N/A#define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
1N/A#define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n))
1N/A#define strsignal(s) fmtsignal(s)
1N/A
1N/A#if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)
1N/A#define NiL 0
1N/A#define NoP(x) (void)(x)
1N/A#else
1N/A#define NiL ((char*)0)
1N/A#define NoP(x) (&x,1)
1N/A#endif
1N/A
1N/A#if !defined(NoF)
1N/A#if defined(__STDC__) || defined(__STDPP__)
1N/A#define NoF(x) void _DATA_ ## x () {}
1N/A#else
1N/A#define NoF(x) void _DATA_/**/x () {}
1N/A#endif
1N/A#if !defined(_DATA_)
1N/A#define _DATA_
1N/A#endif
1N/A#endif
1N/A
1N/A#if !defined(NoN)
1N/A#if defined(__STDC__) || defined(__STDPP__)
1N/A#define NoN(x) void _STUB_ ## x () {}
1N/A#else
1N/A#define NoN(x) void _STUB_/**/x () {}
1N/A#endif
1N/A#if !defined(_STUB_)
1N/A#define _STUB_
1N/A#endif
1N/A#endif
1N/A
1N/A#define NOT_USED(x) NoP(x)
1N/A
1N/Atypedef int (*Error_f) __PROTO__((__V_*, __V_*, int, ...));
1N/A
1N/Atypedef int (*Ast_confdisc_f) __PROTO__((const char*, const char*, const char*));
1N/Atypedef int (*Strcmp_context_f) __PROTO__((const char*, const char*, __V_*));
1N/Atypedef int (*Strcmp_f) __PROTO__((const char*, const char*));
1N/A
1N/A#if _BLD_ast && defined(__EXPORT__)
1N/A#undef __MANGLE__
1N/A#define __MANGLE__ __LINKAGE__ __EXPORT__
1N/A#endif
1N/A
1N/Aextern __MANGLE__ char* astgetconf __PROTO__((const char*, const char*, const char*, int, Error_f));
1N/Aextern __MANGLE__ char* astconf __PROTO__((const char*, const char*, const char*));
1N/Aextern __MANGLE__ Ast_confdisc_f astconfdisc __PROTO__((Ast_confdisc_f));
1N/Aextern __MANGLE__ void astconflist __PROTO__((Sfio_t*, const char*, int, const char*));
1N/Aextern __MANGLE__ off_t astcopy __PROTO__((int, int, off_t));
1N/Aextern __MANGLE__ int astlicense __PROTO__((char*, int, char*, char*, int, int, int));
1N/Aextern __MANGLE__ int astquery __PROTO__((int, const char*, ...));
1N/Aextern __MANGLE__ void astwinsize __PROTO__((int, int*, int*));
1N/A
1N/Aextern __MANGLE__ ssize_t base64encode __PROTO__((const __V_*, size_t, __V_**, __V_*, size_t, __V_**));
1N/Aextern __MANGLE__ ssize_t base64decode __PROTO__((const __V_*, size_t, __V_**, __V_*, size_t, __V_**));
1N/Aextern __MANGLE__ int chresc __PROTO__((const char*, char**));
1N/Aextern __MANGLE__ int chrexp __PROTO__((const char*, char**, int*, int));
1N/Aextern __MANGLE__ int chrtoi __PROTO__((const char*));
1N/Aextern __MANGLE__ char* conformance __PROTO__((const char*, size_t));
1N/Aextern __MANGLE__ int eaccess __PROTO__((const char*, int));
1N/Aextern __MANGLE__ char* fmtbase __PROTO__((intmax_t, int, int));
1N/A#define fmtbasell(a,b,c) fmtbase(a,b,c) /* until 2014-01-01 */
1N/Aextern __MANGLE__ char* fmtbuf __PROTO__((size_t));
1N/Aextern __MANGLE__ char* fmtclock __PROTO__((Sfulong_t));
1N/Aextern __MANGLE__ char* fmtelapsed __PROTO__((unsigned long, int));
1N/Aextern __MANGLE__ char* fmterror __PROTO__((int));
1N/Aextern __MANGLE__ char* fmtesc __PROTO__((const char*));
1N/Aextern __MANGLE__ char* fmtesq __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ char* fmtident __PROTO__((const char*));
1N/Aextern __MANGLE__ char* fmtip4 __PROTO__((uint32_t, int));
1N/Aextern __MANGLE__ char* fmtfmt __PROTO__((const char*));
1N/Aextern __MANGLE__ char* fmtgid __PROTO__((int));
1N/Aextern __MANGLE__ char* fmtint __PROTO__((intmax_t, int));
1N/Aextern __MANGLE__ char* fmtmatch __PROTO__((const char*));
1N/Aextern __MANGLE__ char* fmtmode __PROTO__((int, int));
1N/Aextern __MANGLE__ char* fmtnesq __PROTO__((const char*, const char*, size_t));
1N/Aextern __MANGLE__ char* fmtnum __PROTO__((unsigned long, int));
1N/Aextern __MANGLE__ char* fmtperm __PROTO__((int));
1N/Aextern __MANGLE__ char* fmtquote __PROTO__((const char*, const char*, const char*, size_t, int));
1N/Aextern __MANGLE__ char* fmtre __PROTO__((const char*));
1N/Aextern __MANGLE__ char* fmtscale __PROTO__((Sfulong_t, int));
1N/Aextern __MANGLE__ char* fmtsignal __PROTO__((int));
1N/Aextern __MANGLE__ char* fmttime __PROTO__((const char*, time_t));
1N/Aextern __MANGLE__ char* fmtuid __PROTO__((int));
1N/Aextern __MANGLE__ char* fmtversion __PROTO__((unsigned long));
1N/Aextern __MANGLE__ __V_* memdup __PROTO__((const __V_*, size_t));
1N/Aextern __MANGLE__ void memfatal __PROTO__((void));
1N/Aextern __MANGLE__ unsigned int memhash __PROTO__((const __V_*, int));
1N/Aextern __MANGLE__ unsigned long memsum __PROTO__((const __V_*, int, unsigned long));
1N/Aextern __MANGLE__ char* pathaccess __PROTO__((char*, const char*, const char*, const char*, int));
1N/Aextern __MANGLE__ char* pathaccess_20100601 __PROTO__((const char*, const char*, const char*, int, char*, size_t));
1N/Aextern __MANGLE__ char* pathbin __PROTO__((void));
1N/Aextern __MANGLE__ char* pathcanon __PROTO__((char*, int));
1N/Aextern __MANGLE__ char* pathcanon_20100601 __PROTO__((char*, size_t, int));
1N/Aextern __MANGLE__ char* pathcat __PROTO__((char*, const char*, int, const char*, const char*));
1N/Aextern __MANGLE__ char* pathcat_20100601 __PROTO__((const char*, int, const char*, const char*, char*, size_t));
1N/Aextern __MANGLE__ int pathcd __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ int pathcheck __PROTO__((const char*, const char*, Pathcheck_t*));
1N/Aextern __MANGLE__ int pathexists __PROTO__((char*, int));
1N/Aextern __MANGLE__ char* pathfind __PROTO__((const char*, const char*, const char*, char*, size_t));
1N/Aextern __MANGLE__ int pathgetlink __PROTO__((const char*, char*, int));
1N/Aextern __MANGLE__ int pathinclude __PROTO__((const char*));
1N/Aextern __MANGLE__ char* pathkey __PROTO__((char*, char*, const char*, const char*, const char*));
1N/Aextern __MANGLE__ char* pathkey_20100601 __PROTO__((const char*, const char*, const char*, char*, size_t, char*, size_t));
1N/Aextern __MANGLE__ size_t pathnative __PROTO__((const char*, char*, size_t));
1N/Aextern __MANGLE__ char* pathpath __PROTO__((char*, const char*, const char*, int));
1N/Aextern __MANGLE__ char* pathpath_20100601 __PROTO__((const char*, const char*, int, char*, size_t));
1N/Aextern __MANGLE__ size_t pathposix __PROTO__((const char*, char*, size_t));
1N/Aextern __MANGLE__ char* pathprobe __PROTO__((char*, char*, const char*, const char*, const char*, int));
1N/Aextern __MANGLE__ char* pathprobe_20100601 __PROTO__((const char*, const char*, const char*, int, char*, size_t, char*, size_t));
1N/Aextern __MANGLE__ size_t pathprog __PROTO__((const char*, char*, size_t));
1N/Aextern __MANGLE__ char* pathrepl __PROTO__((char*, const char*, const char*));
1N/Aextern __MANGLE__ char* pathrepl_20100601 __PROTO__((char*, size_t, const char*, const char*));
1N/Aextern __MANGLE__ int pathsetlink __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ char* pathshell __PROTO__((void));
1N/Aextern __MANGLE__ char* pathtemp __PROTO__((char*, size_t, const char*, const char*, int*));
1N/Aextern __MANGLE__ char* pathtmp __PROTO__((char*, const char*, const char*, int*));
1N/Aextern __MANGLE__ char* setenviron __PROTO__((const char*));
1N/Aextern __MANGLE__ int stracmp __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ char* strcopy __PROTO__((char*, const char*));
1N/Aextern __MANGLE__ unsigned long strelapsed __PROTO__((const char*, char**, int));
1N/Aextern __MANGLE__ int stresc __PROTO__((char*));
1N/Aextern __MANGLE__ int strexp __PROTO__((char*, int));
1N/Aextern __MANGLE__ long streval __PROTO__((const char*, char**, long(*)(const char*, char**)));
1N/Aextern __MANGLE__ long strexpr __PROTO__((const char*, char**, long(*)(const char*, char**, __V_*), __V_*));
1N/Aextern __MANGLE__ int strgid __PROTO__((const char*));
1N/Aextern __MANGLE__ int strgrpmatch __PROTO__((const char*, const char*, int*, int, int));
1N/Aextern __MANGLE__ unsigned int strhash __PROTO__((const char*));
1N/Aextern __MANGLE__ __V_* strlook __PROTO__((const __V_*, size_t, const char*));
1N/Aextern __MANGLE__ int strmatch __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ int strmode __PROTO__((const char*));
1N/Aextern __MANGLE__ int strnacmp __PROTO__((const char*, const char*, size_t));
1N/Aextern __MANGLE__ char* strncopy __PROTO__((char*, const char*, size_t));
1N/Aextern __MANGLE__ int strnpcmp __PROTO__((const char*, const char*, size_t));
1N/Aextern __MANGLE__ double strntod __PROTO__((const char*, size_t, char**));
1N/Aextern __MANGLE__ _ast_fltmax_t strntold __PROTO__((const char*, size_t, char**));
1N/Aextern __MANGLE__ long strntol __PROTO__((const char*, size_t, char**, int));
1N/Aextern __MANGLE__ intmax_t strntoll __PROTO__((const char*, size_t, char**, int));
1N/Aextern __MANGLE__ long strnton __PROTO__((const char*, size_t, char**, char*, int));
1N/Aextern __MANGLE__ unsigned long strntoul __PROTO__((const char*, size_t, char**, int));
1N/Aextern __MANGLE__ intmax_t strntonll __PROTO__((const char*, size_t, char**, char*, int));
1N/Aextern __MANGLE__ uintmax_t strntoull __PROTO__((const char*, size_t, char**, int));
1N/Aextern __MANGLE__ int strnvcmp __PROTO__((const char*, const char*, size_t));
1N/Aextern __MANGLE__ int stropt __PROTO__((const char*, const __V_*, int, int(*)(__V_*, const __V_*, int, const char*), __V_*));
1N/Aextern __MANGLE__ int strpcmp __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ int strperm __PROTO__((const char*, char**, int));
1N/Aextern __MANGLE__ __V_* strpsearch __PROTO__((const __V_*, size_t, size_t, const char*, char**));
1N/Aextern __MANGLE__ __V_* strsearch __PROTO__((const __V_*, size_t, size_t, Strcmp_f, const char*, __V_*));
1N/Aextern __MANGLE__ void strsort __PROTO__((char**, int, int(*)(const char*, const char*)));
1N/Aextern __MANGLE__ char* strsubmatch __PROTO__((const char*, const char*, int));
1N/Aextern __MANGLE__ unsigned long strsum __PROTO__((const char*, unsigned long));
1N/Aextern __MANGLE__ char* strtape __PROTO__((const char*, char**));
1N/Aextern __MANGLE__ int strtoip4 __PROTO__((const char*, char**, uint32_t*, unsigned char*));
1N/Aextern __MANGLE__ long strton __PROTO__((const char*, char**, char*, int));
1N/Aextern __MANGLE__ intmax_t strtonll __PROTO__((const char*, char**, char*, int));
1N/Aextern __MANGLE__ int struid __PROTO__((const char*));
1N/Aextern __MANGLE__ int struniq __PROTO__((char**, int));
1N/Aextern __MANGLE__ int strvcmp __PROTO__((const char*, const char*));
1N/Aextern __MANGLE__ int wc2utf8 __PROTO__((char*, uint32_t));
1N/A
1N/A#undef __MANGLE__
1N/A#define __MANGLE__ __LINKAGE__
1N/A
1N/A/*
1N/A * C library global data symbols not prototyped by <unistd.h>
1N/A */
1N/A
1N/A#if !defined(environ) && defined(__DYNAMIC__)
1N/A#define environ __DYNAMIC__(environ)
1N/A#else
1N/Aextern __MANGLE__ char** environ;
1N/A#endif
1N/A
1N/A/*
1N/A * really handy malloc()/free() (__FILE__,__LINE__,__FUNCTION__) tracing
1N/A * make with VMDEBUG==1 or debug=1 or CCFLAGS=$(CC.DEBUG)
1N/A * VMDEBUG==0 disables
1N/A * at runtime export VMALLOC_OPTIONS per vmalloc.3
1N/A * to list originating call locations
1N/A */
1N/A
1N/A#if !_std_malloc && !defined(VMFL) && !defined(_VMHDR_H) && \
1N/A (VMDEBUG || !defined(VMDEBUG) && _BLD_DEBUG)
1N/A
1N/A#define VMFL 1
1N/A#include <vmalloc.h>
1N/A
1N/A#endif
1N/A
1N/A#include <ast_api.h>
1N/A
1N/A#define AST_PLUGIN_VERSION(v) ((v)>AST_VERSION?(v):AST_VERSION)
1N/A
1N/A#if defined(__EXPORT__)
1N/A#undef __MANGLE__
1N/A#define __MANGLE__ __LINKAGE__ __EXPORT__
1N/A#endif
1N/A
1N/Aextern __MANGLE__ unsigned long plugin_version __PROTO__((void));
1N/A
1N/A#undef __MANGLE__
1N/A#define __MANGLE__ __LINKAGE__
1N/A
1N/A#endif