summaryrefslogtreecommitdiff
path: root/lib/cec.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cec.h')
-rw-r--r--lib/cec.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/cec.h b/lib/cec.h
index 2b156b0..a7cae44 100644
--- a/lib/cec.h
+++ b/lib/cec.h
@@ -546,12 +546,18 @@ struct CEC_Device
};
extern void CEC_Init_Device(struct CEC_Device* device);
+extern int CEC_Alloc_Addr(struct CEC_Device* device, enum CEC_Device_Type device_type);
+extern void CEC_Unrecognized_Opcode(struct CEC_Device* device, struct CEC_Packet* packet);
+
extern void CEC_Dump_Packet(FILE* stream, struct CEC_Packet* packet);
extern void CEC_Receive(struct CEC_Device* device);
extern int CEC_Transmit(struct CEC_Device* device, struct CEC_Packet* packet);
extern int CEC_TX_Ping(struct CEC_Device* device, uint8_t addr);
+extern int CEC_TX_Feature_Abort(struct CEC_Device* device, uint8_t addr, enum CEC_Opcode opcode, enum CEC_Abort_Reason reason);
+extern int CEC_TX_Version(struct CEC_Device* device, uint8_t addr, enum CEC_Version version);
+extern int CEC_TX_Report_Power_Status(struct CEC_Device* device, uint8_t addr, enum CEC_Power_Status status);
extern int CEC_TX_Standby(struct CEC_Device* device, uint8_t addr);
extern int CEC_TX_Abort(struct CEC_Device* device, uint8_t addr);
extern int CEC_TX_Give_Audio_Status(struct CEC_Device* device, uint8_t addr);
@@ -562,8 +568,6 @@ extern int CEC_TX_Report_Physical_Address(struct CEC_Device* device, enum CEC_De
extern int CEC_TX_Active_Source(struct CEC_Device* device);
extern int CEC_TX_Set_System_Audio_Mode(struct CEC_Device* device, int mode);
-extern int CEC_Alloc_Addr(struct CEC_Device* device, enum CEC_Device_Type device_type);
-
#pragma pack(pop)
#endif