hdhomerun_control.h File Reference

Go to the source code of this file.

Functions

LIBTYPE struct
hdhomerun_control_sock_t
hdhomerun_control_create (uint32_t device_id, uint32_t device_ip, struct hdhomerun_debug_t *dbg)
LIBTYPE void hdhomerun_control_destroy (struct hdhomerun_control_sock_t *cs)
LIBTYPE uint32_t hdhomerun_control_get_device_id (struct hdhomerun_control_sock_t *cs)
LIBTYPE uint32_t hdhomerun_control_get_device_ip (struct hdhomerun_control_sock_t *cs)
LIBTYPE uint32_t hdhomerun_control_get_device_id_requested (struct hdhomerun_control_sock_t *cs)
LIBTYPE uint32_t hdhomerun_control_get_device_ip_requested (struct hdhomerun_control_sock_t *cs)
LIBTYPE void hdhomerun_control_set_device (struct hdhomerun_control_sock_t *cs, uint32_t device_id, uint32_t device_ip)
LIBTYPE uint32_t hdhomerun_control_get_local_addr (struct hdhomerun_control_sock_t *cs)
LIBTYPE int hdhomerun_control_send_recv (struct hdhomerun_control_sock_t *cs, struct hdhomerun_pkt_t *tx_pkt, struct hdhomerun_pkt_t *rx_pkt, uint16_t type)
LIBTYPE int hdhomerun_control_get (struct hdhomerun_control_sock_t *cs, const char *name, char **pvalue, char **perror)
LIBTYPE int hdhomerun_control_set (struct hdhomerun_control_sock_t *cs, const char *name, const char *value, char **pvalue, char **perror)
LIBTYPE int hdhomerun_control_set_with_lockkey (struct hdhomerun_control_sock_t *cs, const char *name, const char *value, uint32_t lockkey, char **pvalue, char **perror)
LIBTYPE int hdhomerun_control_upgrade (struct hdhomerun_control_sock_t *cs, FILE *upgrade_file)


Function Documentation

LIBTYPE struct hdhomerun_control_sock_t* hdhomerun_control_create ( uint32_t  device_id,
uint32_t  device_ip,
struct hdhomerun_debug_t dbg 
) [read]

Definition at line 70 of file hdhomerun_control.c.

Referenced by hdhomerun_device_create().

LIBTYPE void hdhomerun_control_destroy ( struct hdhomerun_control_sock_t cs  ) 

Definition at line 85 of file hdhomerun_control.c.

Referenced by hdhomerun_device_destroy().

LIBTYPE uint32_t hdhomerun_control_get_device_id ( struct hdhomerun_control_sock_t cs  ) 

LIBTYPE uint32_t hdhomerun_control_get_device_ip ( struct hdhomerun_control_sock_t cs  ) 

Definition at line 148 of file hdhomerun_control.c.

Referenced by hdhomerun_device_get_device_ip().

LIBTYPE uint32_t hdhomerun_control_get_device_id_requested ( struct hdhomerun_control_sock_t cs  ) 

Definition at line 158 of file hdhomerun_control.c.

Referenced by hdhomerun_device_get_device_id_requested().

LIBTYPE uint32_t hdhomerun_control_get_device_ip_requested ( struct hdhomerun_control_sock_t cs  ) 

Definition at line 163 of file hdhomerun_control.c.

Referenced by hdhomerun_device_get_device_ip_requested().

LIBTYPE void hdhomerun_control_set_device ( struct hdhomerun_control_sock_t cs,
uint32_t  device_id,
uint32_t  device_ip 
)

Definition at line 60 of file hdhomerun_control.c.

Referenced by hdhomerun_control_create(), and hdhomerun_device_set_device().

LIBTYPE uint32_t hdhomerun_control_get_local_addr ( struct hdhomerun_control_sock_t cs  ) 

LIBTYPE int hdhomerun_control_send_recv ( struct hdhomerun_control_sock_t cs,
struct hdhomerun_pkt_t tx_pkt,
struct hdhomerun_pkt_t rx_pkt,
uint16_t  type 
)

Definition at line 284 of file hdhomerun_control.c.

LIBTYPE int hdhomerun_control_get ( struct hdhomerun_control_sock_t cs,
const char *  name,
char **  pvalue,
char **  perror 
)

LIBTYPE int hdhomerun_control_set ( struct hdhomerun_control_sock_t cs,
const char *  name,
const char *  value,
char **  pvalue,
char **  perror 
)

LIBTYPE int hdhomerun_control_set_with_lockkey ( struct hdhomerun_control_sock_t cs,
const char *  name,
const char *  value,
uint32_t  lockkey,
char **  pvalue,
char **  perror 
)

LIBTYPE int hdhomerun_control_upgrade ( struct hdhomerun_control_sock_t cs,
FILE *  upgrade_file 
)

Definition at line 389 of file hdhomerun_control.c.

Referenced by hdhomerun_device_upgrade().


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