TSG-13626 tsg-service-chaining-engine发送Metrics

This commit is contained in:
luwenpeng
2023-02-28 19:03:35 +08:00
parent 92af3e1fee
commit ecfcc3d2d8
14 changed files with 554 additions and 9 deletions

View File

@@ -0,0 +1,24 @@
#ifndef _SF_STATUS_H
#define _SF_STATUS_H
#ifdef __cpluscplus
extern "C"
{
#endif
#include <stdint.h>
#include "uthash.h"
struct sf_status *sf_status_create(const char *profile);
void sf_status_destory(struct sf_status *handle);
void sf_status_reset(struct sf_status *handle);
void sf_status_update(struct sf_status *handle, 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);
#ifdef __cpluscplus
}
#endif
#endif