ast_map.h revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968
1
2/* : : generated by proto : : */
3/* : : generated from /home/gisburn/ksh93/ast_ksh_20070418/build_sparc_32bit/src/lib/libast/features/map.c by iffe version 2007-04-04 : : */
4#ifndef _def_map_ast
5#if !defined(__PROTO__)
6#  if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
7#    if defined(__cplusplus)
8#      define __LINKAGE__	"C"
9#    else
10#      define __LINKAGE__
11#    endif
12#    define __STDARG__
13#    define __PROTO__(x)	x
14#    define __OTORP__(x)
15#    define __PARAM__(n,o)	n
16#    if !defined(__STDC__) && !defined(__cplusplus)
17#      if !defined(c_plusplus)
18#      	define const
19#      endif
20#      define signed
21#      define void		int
22#      define volatile
23#      define __V_		char
24#    else
25#      define __V_		void
26#    endif
27#  else
28#    define __PROTO__(x)	()
29#    define __OTORP__(x)	x
30#    define __PARAM__(n,o)	o
31#    define __LINKAGE__
32#    define __V_		char
33#    define const
34#    define signed
35#    define void		int
36#    define volatile
37#  endif
38#  define __MANGLE__	__LINKAGE__
39#  if defined(__cplusplus) || defined(c_plusplus)
40#    define __VARARG__	...
41#  else
42#    define __VARARG__
43#  endif
44#  if defined(__STDARG__)
45#    define __VA_START__(p,a)	va_start(p,a)
46#  else
47#    define __VA_START__(p,a)	va_start(p)
48#  endif
49#  if !defined(__INLINE__)
50#    if defined(__cplusplus)
51#      define __INLINE__	extern __MANGLE__ inline
52#    else
53#      if defined(_WIN32) && !defined(__GNUC__)
54#      	define __INLINE__	__inline
55#      endif
56#    endif
57#  endif
58#endif
59#if !defined(__LINKAGE__)
60#define __LINKAGE__		/* 2004-08-11 transition */
61#endif
62
63#define _def_map_ast	1
64#define _sys_types	1	/* #include <sys/types.h> ok */
65
66
67/*
68 * prototypes provided for standard interfaces hijacked
69 * by ast and mapped to _ast_* but already prototyped
70 * unmapped in native headers included by <ast_std.h>
71 */
72
73#if _BLD_ast && defined(__EXPORT__)
74#undef __MANGLE__
75#define __MANGLE__ __LINKAGE__		__EXPORT__
76#endif
77
78
79#define	_map_libc	1
80#undef	basename
81#define basename	_ast_basename
82#undef	dirname
83#define dirname		_ast_dirname
84#undef	eaccess
85#define eaccess		_ast_eaccess
86#undef	execvpe
87#define execvpe		_ast_execvpe
88extern __MANGLE__ int		execvpe __PROTO__((const char*, char* const[], char* const[]));
89#undef	fnmatch
90#define fnmatch		_ast_fnmatch
91#undef	fts_children
92#define fts_children    _ast_fts_children
93#undef	fts_close
94#define fts_close       _ast_fts_close
95#undef	fts_flags
96#define fts_flags       _ast_fts_flags
97#undef	fts_notify
98#define fts_notify      _ast_fts_notify
99#undef	fts_open
100#define fts_open	_ast_fts_open
101#undef	fts_read
102#define fts_read	_ast_fts_read
103#undef	fts_set
104#define fts_set		_ast_fts_set
105#undef	ftw
106#define ftw		_ast_ftw
107#undef	ftwalk
108#define ftwalk		_ast_ftwalk
109#undef	ftwflags
110#define ftwflags	_ast_ftwflags
111#undef	getcwd
112#define getcwd		_ast_getcwd
113extern __MANGLE__ char*		getcwd __PROTO__((char*, size_t));
114#undef	getdate
115#define getdate		_ast_getdate
116#undef	getopt
117#define getopt		_ast_getopt
118#undef	getsubopt
119#define getsubopt       _ast_getsubopt
120#undef	getopt_long
121#define getopt_long	_ast_getopt_long
122#undef	getopt_long_only
123#define getopt_long_only _ast_getopt_long_only
124#undef	getwd
125#define getwd		_ast_getwd
126extern __MANGLE__ char*		getwd __PROTO__((char*));
127#undef	glob
128#define glob		_ast_glob
129#undef	globfree
130#define globfree	_ast_globfree
131#undef	memdup
132#define memdup		_ast_memdup
133#undef	memfatal
134#define memfatal	_ast_memfatal
135#undef	memhash
136#define memhash		_ast_memhash
137#undef	memsum
138#define memsum		_ast_memsum
139#undef	mkstemp
140#define mkstemp		_ast_mkstemp
141extern __MANGLE__ int		mkstemp __PROTO__((char*));
142#undef	mktemp
143#define mktemp		_ast_mktemp
144extern __MANGLE__ char*		mktemp __PROTO__((char*));
145#undef	mktime
146#define mktime		_ast_mktime
147#undef	nftw
148#define nftw		_ast_nftw
149#undef	optesc
150#define optesc		_ast_optesc
151#undef	optget
152#define optget		_ast_optget
153#undef	opthelp
154#define opthelp		_ast_opthelp
155#undef	optjoin
156#define optjoin		_ast_optjoin
157#undef	optstr
158#define optstr		_ast_optstr
159#undef	optusage
160#define optusage	_ast_optusage
161#undef	pathaccess
162#define pathaccess	_ast_pathaccess
163#undef	pathbin
164#define pathbin		_ast_pathbin
165#undef	pathcanon
166#define pathcanon	_ast_pathcanon
167#undef	pathcat
168#define pathcat		_ast_pathcat
169#undef	pathcd
170#define pathcd		_ast_pathcd
171#undef	pathcheck
172#define pathcheck	_ast_pathcheck
173#undef	pathexists
174#define pathexists	_ast_pathexists
175#undef	pathfind
176#define pathfind	_ast_pathfind
177#undef	pathgetlink
178#define pathgetlink	_ast_pathgetlink
179#undef	pathinclude
180#define pathinclude	_ast_pathinclude
181#undef	pathkey
182#define pathkey		_ast_pathkey
183#undef	pathnative
184#define pathnative	_ast_pathnative
185#undef	pathpath
186#define pathpath	_ast_pathpath
187#undef	pathposix
188#define pathposix	_ast_pathposix
189#undef	pathprobe
190#define pathprobe	_ast_pathprobe
191#undef	pathrepl
192#define pathrepl	_ast_pathrepl
193#undef	pathsetlink
194#define pathsetlink	_ast_pathsetlink
195#undef	pathshell
196#define pathshell	_ast_pathshell
197#undef	pathstat
198#define pathstat	_ast_pathstat
199#undef	pathtemp
200#define pathtemp	_ast_pathtemp
201#undef	pathtmp
202#define pathtmp		_ast_pathtmp
203#undef	procclose
204#define procclose	_ast_procclose
205#undef	procfree
206#define procfree	_ast_procfree
207#undef	procopen
208#define procopen	_ast_procopen
209#undef	procrun
210#define procrun		_ast_procrun
211#undef	putenv
212#define putenv		_ast_putenv
213#undef	re_comp
214#define re_comp		_ast_re_comp
215#undef	re_exec
216#define re_exec		_ast_re_exec
217#undef	realpath
218#define realpath	_ast_realpath
219extern __MANGLE__ char*		realpath __PROTO__((const char*, char*));
220#undef	regaddclass
221#define regaddclass	_ast_regaddclass
222#undef	regalloc
223#define regalloc	_ast_regalloc
224#undef	regcache
225#define regcache	_ast_regcache
226#undef	regclass
227#define regclass	_ast_regclass
228#undef	regcmp
229#define regcmp		_ast_regcmp
230#undef	regcollate
231#define regcollate      _ast_regcollate
232#undef	regcomb
233#define regcomb		_ast_regcomb
234#undef	regcomp
235#define regcomp		_ast_regcomp
236#undef	regdecomp
237#define regdecomp	_ast_regdecomp
238#undef	regdup
239#define regdup		_ast_regdup
240#undef	regerror
241#define regerror	_ast_regerror
242#undef	regex
243#define regex		_ast_regex
244#undef	regexec
245#define regexec		_ast_regexec
246#undef	regfatal
247#define regfatal	_ast_regfatal
248#undef	regfatalpat
249#define regfatalpat     _ast_regfatalpat
250#undef	regfree
251#define regfree		_ast_regfree
252#undef	regncomp
253#define regncomp	_ast_regncomp
254#undef	regnexec
255#define regnexec	_ast_regnexec
256#undef	regrecord
257#define regrecord       _ast_regrecord
258#undef	regrexec
259#define regrexec	_ast_regrexec
260#undef	regstat
261#define regstat		_ast_regstat
262#undef	regsub
263#define regsub		_ast_regsub
264#undef	regsubcomp
265#define regsubcomp	_ast_regsubcomp
266#undef	regsubexec
267#define regsubexec	_ast_regsubexec
268#undef	regsubflags
269#define regsubflags	_ast_regsubflags
270#undef	regsubfree
271#define regsubfree	_ast_regsubfree
272#undef	remove
273#define remove		_ast_remove
274extern __MANGLE__ int		remove __PROTO__((const char*));
275#undef	resolvepath
276#define resolvepath	_ast_resolvepath
277extern __MANGLE__ char*		resolvepath __PROTO__((const char*, char*, size_t));
278#undef	setenv
279#define setenv		_ast_setenv
280extern __MANGLE__ int		setenv __PROTO__((const char*, const char*, int));
281#undef	setenviron
282#define setenviron      _ast_setenviron
283#undef	sigcritical
284#define sigcritical      _ast_sigcritical
285#undef	signal
286#define signal      	_ast_signal
287#undef	sigunblock
288#define sigunblock      _ast_sigunblock
289#undef	stracmp
290#define stracmp		_ast_stracmp
291#undef	strcopy
292#define strcopy		_ast_strcopy
293#undef	strelapsed
294#define strelapsed	_ast_strelapsed
295#undef	stresc
296#define stresc		_ast_stresc
297#undef	streval
298#define streval		_ast_streval
299#undef	strexpr
300#define strexpr		_ast_strexpr
301#undef	strftime
302#define strftime	_ast_strftime
303#undef	strgid
304#define strgid		_ast_strgid
305#undef	strgrpmatch
306#define strgrpmatch	_ast_strgrpmatch
307#undef	strhash
308#define strhash		_ast_strhash
309#undef	strkey
310#define strkey		_ast_strkey
311#undef	strlcat
312#define strlcat		_ast_strlcat
313extern __MANGLE__ size_t		strlcat __PROTO__((char*, const char*, size_t));
314#undef	strlcpy
315#define strlcpy		_ast_strlcpy
316extern __MANGLE__ size_t		strlcpy __PROTO__((char*, const char*, size_t));
317#undef	strlook
318#define strlook		_ast_strlook
319#undef	strmatch
320#define strmatch	_ast_strmatch
321#undef	strmode
322#define strmode		_ast_strmode
323#undef	strnacmp
324#define strnacmp	_ast_strnacmp
325#undef	strncopy
326#define strncopy	_ast_strncopy
327#undef	strntod
328#define strntod		_ast_strntod
329#undef	strntol
330#define strntol		_ast_strntol
331#undef	strntold
332#define strntold	_ast_strntold
333#undef	strntoll
334#define strntoll	_ast_strntoll
335#undef	strntoul
336#define strntoul	_ast_strntoul
337#undef	strntoull
338#define strntoull	_ast_strntoull
339#undef	stropt
340#define stropt		_ast_stropt
341#undef	strperm
342#define strperm		_ast_strperm
343#undef	strpsearch
344#define strpsearch	_ast_strpsearch
345#undef	strptime
346#define strptime	_ast_strptime
347#undef	strsearch
348#define strsearch	_ast_strsearch
349#undef	strsort
350#define strsort		_ast_strsort
351#undef	strsubmatch
352#define strsubmatch	_ast_strsubmatch
353#undef	strsum
354#define strsum		_ast_strsum
355#undef	strtape
356#define strtape		_ast_strtape
357#undef	strtoip4
358#define strtoip4	_ast_strtoip4
359#undef	strton
360#define strton		_ast_strton
361#undef	strtonll
362#define strtonll	_ast_strtonll
363#undef	struid
364#define struid		_ast_struid
365#undef	struniq
366#define struniq		_ast_struniq
367#undef	system
368#define system		_ast_system
369extern __MANGLE__ int		system __PROTO__((const char*));
370#undef	tempnam
371#define tempnam		_ast_tempnam
372extern __MANGLE__ char*		tempnam __PROTO__((const char*, const char*));
373#undef	tmpnam
374#define tmpnam		_ast_tmpnam
375extern __MANGLE__ char*		tmpnam __PROTO__((char*));
376#undef	touch
377#define touch		_ast_touch
378#undef	wordexp
379#define wordexp		_ast_wordexp
380#undef	wordfree
381#define wordfree	_ast_wordfree
382#undef	unsetenv
383#define unsetenv	_ast_unsetenv
384
385/* cannot override local malloc */
386#define	_map_malloc	1
387#undef	calloc
388#define calloc		_ast_calloc
389extern __MANGLE__ __V_*		calloc __PROTO__((size_t, size_t));
390#undef	cfree
391#define cfree		_ast_cfree
392extern __MANGLE__ void		cfree __PROTO__((__V_*));
393#undef	free
394#define free		_ast_free
395extern __MANGLE__ void		free __PROTO__((__V_*));
396#undef	malloc
397#define malloc		_ast_malloc
398extern __MANGLE__ __V_*		malloc __PROTO__((size_t));
399#undef	memalign
400#define memalign	_ast_memalign
401extern __MANGLE__ __V_*		memalign __PROTO__((size_t, size_t));
402#undef	realloc
403#define realloc		_ast_realloc
404extern __MANGLE__ __V_*		realloc __PROTO__((__V_*, size_t));
405#undef	strdup
406#define strdup		_ast_strdup
407extern __MANGLE__ char*		strdup __PROTO__((const char*));
408#undef	valloc
409#define valloc		_ast_valloc
410extern __MANGLE__ __V_*		valloc __PROTO__((size_t));
411#undef	strtol
412#define strtol		_ast_strtol
413#undef	strtoul
414#define strtoul		_ast_strtoul
415#undef	strtoll
416#define strtoll		_ast_strtoll
417#undef	strtoull
418#define strtoull	_ast_strtoull
419#undef	strtod
420#define strtod		_ast_strtod
421#undef	strtold
422#define strtold		_ast_strtold
423extern __MANGLE__ long		strtol __PROTO__((const char*, char**, int));
424extern __MANGLE__ unsigned long	strtoul __PROTO__((const char*, char**, int));
425extern __MANGLE__ double		strtod __PROTO__((const char*, char**));
426#if !_UWIN
427#undef __MANGLE__
428#define __MANGLE__ __LINKAGE__
429#endif
430extern __MANGLE__ _ast_fltmax_t	strtold __PROTO__((const char*, char**));
431#undef __MANGLE__
432#define __MANGLE__ __LINKAGE__
433extern __MANGLE__ _ast_intmax_t		strtoll __PROTO__((const char*, char**, int));
434extern __MANGLE__ unsigned _ast_intmax_t	strtoull __PROTO__((const char*, char**, int));
435
436#undef __MANGLE__
437#define __MANGLE__ __LINKAGE__
438#endif
439