1 #ifndef RADIUS_SERVER_H
2 #define RADIUS_SERVER_H
4 struct radius_server_data;
6 struct radius_server_conf {
10 void *eap_sim_db_priv;
17 struct radius_server_data *
18 radius_server_init(struct radius_server_conf *conf);
20 void radius_server_deinit(struct radius_server_data *data);
22 int radius_server_get_mib(struct radius_server_data *data, char *buf,
25 #else /* RADIUS_SERVER */
27 static inline struct radius_server_data *
28 radius_server_init(struct radius_server_conf *conf)
33 static inline void radius_server_deinit(struct radius_server_data *data)
37 static inline int radius_server_get_mib(struct radius_server_data *data,
38 char *buf, size_t buflen)
43 #endif /* RADIUS_SERVER */
45 #endif /* RADIUS_SERVER_H */