1105401Stmm/* $FreeBSD$ */ 2105401Stmm/* $NetBSD: ldef.h,v 1.2 2005/06/27 01:23:59 fvdl Exp $ */ 3105401Stmm 4105401Stmm/*- 5105401Stmm * Copyright (c)2003 Citrus Project, 6105401Stmm * All rights reserved. 7105401Stmm * 8105401Stmm * Redistribution and use in source and binary forms, with or without 9105401Stmm * modification, are permitted provided that the following conditions 10105401Stmm * are met: 11105401Stmm * 1. Redistributions of source code must retain the above copyright 12105401Stmm * notice, this list of conditions and the following disclaimer. 13105401Stmm * 2. Redistributions in binary form must reproduce the above copyright 14105401Stmm * notice, this list of conditions and the following disclaimer in the 15105401Stmm * documentation and/or other materials provided with the distribution. 16105401Stmm * 17105401Stmm * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18105401Stmm * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19105401Stmm * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20105401Stmm * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21105401Stmm * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22105401Stmm * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23105401Stmm * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24105401Stmm * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25105401Stmm * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26105401Stmm * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27105401Stmm * SUCH DAMAGE. 28105401Stmm */ 29129589Smarius 30129589Smariusextern int linenumber; 31129589Smariusextern int yyerror(const char *); 32129589Smariusextern int yylex(void); 33129589Smarius 34105401Stmmstruct named_csid { 35105401Stmm STAILQ_ENTRY(named_csid) ci_entry; 36129589Smarius char *ci_symbol; 37129589Smarius u_int32_t ci_csid; 38105401Stmm}; 39129589SmariusSTAILQ_HEAD(named_csid_list, named_csid); 40105401Stmm