blob: 30257ef291ec2b3b3c7b087105463791315b6fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#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
|