struct restconf_settings

Overview

Structure for RESTCONF configuration settings. More…

#include <ta_restconf_internal.h>

struct restconf_settings {
    // fields

    char host[RCF_MAX_VAL];
    uint16_t port;
    bool https;
    char username[RCF_MAX_VAL];
    char password[RCF_MAX_VAL];
};

Detailed Documentation

Structure for RESTCONF configuration settings.

Fields

char host[RCF_MAX_VAL]

< Server IP address or hostname. Server port.

uint16_t port

Whether use https or http when connecting to server.

bool https

Username to use when connecting to server.

char username[RCF_MAX_VAL]

Password to use when connecting to server.