nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
nds_auth.h File Reference
#include "daqc.h"
Include dependency graph for nds_auth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int nds_authenticate (daq_t *daq, const char *server)
 Authenticate client to server. More...
 
int nds_auth_disconnect (daq_t *daq)
 Clean up after authentication. More...
 
int nds_auth_startup (void)
 Initialize authentication mechanism. More...
 

Function Documentation

int nds_auth_disconnect ( daq_t daq)

Clean up after authentication.

Disconnect and delete authentication context.

Parameters
daqNDS connection descriptor.
Returns
DAQD response code.
int nds_auth_startup ( void  )

Initialize authentication mechanism.

Perform global authentication system initialization.

Returns
DAQD response code.
int nds_authenticate ( daq_t daq,
const char *  server 
)

Authenticate client to server.

Perform authentication handshake with the server. The socket defined in the daq structure must be connected to the server.

Parameters
daqNDS connection descriptor.
serverServer name string.
Returns
DAQD response code.