/*1Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.2All rights reserved.3Copyright (C) 2007-2011, Gabriel Dos Reis.4All rights reserved.56Redistribution and use in source and binary forms, with or without7modification, are permitted provided that the following conditions are8met:910- Redistributions of source code must retain the above copyright11notice, this list of conditions and the following disclaimer.1213- Redistributions in binary form must reproduce the above copyright14notice, this list of conditions and the following disclaimer in15the documentation and/or other materials provided with the16distribution.1718- Neither the name of The Numerical Algorithms Group Ltd. nor the19names of its contributors may be used to endorse or promote products20derived from this software without specific prior written permission.2122THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS23IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED24TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A25PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER26OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,27EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,28PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR29PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF30LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING31NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS32SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.33*/3435#ifndef OPENAXIOM_wct_INCLUDED36#define OPENAXIOM_wct_INCLUDED3738extern time_t ftime(char * );39extern void fatal(const char * , const char * );40extern off_t fsize(char * );41extern Wix * scanWct(Wct * , char * );42extern void reintern1Wct(Wct * );43extern Wix * rescanWct(void);44extern void skimWct(Wct * );45extern void skim1Wct(Wct * );46extern void printTime(long * );47extern int skimString(char * , int , int , int );48extern int prChar(int );49extern Wct * reread1Wct(Wct * );50extern void sfatal(const char * );51extern Wct * read1Wct(char * );52extern Wct * nconcWct(Wct * , Wct * );53extern void sortWct(Wct * );54extern void sort1Wct(Wct * );55extern int mystrcmp(const void * , const void * );56extern void burstWct(Wct * );57extern void burst1Wct(Wct * );58extern Wct * intern1Wct(char * );59extern void load_wct_file(char * );60extern void skim_wct(void);61extern void rescan_wct(void);62extern void find_wct(void);6364#endif /* OPENAXIOM_wct_INCLUDED */656667