|
DTS Application Library
0.2.3
Application library containing referenced objects and interfaces to common libraries
|
Simple radius client implementation. More...
#include <string.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <errno.h>#include <arpa/inet.h>#include <uuid/uuid.h>#include <openssl/md5.h>#include "include/dtsapp.h"Go to the source code of this file.
Data Structures | |
| struct | radius_packet |
| Radius Packet. More... | |
| struct | radius_session |
| Radius session. More... | |
| struct | radius_connection |
| Radius connection. More... | |
| struct | radius_server |
| Radius Server. More... | |
Functions | |
| void | addradattrint (struct radius_packet *packet, char type, unsigned int val) |
| Add a integer attribute too the packet. More... | |
| void | addradattrip (struct radius_packet *packet, char type, char *ipaddr) |
| Add a integer attribute too the packet. More... | |
| void | addradattrstr (struct radius_packet *packet, char type, char *str) |
| Add a integer attribute too the packet. More... | |
| struct radius_packet * | new_radpacket (unsigned char code) |
| Create a new radius packet. More... | |
| void | add_radserver (const char *ipaddr, const char *auth, const char *acct, const char *secret, int timeout) |
| Add new radius server to list of servers. More... | |
| int | send_radpacket (struct radius_packet *packet, const char *userpass, radius_cb read_cb, void *cb_data) |
| Send radius packet. More... | |
| unsigned char * | radius_attr_first (struct radius_packet *packet) |
| Return first packet attribute. More... | |
| unsigned char * | radius_attr_next (struct radius_packet *packet, unsigned char *attr) |
| Return next packet attribute. More... | |
Simple radius client implementation.
Definition in file radius.c.