1LIBNUCLIENT(3)                                                  LIBNUCLIENT(3)
2
3
4

NAME

6       libnuclient - NUFW client authentication library
7

SYNOPSIS

9       #include <nuclient.h>
10
11       NuAuth  *  nu_client_init (const char *nptr,  char *username,  unsigned
12       long userid,  char * password,  char * hostname,   unsigned  int  port,
13       char protocol,  char ssl_on);
14
15       int nu_client_check (NuAuth * session);
16
17       void nu_client_free (NuAuth *session);
18

DESCRIPTION

20       This manual page documents the libnuclient library.
21
22       Use  nu_client_init  to  initialize a authentication session. Then call
23       nu_client_check at regular interval to send  authentication  packet  to
24       the  gateway  (if needed). When you're finished, call nu_client_free to
25       free the session.
26
27       Original  packaging  and  informations  and  help  can  be  found  from
28       http://www.nufw.org/
29

RETURN VALUE

31       nu_client_init    returns   an   authentication   session   usable   by
32       nu_client_check or nu_client_free.
33
34       nu_client_check returns the number  of  packets  authenticated  to  the
35       nuauth  server  during  the  call. It returns -1 if an error occur when
36       sending authentication packet. Applications MUST  considered  that  the
37       session is unusable when they receive this error.
38

ERRORS

40       nu_client_init return NULL it a problem occur during initiation
41

SEE ALSO

43       nuauth(8)
44

AUTHOR

46       Nufw was designed and coded by Eric Leblond, aka Regit (<regit@inl.fr>)
47       , and Vincent Deffontaines,  aka  gryzor  (<vincent@inl.fr>).  Original
48       idea in 2001, while working on NSM Ldap support.
49
50       This manual page was written by Eric Leblond
51
52       Permission  is  granted to copy, distribute and/or modify this document
53       under the terms of the GNU Free Documentation  License,  Version  2  as
54       published  by the Free Software Foundation; with no Invariant Sections,
55       no Front-Cover Texts and no Back-Cover Texts.
56
57
58
59                                 12 mars 2007                   LIBNUCLIENT(3)
Impressum