This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pangu-ntc-radius-plug/src/ntc_radius_plug.h
2019-12-06 13:14:18 +08:00

34 lines
577 B
C

#ifndef __NTC_RADIUS_PLUG_H__
#define __NTC_RADIUS_PLUG_H__
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct _ntc_radius_plug
{
int level;
int service_id;
int device_id;
void *logger;
char pathname[128];
char topic_name[128];
char brokerlist[128];
char local_ip[128];
rd_kafka_topic_t *topic_rkt;
}g_ntc_radius_plug_t;
int NTC_RADIUS_PLUG_INIT(void);
void NTC_RADIUS_PLUG_DESTROY(void);
char NTC_RADIUS_PLUG_ENTRY(stSessionInfo *session_info, void **pme, int thread_seq, struct streaminfo *stream, void *a_packet);
#ifdef __cplusplus
}
#endif
#endif