hdhomerun_device.h File Reference

Go to the source code of this file.

Functions

LIBTYPE struct hdhomerun_device_thdhomerun_device_create (uint32_t device_id, uint32_t device_ip, unsigned int tuner, struct hdhomerun_debug_t *dbg)
LIBTYPE struct hdhomerun_device_thdhomerun_device_create_from_str (const char *device_str, struct hdhomerun_debug_t *dbg)
LIBTYPE void hdhomerun_device_destroy (struct hdhomerun_device_t *hd)
LIBTYPE const char * hdhomerun_device_get_name (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_id (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_ip (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_id_requested (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_ip_requested (struct hdhomerun_device_t *hd)
LIBTYPE unsigned int hdhomerun_device_get_tuner (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_set_device (struct hdhomerun_device_t *hd, uint32_t device_id, uint32_t device_ip)
LIBTYPE void hdhomerun_device_set_tuner (struct hdhomerun_device_t *hd, unsigned int tuner)
LIBTYPE int hdhomerun_device_set_tuner_from_str (struct hdhomerun_device_t *hd, const char *tuner_str)
LIBTYPE uint32_t hdhomerun_device_get_local_machine_addr (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_get_tuner_status (struct hdhomerun_device_t *hd, char **pstatus_str, struct hdhomerun_tuner_status_t *status)
LIBTYPE int hdhomerun_device_get_tuner_streaminfo (struct hdhomerun_device_t *hd, char **pstreaminfo)
LIBTYPE int hdhomerun_device_get_tuner_channel (struct hdhomerun_device_t *hd, char **pchannel)
LIBTYPE int hdhomerun_device_get_tuner_channelmap (struct hdhomerun_device_t *hd, char **pchannelmap)
LIBTYPE int hdhomerun_device_get_tuner_filter (struct hdhomerun_device_t *hd, char **pfilter)
LIBTYPE int hdhomerun_device_get_tuner_program (struct hdhomerun_device_t *hd, char **pprogram)
LIBTYPE int hdhomerun_device_get_tuner_target (struct hdhomerun_device_t *hd, char **ptarget)
LIBTYPE int hdhomerun_device_get_tuner_plotsample (struct hdhomerun_device_t *hd, struct hdhomerun_plotsample_t **psamples, size_t *pcount)
LIBTYPE int hdhomerun_device_get_tuner_lockkey_owner (struct hdhomerun_device_t *hd, char **powner)
LIBTYPE int hdhomerun_device_get_ir_target (struct hdhomerun_device_t *hd, char **ptarget)
LIBTYPE int hdhomerun_device_get_lineup_location (struct hdhomerun_device_t *hd, char **plocation)
LIBTYPE int hdhomerun_device_get_version (struct hdhomerun_device_t *hd, char **pversion_str, uint32_t *pversion_num)
LIBTYPE uint32_t hdhomerun_device_get_tuner_status_ss_color (struct hdhomerun_tuner_status_t *status)
LIBTYPE uint32_t hdhomerun_device_get_tuner_status_snq_color (struct hdhomerun_tuner_status_t *status)
LIBTYPE uint32_t hdhomerun_device_get_tuner_status_seq_color (struct hdhomerun_tuner_status_t *status)
LIBTYPE const char * hdhomerun_device_get_model_str (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_set_tuner_channel (struct hdhomerun_device_t *hd, const char *channel)
LIBTYPE int hdhomerun_device_set_tuner_channelmap (struct hdhomerun_device_t *hd, const char *channelmap)
LIBTYPE int hdhomerun_device_set_tuner_filter (struct hdhomerun_device_t *hd, const char *filter)
LIBTYPE int hdhomerun_device_set_tuner_filter_by_array (struct hdhomerun_device_t *hd, unsigned char filter_array[0x2000])
LIBTYPE int hdhomerun_device_set_tuner_program (struct hdhomerun_device_t *hd, const char *program)
LIBTYPE int hdhomerun_device_set_tuner_target (struct hdhomerun_device_t *hd, const char *target)
LIBTYPE int hdhomerun_device_set_tuner_target_to_local_protocol (struct hdhomerun_device_t *hd, const char *protocol)
LIBTYPE int hdhomerun_device_set_tuner_target_to_local (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_set_ir_target (struct hdhomerun_device_t *hd, const char *target)
LIBTYPE int hdhomerun_device_set_lineup_location (struct hdhomerun_device_t *hd, const char *location)
LIBTYPE int hdhomerun_device_get_var (struct hdhomerun_device_t *hd, const char *name, char **pvalue, char **perror)
LIBTYPE int hdhomerun_device_set_var (struct hdhomerun_device_t *hd, const char *name, const char *value, char **pvalue, char **perror)
LIBTYPE int hdhomerun_device_tuner_lockkey_request (struct hdhomerun_device_t *hd, char **perror)
LIBTYPE int hdhomerun_device_tuner_lockkey_release (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_tuner_lockkey_force (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_tuner_lockkey_use_value (struct hdhomerun_device_t *hd, uint32_t lockkey)
LIBTYPE int hdhomerun_device_wait_for_lock (struct hdhomerun_device_t *hd, struct hdhomerun_tuner_status_t *status)
LIBTYPE int hdhomerun_device_stream_start (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_stream_refresh_target (struct hdhomerun_device_t *hd)
LIBTYPE uint8_t * hdhomerun_device_stream_recv (struct hdhomerun_device_t *hd, size_t max_size, size_t *pactual_size)
LIBTYPE void hdhomerun_device_stream_flush (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_stream_stop (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_channelscan_init (struct hdhomerun_device_t *hd, const char *channelmap)
LIBTYPE int hdhomerun_device_channelscan_advance (struct hdhomerun_device_t *hd, struct hdhomerun_channelscan_result_t *result)
LIBTYPE int hdhomerun_device_channelscan_detect (struct hdhomerun_device_t *hd, struct hdhomerun_channelscan_result_t *result)
LIBTYPE uint8_t hdhomerun_device_channelscan_get_progress (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_firmware_version_check (struct hdhomerun_device_t *hd, uint32_t features)
LIBTYPE int hdhomerun_device_upgrade (struct hdhomerun_device_t *hd, FILE *upgrade_file)
LIBTYPE struct
hdhomerun_control_sock_t
hdhomerun_device_get_control_sock (struct hdhomerun_device_t *hd)
LIBTYPE struct
hdhomerun_video_sock_t
hdhomerun_device_get_video_sock (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_debug_print_video_stats (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_get_video_stats (struct hdhomerun_device_t *hd, struct hdhomerun_video_stats_t *stats)


Function Documentation

LIBTYPE struct hdhomerun_device_t* hdhomerun_device_create ( uint32_t  device_id,
uint32_t  device_ip,
unsigned int  tuner,
struct hdhomerun_debug_t dbg 
) [read]

LIBTYPE struct hdhomerun_device_t* hdhomerun_device_create_from_str ( const char *  device_str,
struct hdhomerun_debug_t dbg 
) [read]

LIBTYPE void hdhomerun_device_destroy ( struct hdhomerun_device_t hd  ) 

LIBTYPE const char* hdhomerun_device_get_name ( struct hdhomerun_device_t hd  ) 

Definition at line 230 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_choose_test().

LIBTYPE uint32_t hdhomerun_device_get_device_id ( struct hdhomerun_device_t hd  ) 

Definition at line 235 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_find_device().

LIBTYPE uint32_t hdhomerun_device_get_device_ip ( struct hdhomerun_device_t hd  ) 

Definition at line 240 of file hdhomerun_device.c.

LIBTYPE uint32_t hdhomerun_device_get_device_id_requested ( struct hdhomerun_device_t hd  ) 

Definition at line 245 of file hdhomerun_device.c.

Referenced by main_internal().

LIBTYPE uint32_t hdhomerun_device_get_device_ip_requested ( struct hdhomerun_device_t hd  ) 

Definition at line 250 of file hdhomerun_device.c.

LIBTYPE unsigned int hdhomerun_device_get_tuner ( struct hdhomerun_device_t hd  ) 

Definition at line 255 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_find_device().

LIBTYPE void hdhomerun_device_set_device ( struct hdhomerun_device_t hd,
uint32_t  device_id,
uint32_t  device_ip 
)

Definition at line 56 of file hdhomerun_device.c.

Referenced by hdhomerun_device_create().

LIBTYPE void hdhomerun_device_set_tuner ( struct hdhomerun_device_t hd,
unsigned int  tuner 
)

LIBTYPE int hdhomerun_device_set_tuner_from_str ( struct hdhomerun_device_t hd,
const char *  tuner_str 
)

Definition at line 215 of file hdhomerun_device.c.

Referenced by cmd_save(), and cmd_scan().

LIBTYPE uint32_t hdhomerun_device_get_local_machine_addr ( struct hdhomerun_device_t hd  ) 

LIBTYPE int hdhomerun_device_get_tuner_status ( struct hdhomerun_device_t hd,
char **  pstatus_str,
struct hdhomerun_tuner_status_t status 
)

LIBTYPE int hdhomerun_device_get_tuner_streaminfo ( struct hdhomerun_device_t hd,
char **  pstreaminfo 
)

Definition at line 410 of file hdhomerun_device.c.

Referenced by channelscan_detect_programs().

LIBTYPE int hdhomerun_device_get_tuner_channel ( struct hdhomerun_device_t hd,
char **  pchannel 
)

Definition at line 417 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_tuner_channelmap ( struct hdhomerun_device_t hd,
char **  pchannelmap 
)

Definition at line 424 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_get_tuner_filter ( struct hdhomerun_device_t hd,
char **  pfilter 
)

Definition at line 431 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_tuner_program ( struct hdhomerun_device_t hd,
char **  pprogram 
)

Definition at line 438 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_tuner_target ( struct hdhomerun_device_t hd,
char **  ptarget 
)

Definition at line 445 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_choose_test().

LIBTYPE int hdhomerun_device_get_tuner_plotsample ( struct hdhomerun_device_t hd,
struct hdhomerun_plotsample_t **  psamples,
size_t *  pcount 
)

Definition at line 452 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_tuner_lockkey_owner ( struct hdhomerun_device_t hd,
char **  powner 
)

Definition at line 501 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_ir_target ( struct hdhomerun_device_t hd,
char **  ptarget 
)

Definition at line 508 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_lineup_location ( struct hdhomerun_device_t hd,
char **  plocation 
)

Definition at line 513 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_version ( struct hdhomerun_device_t hd,
char **  pversion_str,
uint32_t pversion_num 
)

Definition at line 518 of file hdhomerun_device.c.

Referenced by cmd_upgrade(), and hdhomerun_device_firmware_version_check().

LIBTYPE uint32_t hdhomerun_device_get_tuner_status_ss_color ( struct hdhomerun_tuner_status_t status  ) 

Definition at line 316 of file hdhomerun_device.c.

LIBTYPE uint32_t hdhomerun_device_get_tuner_status_snq_color ( struct hdhomerun_tuner_status_t status  ) 

Definition at line 343 of file hdhomerun_device.c.

LIBTYPE uint32_t hdhomerun_device_get_tuner_status_seq_color ( struct hdhomerun_tuner_status_t status  ) 

Definition at line 355 of file hdhomerun_device.c.

LIBTYPE const char* hdhomerun_device_get_model_str ( struct hdhomerun_device_t hd  ) 

Definition at line 880 of file hdhomerun_device.c.

Referenced by channelscan_detect(), and main_internal().

LIBTYPE int hdhomerun_device_set_tuner_channel ( struct hdhomerun_device_t hd,
const char *  channel 
)

LIBTYPE int hdhomerun_device_set_tuner_channelmap ( struct hdhomerun_device_t hd,
const char *  channelmap 
)

Definition at line 549 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_set_tuner_filter ( struct hdhomerun_device_t hd,
const char *  filter 
)

Definition at line 556 of file hdhomerun_device.c.

Referenced by hdhomerun_device_set_tuner_filter_by_array().

LIBTYPE int hdhomerun_device_set_tuner_filter_by_array ( struct hdhomerun_device_t hd,
unsigned char  filter_array[0x2000] 
)

Definition at line 584 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_set_tuner_program ( struct hdhomerun_device_t hd,
const char *  program 
)

Definition at line 631 of file hdhomerun_device.c.

Referenced by HDHRChannel::SetChannelByString().

LIBTYPE int hdhomerun_device_set_tuner_target ( struct hdhomerun_device_t hd,
const char *  target 
)

LIBTYPE int hdhomerun_device_set_tuner_target_to_local_protocol ( struct hdhomerun_device_t hd,
const char *  protocol 
)

LIBTYPE int hdhomerun_device_set_tuner_target_to_local ( struct hdhomerun_device_t hd  ) 

Definition at line 667 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_set_ir_target ( struct hdhomerun_device_t hd,
const char *  target 
)

Definition at line 672 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_set_lineup_location ( struct hdhomerun_device_t hd,
const char *  location 
)

Definition at line 677 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_var ( struct hdhomerun_device_t hd,
const char *  name,
char **  pvalue,
char **  perror 
)

Definition at line 682 of file hdhomerun_device.c.

Referenced by cmd_execute(), cmd_get(), and HDHRChannel::DeviceGet().

LIBTYPE int hdhomerun_device_set_var ( struct hdhomerun_device_t hd,
const char *  name,
const char *  value,
char **  pvalue,
char **  perror 
)

Definition at line 687 of file hdhomerun_device.c.

Referenced by cmd_set_internal(), and HDHRChannel::DeviceSet().

LIBTYPE int hdhomerun_device_tuner_lockkey_request ( struct hdhomerun_device_t hd,
char **  perror 
)

Definition at line 692 of file hdhomerun_device.c.

Referenced by cmd_scan(), and hdhomerun_device_selector_choose_test().

LIBTYPE int hdhomerun_device_tuner_lockkey_release ( struct hdhomerun_device_t hd  ) 

Definition at line 712 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_tuner_lockkey_force ( struct hdhomerun_device_t hd  ) 

Definition at line 726 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_choose_test().

LIBTYPE void hdhomerun_device_tuner_lockkey_use_value ( struct hdhomerun_device_t hd,
uint32_t  lockkey 
)

Definition at line 736 of file hdhomerun_device.c.

Referenced by main_cmd().

LIBTYPE int hdhomerun_device_wait_for_lock ( struct hdhomerun_device_t hd,
struct hdhomerun_tuner_status_t status 
)

Definition at line 741 of file hdhomerun_device.c.

Referenced by channelscan_find_lock().

LIBTYPE int hdhomerun_device_stream_start ( struct hdhomerun_device_t hd  ) 

Definition at line 770 of file hdhomerun_device.c.

Referenced by cmd_save(), and HDHRSignalMonitor::RunTableMonitor().

LIBTYPE int hdhomerun_device_stream_refresh_target ( struct hdhomerun_device_t hd  ) 

Definition at line 786 of file hdhomerun_device.c.

Referenced by hdhomerun_device_stream_start().

LIBTYPE uint8_t* hdhomerun_device_stream_recv ( struct hdhomerun_device_t hd,
size_t  max_size,
size_t *  pactual_size 
)

Definition at line 795 of file hdhomerun_device.c.

Referenced by cmd_save(), and HDHRSignalMonitor::RunTableMonitor().

LIBTYPE void hdhomerun_device_stream_flush ( struct hdhomerun_device_t hd  ) 

Definition at line 803 of file hdhomerun_device.c.

LIBTYPE void hdhomerun_device_stream_stop ( struct hdhomerun_device_t hd  ) 

Definition at line 808 of file hdhomerun_device.c.

Referenced by cmd_save(), and HDHRSignalMonitor::RunTableMonitor().

LIBTYPE int hdhomerun_device_channelscan_init ( struct hdhomerun_device_t hd,
const char *  channelmap 
)

Definition at line 813 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_channelscan_advance ( struct hdhomerun_device_t hd,
struct hdhomerun_channelscan_result_t result 
)

Definition at line 827 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_channelscan_detect ( struct hdhomerun_device_t hd,
struct hdhomerun_channelscan_result_t result 
)

Definition at line 842 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE uint8_t hdhomerun_device_channelscan_get_progress ( struct hdhomerun_device_t hd  ) 

Definition at line 857 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_firmware_version_check ( struct hdhomerun_device_t hd,
uint32_t  features 
)

Definition at line 866 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_upgrade ( struct hdhomerun_device_t hd,
FILE *  upgrade_file 
)

Definition at line 901 of file hdhomerun_device.c.

Referenced by cmd_upgrade().

LIBTYPE struct hdhomerun_control_sock_t* hdhomerun_device_get_control_sock ( struct hdhomerun_device_t hd  )  [read]

Definition at line 260 of file hdhomerun_device.c.

LIBTYPE struct hdhomerun_video_sock_t* hdhomerun_device_get_video_sock ( struct hdhomerun_device_t hd  )  [read]

LIBTYPE void hdhomerun_device_debug_print_video_stats ( struct hdhomerun_device_t hd  ) 

Definition at line 912 of file hdhomerun_device.c.

LIBTYPE void hdhomerun_device_get_video_stats ( struct hdhomerun_device_t hd,
struct hdhomerun_video_stats_t stats 
)

Definition at line 940 of file hdhomerun_device.c.

Referenced by cmd_save().


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