aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnki.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cnki.h')
-rw-r--r--src/cnki.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cnki.h b/src/cnki.h
index 569cea7..237a2c1 100644
--- a/src/cnki.h
+++ b/src/cnki.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
+ * Copyright (c) 2020-2022, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -97,5 +97,7 @@ int cnki_jbig(char **bitmap, int *bitmap_size,
int *bitmap_width, int *bitmap_height,
const char * restrict jbig, int jbig_size);
-/* cnki_xml.c */
-int cnki_xml(char **xml, FILE **fp);
+/* cnki_jbig2.c */
+int cnki_jbig2(char **bitmap, int *bitmap_size,
+ int *bitmap_width, int *bitmap_height,
+ const char * restrict jbig, int jbig_size);