xref: /titanic_41/usr/src/lib/libast/amd64/include/ast/tok.h (revision 3e14f97f673e8a630f076077de35afdd43dc1587)
1 
2 /* : : generated by proto : : */
3 /***********************************************************************
4 *                                                                      *
5 *               This software is part of the ast package               *
6 *          Copyright (c) 1985-2010 AT&T Intellectual Property          *
7 *                      and is licensed under the                       *
8 *                  Common Public License, Version 1.0                  *
9 *                    by AT&T Intellectual Property                     *
10 *                                                                      *
11 *                A copy of the License is available at                 *
12 *            http://www.opensource.org/licenses/cpl1.0.txt             *
13 *         (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9)         *
14 *                                                                      *
15 *              Information and Software Systems Research               *
16 *                            AT&T Research                             *
17 *                           Florham Park NJ                            *
18 *                                                                      *
19 *                 Glenn Fowler <gsf@research.att.com>                  *
20 *                  David Korn <dgk@research.att.com>                   *
21 *                   Phong Vo <kpv@research.att.com>                    *
22 *                                                                      *
23 ***********************************************************************/
24 
25 /*
26  * Glenn Fowler
27  * AT&T Research
28  *
29  * token stream interface definitions
30  */
31 
32 #ifndef _TOK_H
33 #if !defined(__PROTO__)
34 #include <prototyped.h>
35 #endif
36 #if !defined(__LINKAGE__)
37 #define __LINKAGE__		/* 2004-08-11 transition */
38 #endif
39 
40 #define _TOK_H
41 
42 #include <ast.h>
43 
44 #if _BLD_ast && defined(__EXPORT__)
45 #undef __MANGLE__
46 #define __MANGLE__ __LINKAGE__		__EXPORT__
47 #endif
48 
49 extern __MANGLE__ Sfio_t*		tokline __PROTO__((const char*, int, int*));
50 extern __MANGLE__ int		tokscan __PROTO__((char*, char**, const char*, ...));
51 extern __MANGLE__ char*		tokopen __PROTO__((char*, int));
52 extern __MANGLE__ void		tokclose __PROTO__((char*));
53 extern __MANGLE__ char*		tokread __PROTO__((char*));
54 
55 #undef __MANGLE__
56 #define __MANGLE__ __LINKAGE__
57 
58 #endif
59