RDK Documentation (Open Sourced RDK Components)
hostIf_main.h File Reference

hostIf_main API. More...

#include <iostream>
#include <cstdlib>
#include <pthread.h>
#include <stdlib.h>
#include <vector>
#include <string.h>
#include <exception>
#include <glib.h>
#include <glib/gstdio.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include <signal.h>
#include <getopt.h>
#include <sys/time.h>
#include "rdk_debug.h"
Include dependency graph for hostIf_main.h:

Go to the source code of this file.

Data Structures

struct  argsList
 

Macros

#define G_LOG_DOMAIN   ((gchar*) 0)
 
#define LOG_TR69HOSTIF   "LOG.RDK.TR69HOSTIF"
 

Typedefs

typedef struct argsList T_ARGLIST
 

Enumerations

enum  
 

Functions

void tr69hostIf_logger (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data)
 
void quit_handler (int sig_received)
 
void exit_gracefully (int sig_received)
 
void * tr69IfHandlerThread (void *)
 
void * jsonIfHandlerThread (void *msg)
 
pid_t getTid ()
 

Variables

gchar * date_str
 
static volatile sig_atomic_t time_to_quit = 0
 

yes

hostIf_main API.

This API defines the core operations for hostIf

Document
Document reference.
Open Issues (in no particular order)
  1. None
Assumptions
  1. None
Abbreviations
  • BE: ig-Endian.
  • cb: allback function (suffix).
  • DS: Device Settings.
  • FPD: Front-Panel Display.
  • HAL: Hardware Abstraction Layer.
  • LE: Little-Endian.
  • LS: Least Significant.
  • MBZ: Must be zero.
  • MS: Most Significant.
  • RDK: Reference Design Kit.
  • _t: Type (suffix).
Implementation Notes
  1. None

Definition in file hostIf_main.h.