14887Schin 24887Schin /* : : generated by proto : : */ 34887Schin /*********************************************************************** 44887Schin * * 54887Schin * This software is part of the ast package * 6*12068SRoger.Faulkner@Oracle.COM * Copyright (c) 1985-2010 AT&T Intellectual Property * 74887Schin * and is licensed under the * 84887Schin * Common Public License, Version 1.0 * 98462SApril.Chin@Sun.COM * by AT&T Intellectual Property * 104887Schin * * 114887Schin * A copy of the License is available at * 124887Schin * http://www.opensource.org/licenses/cpl1.0.txt * 134887Schin * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 144887Schin * * 154887Schin * Information and Software Systems Research * 164887Schin * AT&T Research * 174887Schin * Florham Park NJ * 184887Schin * * 194887Schin * Glenn Fowler <gsf@research.att.com> * 204887Schin * David Korn <dgk@research.att.com> * 214887Schin * Phong Vo <kpv@research.att.com> * 224887Schin * * 234887Schin ***********************************************************************/ 244887Schin 254887Schin /* 264887Schin * Glenn Fowler 274887Schin * AT&T Research 284887Schin * 294887Schin * token stream interface definitions 304887Schin */ 314887Schin 324887Schin #ifndef _TOK_H 334887Schin #if !defined(__PROTO__) 344887Schin #include <prototyped.h> 354887Schin #endif 364887Schin #if !defined(__LINKAGE__) 374887Schin #define __LINKAGE__ /* 2004-08-11 transition */ 384887Schin #endif 394887Schin 404887Schin #define _TOK_H 414887Schin 424887Schin #include <ast.h> 434887Schin 444887Schin #if _BLD_ast && defined(__EXPORT__) 454887Schin #undef __MANGLE__ 464887Schin #define __MANGLE__ __LINKAGE__ __EXPORT__ 474887Schin #endif 484887Schin 494887Schin extern __MANGLE__ Sfio_t* tokline __PROTO__((const char*, int, int*)); 504887Schin extern __MANGLE__ int tokscan __PROTO__((char*, char**, const char*, ...)); 514887Schin extern __MANGLE__ char* tokopen __PROTO__((char*, int)); 524887Schin extern __MANGLE__ void tokclose __PROTO__((char*)); 534887Schin extern __MANGLE__ char* tokread __PROTO__((char*)); 544887Schin 554887Schin #undef __MANGLE__ 564887Schin #define __MANGLE__ __LINKAGE__ 574887Schin 584887Schin #endif 59