| 1 | #ifdef FLEX_SCANNER
|
|---|
| 2 | /*
|
|---|
| 3 | dnl tables_shared.h - tables serialization header
|
|---|
| 4 | dnl
|
|---|
| 5 | dnl Copyright (c) 1990 The Regents of the University of California.
|
|---|
| 6 | dnl All rights reserved.
|
|---|
| 7 | dnl
|
|---|
| 8 | dnl This code is derived from software contributed to Berkeley by
|
|---|
| 9 | dnl Vern Paxson.
|
|---|
| 10 | dnl
|
|---|
| 11 | dnl The United States Government has rights in this work pursuant
|
|---|
| 12 | dnl to contract no. DE-AC03-76SF00098 between the United States
|
|---|
| 13 | dnl Department of Energy and the University of California.
|
|---|
| 14 | dnl
|
|---|
| 15 | dnl This file is part of flex.
|
|---|
| 16 | dnl
|
|---|
| 17 | dnl Redistribution and use in source and binary forms, with or without
|
|---|
| 18 | dnl modification, are permitted provided that the following conditions
|
|---|
| 19 | dnl are met:
|
|---|
| 20 | dnl
|
|---|
| 21 | dnl 1. Redistributions of source code must retain the above copyright
|
|---|
| 22 | dnl notice, this list of conditions and the following disclaimer.
|
|---|
| 23 | dnl 2. Redistributions in binary form must reproduce the above copyright
|
|---|
| 24 | dnl notice, this list of conditions and the following disclaimer in the
|
|---|
| 25 | dnl documentation and/or other materials provided with the distribution.
|
|---|
| 26 | dnl
|
|---|
| 27 | dnl Neither the name of the University nor the names of its contributors
|
|---|
| 28 | dnl may be used to endorse or promote products derived from this software
|
|---|
| 29 | dnl without specific prior written permission.
|
|---|
| 30 | dnl
|
|---|
| 31 | dnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|---|
| 32 | dnl IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|---|
| 33 | dnl WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|---|
| 34 | dnl PURPOSE.
|
|---|
| 35 | |
|---|
| 36 |
|
|---|
| 37 | dnl
|
|---|
| 38 | dnl This file is meant to be included in both the skeleton and the actual
|
|---|
| 39 | dnl flex code (hence the name "_shared").
|
|---|
| 40 | */
|
|---|
| 41 | #ifndef yyskel_static
|
|---|
| 42 | #define yyskel_static static
|
|---|
| 43 | #endif
|
|---|
| 44 | #else
|
|---|
| 45 | #ifndef yyskel_static
|
|---|
| 46 | #define yyskel_static
|
|---|
| 47 | #endif
|
|---|
| 48 | #endif
|
|---|
| 49 |
|
|---|
| 50 | /* Structures and prototypes for serializing flex tables. The
|
|---|
| 51 | * binary format is documented in the manual.
|
|---|
| 52 | *
|
|---|
| 53 | * Design considerations:
|
|---|
| 54 | *
|
|---|
| 55 | * - The format allows many tables per file.
|
|---|
| 56 | * - The tables can be streamed.
|
|---|
| 57 | * - All data is stored in network byte order.
|
|---|
|
|---|