networkclient
custom.c File Reference

Functions which should be customized for your local system. More...

#include <networkradius-devel/client.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
Include dependency graph for custom.c:

Macros

#define USEC   (1000000)
 

Functions

ssize_t nr_rand_bytes (uint8_t *data, size_t data_len)
 
uint32_t nr_rand (void)
 
void nr_timeval_add (struct timeval *t, unsigned int seconds, unsigned int usec)
 
int nr_timeval_cmp (const struct timeval *a, const struct timeval *b)
 

Detailed Description

Functions which should be customized for your local system.

Macro Definition Documentation

#define USEC   (1000000)

Referenced by nr_timeval_add().