-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathkisslib.h
More file actions
28 lines (22 loc) · 701 Bytes
/
Copy pathkisslib.h
File metadata and controls
28 lines (22 loc) · 701 Bytes
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
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <ctype.h> // tolower
#ifndef _KISSLIB_H
#define _KISSLIB_H
typedef struct fileInfo {
char** entries;
int* types;
int count;
} fileInfo;
//------------------------------------------------------------------------------
extern bool read_pdf(char[], fileInfo*);
int check_known_pdf_meta(char[]);
extern bool read_mobi(char[], fileInfo*);
extern bool read_chm(char[], fileInfo*);
//------------------------------------------------------------------------------
// NOTE: Epub handling requires libzip c library, from https://nih.at/libzip/
#include <zip.h>
extern bool read_epub(char[], fileInfo*);
#endif