create version
This commit is contained in:
32
src/ntc_radius_plug.h
Normal file
32
src/ntc_radius_plug.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#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;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user