X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fo1-interface.git;a=blobdiff_plain;f=ntsimulator%2Fntsim-ng%2Futils%2Fnc_client.h;h=77bd2ef8566a2d363558ce6fafa7794f89c7ae94;hp=c5f66b3feb3ca430ca25f3ec7e075cf2cc743705;hb=3bbf9d8a3c81afebcffb2b926cef219336dd53d6;hpb=312a154cc4d60a09596fba8fd1259345e048cdc2 diff --git a/ntsimulator/ntsim-ng/utils/nc_client.h b/ntsimulator/ntsim-ng/utils/nc_client.h index c5f66b3..77bd2ef 100644 --- a/ntsimulator/ntsim-ng/utils/nc_client.h +++ b/ntsimulator/ntsim-ng/utils/nc_client.h @@ -18,6 +18,7 @@ #pragma once #define NC_ENABLED_SSH +#define NC_ENABLED_TLS #include #include #include @@ -34,6 +35,7 @@ typedef struct { } nc_client_t; nc_client_t *nc_client_ssh_connect(const char *host, uint16_t port, const char *username, const char *password); +nc_client_t *nc_client_tls_connect(const char *host, uint16_t port); int nc_client_disconnect(nc_client_t *client); struct lyd_node *nc_client_send_rpc(nc_client_t *client, struct lyd_node *data, int timeout);