#ifndef _SF_STATUS_H #define _SF_STATUS_H #ifdef __cplusplus extern "C" { #endif #include "kafka.h" #include 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_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 } #endif #endif