![]() |
RDK Documentation (Open Sourced RDK Components)
|
Types and APIs exposed by dcm. More...
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <stdint.h>#include <cjson/cJSON.h>#include <errno.h>#include <telemetry_busmessage_sender.h>#include "safec_lib.h"
Go to the source code of this file.
Macros | |
| #define | RFC_CONFIG_DATA "/tmp/rfc_configdata.txt" |
| Contains Configured data’s that are parsed to the client. | |
| #define | RFC_SSH_CONFIG_DATA "/tmp/RFC/.RFC_SSHWhiteList.list" |
| Contains the list of IPs obtained from RFC feature control at startup. | |
Functions | |
| static int | isNodeArrayType (cJSON *const item) |
| This function takes a cJSON node as argument and verifies whether the supplied argument is an node array. More... | |
| static int | saveToFile (cJSON *arrayNode, const char *filename) |
| This function writes the parsed JSON information to a file. More... | |
| static cJSON * | getArrayNode (cJSON *node) |
| This function traverses through the cJSON node list and returns the next node that is an Array. More... | |
| static void | processSSHWhiteList (cJSON *sshFeature) |
| This function processes IP and MAC lists configured in the feature list. More... | |
| void | main (int argc, char **argv) |
| This function parses dcm JSON information and save it to a file. More... | |
Types and APIs exposed by dcm.
Definition in file dcmjsonparser.c.