blob: 25ed203fab269ef6ad2bb9a89a4d5339322e36ac [file] [log] [blame]
Pengfei Liu2afc35d2020-01-07 10:47:39 +08001#ifndef _DVR_SEGMENT_H_
2#define _DVR_SEGMENT_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include "dvr_common.h"
9
10typedef struct DVR_Segment_s {
11} DVR_Segment;
12
13int dvr_segment_open(const char *location, uint64_t segment_id);
14
15int dvr_segment_file_load(const char *location, uint64_t segment_id, DVR_SegmentStoreInfo *p_info);
16
17int 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_*/