hdhomerun_config.c File Reference

Go to the source code of this file.

Functions

static int help (void)
static void extract_appname (const char *argv0)
static bool_t contains (const char *arg, const char *cmpstr)
static uint32_t parse_ip_addr (const char *str)
static int discover_print (char *target_ip_str)
static int cmd_get (const char *item)
static int cmd_set_internal (const char *item, const char *value)
static int cmd_set (const char *item, const char *value)
static void signal_abort (int arg)
static void cmd_scan_printf (FILE *fp, const char *fmt,...)
static int cmd_scan (const char *tuner_str, const char *filename)
static int cmd_save (const char *tuner_str, const char *filename)
static int cmd_upgrade (const char *filename)
static int cmd_execute (void)
static int main_cmd (int argc, char *argv[])
static int main_internal (int argc, char *argv[])
int main (int argc, char *argv[])

Variables

static const char * appname
struct hdhomerun_device_thd
static bool_t sigabort = FALSE


Function Documentation

static int help ( void   )  [static]

Definition at line 49 of file hdhomerun_config.c.

static void extract_appname ( const char *  argv0  )  [static]

Definition at line 62 of file hdhomerun_config.c.

Referenced by main_internal().

static bool_t contains ( const char *  arg,
const char *  cmpstr 
) [static]

static uint32_t parse_ip_addr ( const char *  str  )  [static]

Definition at line 94 of file hdhomerun_config.c.

Referenced by discover_print().

static int discover_print ( char *  target_ip_str  )  [static]

Definition at line 104 of file hdhomerun_config.c.

Referenced by main_internal().

static int cmd_get ( const char *  item  )  [static]

Definition at line 139 of file hdhomerun_config.c.

Referenced by main_cmd().

static int cmd_set_internal ( const char *  item,
const char *  value 
) [static]

Definition at line 157 of file hdhomerun_config.c.

Referenced by cmd_execute(), and cmd_set().

static int cmd_set ( const char *  item,
const char *  value 
) [static]

Definition at line 173 of file hdhomerun_config.c.

Referenced by main_cmd().

static void signal_abort ( int  arg  )  [static]

Definition at line 207 of file hdhomerun_config.c.

Referenced by cmd_save(), and cmd_scan().

static void cmd_scan_printf ( FILE *  fp,
const char *  fmt,
  ... 
) [static]

Definition at line 212 of file hdhomerun_config.c.

Referenced by cmd_scan().

static int cmd_scan ( const char *  tuner_str,
const char *  filename 
) [static]

Definition at line 233 of file hdhomerun_config.c.

Referenced by main_cmd().

static int cmd_save ( const char *  tuner_str,
const char *  filename 
) [static]

Definition at line 324 of file hdhomerun_config.c.

Referenced by main_cmd().

static int cmd_upgrade ( const char *  filename  )  [static]

Definition at line 429 of file hdhomerun_config.c.

Referenced by main_cmd().

static int cmd_execute ( void   )  [static]

Definition at line 470 of file hdhomerun_config.c.

Referenced by main_cmd().

static int main_cmd ( int  argc,
char *  argv[] 
) [static]

Definition at line 529 of file hdhomerun_config.c.

Referenced by main_internal().

static int main_internal ( int  argc,
char *  argv[] 
) [static]

Definition at line 594 of file hdhomerun_config.c.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Definition at line 654 of file hdhomerun_config.c.


Variable Documentation

const char* appname [static]

Definition at line 45 of file hdhomerun_config.c.

Referenced by extract_appname(), and help().

bool_t sigabort = FALSE [static]

Definition at line 205 of file hdhomerun_config.c.

Referenced by cmd_save(), cmd_scan(), and signal_abort().


Generated on Sat Dec 18 05:15:52 2010 for MythTV by  doxygen 1.5.5