server_config REFACTOR rename client_auth struct
diff --git a/src/session_p.h b/src/session_p.h
index becd266..a7fd8aa 100644
--- a/src/session_p.h
+++ b/src/session_p.h
@@ -160,10 +160,10 @@
/**
* @brief A server's authorized client.
*/
-struct nc_client_auth {
+struct nc_auth_client {
char *username; /**< Arbitrary username. */
- NC_STORE_TYPE store; /**< Specifies how/where the client's public key is stored. */
+ NC_STORE_TYPE store; /**< Specifies how/where the client's public key is stored. */
union {
struct {
struct nc_public_key *pubkeys; /**< The client's public keys. */
@@ -198,7 +198,7 @@
struct nc_hostkey *hostkeys; /**< Server's hostkeys. */
uint16_t hostkey_count; /**< Number of server's hostkeys. */
- struct nc_client_auth *auth_clients; /**< Server's authorized clients. */
+ struct nc_auth_client *auth_clients; /**< Server's authorized clients. */
uint16_t client_count; /**< Number of server's authorized clients. */
struct nc_endpt *endpt_client_ref; /**< Reference to another endpoint (used for client authentication). */