You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
749 B
23 lines
749 B
7 months ago
|
/*
|
||
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
|
||
|
* Description: event export interface definition
|
||
|
* Author: Hisilicon
|
||
|
* Create: 2020-10-12
|
||
|
*/
|
||
|
|
||
|
#ifndef EXT_EVENT_H
|
||
|
#define EXT_EVENT_H
|
||
|
|
||
|
struct dft_event;
|
||
|
|
||
|
int drv_event_create(unsigned int eventid, struct dft_event **event);
|
||
|
int drv_event_set_time(struct dft_event *event, long long seconds);
|
||
|
int drv_event_put_integral(struct dft_event *event, const char *key, long value);
|
||
|
int drv_event_put_string(struct dft_event *event, const char *key, const char *value);
|
||
|
int drv_event_add_file_path(struct dft_event *event, const char *path);
|
||
|
int drv_event_report(struct dft_event *event);
|
||
|
void drv_event_destroy(struct dft_event *event);
|
||
|
|
||
|
#endif
|
||
|
|