src/c2html.h

Tue, 23 Aug 2016 17:31:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 23 Aug 2016 17:31:15 +0200
changeset 49
f86f0b054464
parent 39
ac35daceb24c
child 52
33ded421c512
permissions
-rw-r--r--

cleans up includes

universe@22 1 /*
universe@22 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@22 3 *
universe@35 4 * Copyright 2016 Mike Becker. All rights reserved.
universe@22 5 *
universe@22 6 * Redistribution and use in source and binary forms, with or without
universe@22 7 * modification, are permitted provided that the following conditions are met:
universe@22 8 *
universe@22 9 * 1. Redistributions of source code must retain the above copyright
universe@22 10 * notice, this list of conditions and the following disclaimer.
universe@22 11 *
universe@22 12 * 2. Redistributions in binary form must reproduce the above copyright
universe@22 13 * notice, this list of conditions and the following disclaimer in the
universe@22 14 * documentation and/or other materials provided with the distribution.
universe@22 15 *
universe@22 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@22 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@22 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
universe@22 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
universe@22 20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
universe@22 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
universe@22 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
universe@22 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
universe@22 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
universe@22 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
universe@22 26 * POSSIBILITY OF SUCH DAMAGE.
universe@22 27 *
universe@22 28 */
universe@22 29
universe@22 30 #ifndef C2HTML_H
universe@22 31 #define C2HTML_H
universe@22 32
universe@22 33 #include <fcntl.h>
universe@22 34 #include <unistd.h>
universe@22 35
universe@22 36 #include "javacodegen.h"
universe@22 37 #include "ccodegen.h"
universe@22 38
universe@22 39 #ifdef __cplusplus
universe@22 40 extern "C" {
universe@22 41 #endif
universe@37 42
universe@37 43 #define VERSION_MAJOR 2
universe@37 44 #define VERSION_MINOR 0
universe@39 45 #define VERSION_DEVELOP 1 /* set this to zero for release version */
universe@22 46
universe@22 47 typedef struct {
universe@22 48 char* outfilename;
universe@22 49 char* headerfile;
universe@22 50 char* footerfile;
universe@22 51 char* infilename;
olaf@24 52 int showlinenumbers;
universe@39 53 } Settings;
universe@22 54
universe@22 55
universe@22 56 #ifdef __cplusplus
universe@22 57 }
universe@22 58 #endif
universe@22 59
universe@22 60 #endif /* C2HTML_H */
universe@22 61

mercurial