mirror of
https://libwebsockets.org/repo/libwebsockets
synced 2024-11-24 01:39:33 +00:00
d7f0521aeb
Having unique private header names is a requirement of a particular platform build system it's desirable to work with
24 lines
404 B
C
24 lines
404 B
C
#include <libwebsockets.h>
|
|
|
|
/* if you need > 2GB trie files */
|
|
//typedef off_t jg2_file_offset;
|
|
typedef uint32_t jg2_file_offset;
|
|
|
|
struct lws_fts_file {
|
|
int fd;
|
|
jg2_file_offset root, flen, filepath_table;
|
|
int max_direct_hits;
|
|
int max_completion_hits;
|
|
int filepaths;
|
|
};
|
|
|
|
|
|
|
|
#define TRIE_FILE_HDR_SIZE 20
|
|
#define MAX_VLI 5
|
|
|
|
#define LWS_FTS_LINES_PER_CHUNK 200
|
|
|
|
int
|
|
rq32(unsigned char *b, uint32_t *d);
|