nds2-client - ClientDeveloper
0.16.8
|
#include <stdio.h>
#include "nds_auth.h"
#include "nds_logging.h"
#include "daqc_private.h"
#include "daqc_internal.h"
#include "daqc_response.h"
Typedefs | |
typedef ssize_t | recv_size_t |
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... | |
typedef ssize_t recv_size_t |
int nds_auth_disconnect | ( | daq_t * | daq | ) |
Clean up after authentication.
Disconnect and delete authentication context.
daq | NDS connection descriptor. |
int nds_auth_startup | ( | void | ) |
Initialize authentication mechanism.
Perform global authentication system initialization.
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.
daq | NDS connection descriptor. |
server | Server name string. |