Pengfei Liu | 2afc35d | 2020-01-07 10:47:39 +0800 | [diff] [blame^] | 1 | #ifndef _DVR_SEGMENT_H_ |
| 2 | #define _DVR_SEGMENT_H_ |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 8 | #include "dvr_common.h" |
| 9 | |
| 10 | typedef struct DVR_Segment_s { |
| 11 | } DVR_Segment; |
| 12 | |
| 13 | int dvr_segment_open(const char *location, uint64_t segment_id); |
| 14 | |
| 15 | int dvr_segment_file_load(const char *location, uint64_t segment_id, DVR_SegmentStoreInfo *p_info); |
| 16 | |
| 17 | int dvr_segment_file_del(const char *location, uint64_t segment_id); |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |
| 22 | |
| 23 | #endif /*END _DVR_SEGMENT_H_*/ |