RDK Documentation (Open Sourced RDK Components)
webpa_notification.cpp File Reference
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "webpa_notification.h"
#include "webpa_adapter.h"
#include "webpa_parameter.h"
#include <stddef.h>
#include "cJSON.h"
#include "rdk_debug.h"
#include "safec_lib.h"
Include dependency graph for webpa_notification.cpp:

Go to the source code of this file.

Macros

#define DEVICE_ESTB_MAC_PARAM   "Device.DeviceInfo.X_COMCAST-COM_STB_MAC"
 
#define WEBPA_UNKNOWN_PARAM_VALUE   "Unknown"
 
#define WEBPA_NOTIFY_SRC_LEN   32
 

Functions

static void macToLower (char macValue[], char macConverted[])
 
void setNotifyConfigurationFile (const char *nofityConfigFile)
 Initializes WebPA configuration file. More...
 
char * getNotifySource ()
 Get the Notification source. More...
 
int getnotifyparamList (char ***notifyParamList, int *ptrnotifyListSize)
 Read Notify configuration file from config file. More...
 

Variables

char ** g_notifyParamList = NULL
 
unsigned int g_notifyListSize = 0
 
const char * webpaNotifyConfigFile = NULL
 
char * notificationSource = NULL
 

yes

@description This file describes the Webpa Parameter Request Handling

Definition in file webpa_notification.cpp.

Function Documentation

◆ setNotifyConfigurationFile()

void setNotifyConfigurationFile ( const char *  nofityConfigFile)

Initializes WebPA configuration file.

Returns
void.

Definition at line 48 of file webpa_notification.cpp.

◆ getNotifySource()

char* getNotifySource ( )

Get the Notification source.

Gets WebPA notification source.

Returns
void.

Definition at line 66 of file webpa_notification.cpp.

◆ getnotifyparamList()

int getnotifyparamList ( char ***  notifyParamList,
int *  ptrnotifyListSize 
)

Read Notify configuration file from config file.

Initializes WebPA configuration file parameters.

Returns
void.

Definition at line 157 of file webpa_notification.cpp.