#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