src/c2html.h

changeset 24
e43dee5892f4
parent 22
f463693b5eeb
child 35
abaf2489c549
     1.1 --- a/src/c2html.h	Thu Jan 23 14:44:20 2014 +0100
     1.2 +++ b/src/c2html.h	Sun Apr 19 10:48:00 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.6   *
     1.7 - * Copyright 2014 Mike Becker. All rights reserved.
     1.8 + * Copyright 2015 Mike Becker. All rights reserved.
     1.9   *
    1.10   * Redistribution and use in source and binary forms, with or without
    1.11   * modification, are permitted provided that the following conditions are met:
    1.12 @@ -47,12 +47,16 @@
    1.13  
    1.14  #define INPUTBUF_SIZE 2048
    1.15  
    1.16 +#define C2HTML_C    0
    1.17 +#define C2HTML_JAVA 1
    1.18 +    
    1.19  typedef struct {
    1.20      char* outfilename;
    1.21      char* headerfile;
    1.22      char* footerfile;
    1.23      char* infilename;
    1.24      int highlight;
    1.25 +    int showlinenumbers;
    1.26  } settings_t;
    1.27  
    1.28  typedef struct {
    1.29 @@ -62,6 +66,7 @@
    1.30      char** lines;
    1.31  } inputfile_t;
    1.32  
    1.33 +typedef size_t(*fmt_write_func)(const void*, size_t, size_t, void*);
    1.34  
    1.35  #ifdef	__cplusplus
    1.36  }

mercurial