|
nds2-client - Developer 0.16.7
|
#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. | |
| int | nds_auth_disconnect (daq_t *daq) |
| Clean up after authentication. | |
| int | nds_auth_startup (void) |
| Initialize authentication mechanism. | |
| 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. |