YPC  0.2.0
person_reader.h
1 #pragma once
2 #include <stdint.h>
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 void *create_item_reader(const char *file_path, int len);
8 
9 int reset_for_read(void *handle);
10 int read_item_data(void *handle, char *buf, int *len);
11 int close_item_reader(void *handle);
12 uint64_t get_item_number(void *handle);
13 
14 #ifdef __cplusplus
15 }
16 #endif