35 lines
956 B
C
35 lines
956 B
C
|
|
#ifndef _FRAG_DEDUP_H
|
|||
|
|
#define _FRAG_DEDUP_H
|
|||
|
|
|
|||
|
|
#define TD_QUERY_TYPE_DEDUP 0x01 //<2F><><EFBFBD>ز<EFBFBD>ѯ<EFBFBD><D1AF>־λ
|
|||
|
|
#define TD_QUERY_TYPE_MULTISRC 0x02 //<2F><>Դ<EFBFBD><D4B4>ѯ<EFBFBD><D1AF>־λ
|
|||
|
|
#define TD_QUERY_TYPE_YES 0x04 //<2F><>ѯ<EFBFBD>ı<EFBFBD>־λ
|
|||
|
|
#define TD_QUERY_ACK_DEDUP 0x10 //<2F><><EFBFBD>ز<EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD>ؽ<EFBFBD><D8BD><EFBFBD><EFBFBD><EFBFBD>־λ
|
|||
|
|
#define TD_QUERY_ACK_MULTISRC 0x20 //<2F><>Դ<EFBFBD><D4B4>ѯ<EFBFBD><D1AF><EFBFBD>ؽ<EFBFBD><D8BD><EFBFBD><EFBFBD><EFBFBD>־λ
|
|||
|
|
#define TD_QUERY_RES_DEDUP 0x40 //<2F><><EFBFBD>ر<EFBFBD>ʶ
|
|||
|
|
#define TD_QUERY_RES_MULTISRC 0x80 //<2F><>Դ<EFBFBD><D4B4>ʶ
|
|||
|
|
#define TD_QUERY_RES_NOREPORT 0x08 //<2F>ϱ<EFBFBD><CFB1><EFBFBD>ʶ
|
|||
|
|
|
|||
|
|
struct timer_context_t
|
|||
|
|
{
|
|||
|
|
uint64_t mid;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
#ifdef __cplusplus
|
|||
|
|
extern "C" {
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
void generate_td_meta(media_t* mdi);
|
|||
|
|
long set_td_data(media_t* mdi, frag_in_t* frg);
|
|||
|
|
void media_dedup_report(media_t* mdi);
|
|||
|
|
void free_query_detail(query_detail_t* query_detail);
|
|||
|
|
void proc_media_multisrc(media_t* mdi, int timeout);
|
|||
|
|
long soqav_query_callback(const char *td, const query_result_t* result, void *user_arg);
|
|||
|
|
|
|||
|
|
#ifdef __cplusplus
|
|||
|
|
}
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endif
|