1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
#ifndef UDO_TYPE_H
#define UDO_TYPE_H
/* ############################################################
# @(#) udo_type.h
# @(#)
# @(#) Copyright (c) 1995-2001 by Dirk Hagedorn
# @(#) Dirk Hagedorn (udo@dirk-hagedorn.de)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################ */
#include "portab.h"
/* --------------------------------------------------
diverse Flags fuer pass1() und pass2()
-------------------------------------------------- */
typedef struct _passflags
{
BOOLEAN inside_apx; /* !begin_appendix aktiv? */
int ignore_line; /* Zeile nicht bearbeiten? */
int env; /* ENV_NONE, ENV_RAW etc. */ /*r6pl2*/
BOOLEAN env1st;
} PASSFLAGS;
/* --------------------------------------------------
Sprachstrings
-------------------------------------------------- */
typedef struct _lang
{
char preface[32]; /* Vorwort */
char chapter[32]; /* Kapitel */
char appendix[32]; /* Anhang */
char contents[32]; /* Inhaltsverzeichnis */
char title[32]; /* Titel */
char figure[32]; /* Abbildung */
char table[32]; /* Tabelle */
char index[32]; /* Index */
char listfigure[32]; /* Abbildungsverzeichnis */
char listtable[32]; /* Tabellenverzeichnis */
char page[32]; /* Seite */
char see[32]; /* siehe */
char also[32]; /* siehe auch */
char by[16]; /* von */
char up[8]; /* Hoch (WinHelp) */
char exit[10]; /* Beenden (WinHelp) */
char today[32]; /* 28. Februar 1995 */
char short_today[32]; /* 28.02.1995 */
char update[64]; /* Last updated on (HTML) */
char unknown[32]; /* Unbekannt, Unknown etc. */
char html_home[32]; /* "Home" */
char html_up[32]; /* "Hoch" */
char html_prev[32]; /* "Zurueck" */
char html_next[32]; /* "Weiter" */
char lcid[64]; /* LCID fuer WinHelp4 */
/* New in r6pl16 [NHz] */
char html_lang[15]; /* Sprachenkuerzel */
char html_start[32]; /* "Start" */
} LANG;
/* -------------------------------------------------- */
#define MYFILE_FULL_LEN 512
#define MYFILE_DRIV_LEN 16
#define MYFILE_PATH_LEN 256
#define MYFILE_NAME_LEN 256
#define MYFILE_SUFF_LEN 32
typedef struct _myfile
{
FILE *file; /* Stream */
char full[MYFILE_FULL_LEN+1]; /* Kompletter Zugriffspfad */
char driv[MYFILE_DRIV_LEN+1]; /* Laufwerk */
char path[MYFILE_PATH_LEN+1]; /* Pfad */
char name[MYFILE_NAME_LEN+1]; /* Dateiname */
char suff[MYFILE_SUFF_LEN+1]; /* Endung */
int opened; /* Datei geoeffnet? */
} MYFILE;
/* ############################################################
# udo_type.h
############################################################ */
#endif /* UDO_TYPE_H */
|