diff -r f44a185b678b -r e43dee5892f4 src/c2html.h
--- a/src/c2html.h Thu Jan 23 14:44:20 2014 +0100
+++ b/src/c2html.h Sun Apr 19 10:48:00 2015 +0200
@@ -1,7 +1,7 @@
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
- * Copyright 2014 Mike Becker. All rights reserved.
+ * Copyright 2015 Mike Becker. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -47,12 +47,16 @@
#define INPUTBUF_SIZE 2048
+#define C2HTML_C 0
+#define C2HTML_JAVA 1
+
typedef struct {
char* outfilename;
char* headerfile;
char* footerfile;
char* infilename;
int highlight;
+ int showlinenumbers;
} settings_t;
typedef struct {
@@ -62,6 +66,7 @@
char** lines;
} inputfile_t;
+typedef size_t(*fmt_write_func)(const void*, size_t, size_t, void*);
#ifdef __cplusplus
}