feature: TSG-21852 service_function_status support fieldstat4
This commit is contained in:
@@ -6,17 +6,21 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "kafka.h"
|
||||
#include <stdint.h>
|
||||
#include "uthash.h"
|
||||
|
||||
struct sf_status *sf_status_create(const char *profile);
|
||||
struct sf_status_key
|
||||
{
|
||||
uint32_t vsys_id;
|
||||
uint32_t sf_profile_id;
|
||||
};
|
||||
|
||||
struct sf_status *sf_status_create(const char *profile, struct kafka *kfk);
|
||||
void sf_status_destory(struct sf_status *handle);
|
||||
void sf_status_reset(struct sf_status *handle);
|
||||
|
||||
void sf_status_delete(struct sf_status *handle, int sf_profile_id);
|
||||
void sf_status_update(struct sf_status *handle, int sf_vsys_id, int sf_profile_id, int sf_status, int sf_latency);
|
||||
void sf_status_send(struct sf_status *handle);
|
||||
int sf_status_get_interval(struct sf_status *handle);
|
||||
void sf_status_delete(struct sf_status *handle, const struct sf_status_key *key);
|
||||
void sf_status_update(struct sf_status *handle, const struct sf_status_key *key, int sf_status, int sf_latency);
|
||||
void sf_status_output(struct sf_status *handle);
|
||||
int sf_status_get_ouput_interval_ms(struct sf_status *handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user