RDK Documentation (Open Sourced RDK Components)
rdk_logger_util.c File Reference
#include <rdk_logger_types.h>
#include "rdk_debug.h"
#include "rdk_error.h"
#include "rdk_utils.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <sys/reboot.h>
#include <linux/reboot.h>
Include dependency graph for rdk_logger_util.c:

Go to the source code of this file.

Data Structures

struct  EnvVarNode
 

Typedefs

typedef struct EnvVarNode EnvVarNode
 

Functions

static void trim (char *instr, char *outstr)
 
rdk_Error rdk_logger_env_add_conf_file (const char *path)
 This Function sets up the environment variable cache by parsing configuration file and adding each name/value pairs to the list. More...
 
const char * rdk_logger_envGet (const char *name)
 This function will get value of the specified environment variable. More...
 
const char * rdk_logger_envGetValueFromNum (int number)
 This function is used to get the value of the specified environment variable based on its registered number. More...
 
int rdk_logger_envGetNum (const char *mod)
 Function will give the registered number of the specified environment variable. More...
 
const char * rdk_logger_envGetModFromNum (int Num)
 This function is used to get the name of the specified environment variable based on its registered number. More...
 

Variables

int global_count
 
static EnvVarNodeg_envCache = NULL
 

yes

This source file contains the APIs for RDK logger util.

Definition in file rdk_logger_util.c.