libnuclient3
Nufw client authentication library
Usage
#include <nuclient.h>
NuAuth * nu_client_init (const char *nptr, char *username, unsigned long userid, char * password, char * hostname, unsigned int port, char protocol, char ssl_on);
int nu_client_check (NuAuth * session);
void nu_client_free (NuAuth *session);
Overview
This manual page documents the libnuclient library.
Use nu_client_init to initialize a authentication session. Then call nu_client_check at regular interval to send authentication packet to the gateway (if needed). When you're finished, call nu_client_free to free the session.
Original packaging and informations and help can be found from http://www.nufw.org/
Return value
nu_client_init returns an authentication session usable by nu_client_check or nu_client_free.
nu_client_check returns the number of packets authenticated to the nuauth server during the call. It returns -1 if an error occur when sending authentication packet. Applications MUST considered that the session is unusable when they receive this error.
Errors
nu_client_init return NULL it a problem occur during initiation
Releases
Unchanged in 4 releases since Debian 6.0 (Squeeze).