[patch] eit: add missing function prototype

Johann Hanne <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <200710102135.00611.jhml__3323.8343931318$1192044925$gmane$org@gmx.net>
Hi,

eit.h misses a declaration for:
dvbpsi_descriptor_t* dvbpsi_EITEventAddDescriptor(
                                              dvbpsi_eit_event_t* p_event,
                                              uint8_t i_tag, uint8_t i_length,
                                              uint8_t* p_data);

The attached patch fixes this. Please apply.

Cheers, Johann

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
libdvbpsi-svn145-eit-add_prototype.diff (text/x-diff, 1.3 KB)
--- libdvbpsi-svn145/src/tables/eit.h	2007-10-07 13:00:10.000000000 +0200
+++ libdvbpsi-svn145-fixes/src/tables/eit.h	2007-10-10 21:13:47.000000000 +0200
@@ -239,6 +239,26 @@
     uint16_t i_event_id, uint64_t i_start_time, uint32_t i_duration,
     uint8_t i_running_status, int b_free_ca);
 
+/*****************************************************************************
+ * dvbpsi_EITEventAddDescriptor
+ *****************************************************************************/
+/*!
+ * \fn dvbpsi_descriptor_t* dvbpsi_EITEventAddDescriptor(
+                                               dvbpsi_eit_event_t* p_event,
+                                               uint8_t i_tag, uint8_t i_length,
+                                               uint8_t* p_data)
+ * \brief Add a descriptor to the EIT event.
+ * \param p_event pointer to the EIT event structure
+ * \param i_tag descriptor's tag
+ * \param i_length descriptor's length
+ * \param p_data descriptor's data
+ * \return a pointer to the added descriptor.
+ */
+dvbpsi_descriptor_t* dvbpsi_EITEventAddDescriptor(
+                                               dvbpsi_eit_event_t* p_event,
+                                               uint8_t i_tag, uint8_t i_length,
+                                               uint8_t* p_data);
+
 #ifdef __cplusplus
 };
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.