summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/cm/engine/component/inc/template.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/nmf-cm/cm/engine/component/inc/template.h')
-rw-r--r--drivers/staging/nmf-cm/cm/engine/component/inc/template.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/staging/nmf-cm/cm/engine/component/inc/template.h b/drivers/staging/nmf-cm/cm/engine/component/inc/template.h
index 3e1a2c001e4..2718d8ae9fb 100644
--- a/drivers/staging/nmf-cm/cm/engine/component/inc/template.h
+++ b/drivers/staging/nmf-cm/cm/engine/component/inc/template.h
@@ -45,6 +45,25 @@ struct t_component_instance;
/*!
* \internal
+ * \brief Description of a provided interface method on a collection index ; Available only when template loaded
+ * \ingroup COMPONENT_INTERNAL
+ */
+typedef struct {
+ t_uint32 methodAddresses; //!< Address of each method
+} t_interface_provide_index_loaded;
+
+/*!
+ * \internal
+ * \brief Description of a provided interface ; Available only when template loaded
+ * \ingroup COMPONENT_INTERNAL
+ */
+typedef struct {
+ t_interface_provide_index_loaded **indexesLoaded; //!< Provide information for each collection index
+} t_interface_provide_loaded;
+
+
+/*!
+ * \internal
* \brief Description of a component template
* \ingroup COMPONENT_INTERNAL
*/
@@ -80,6 +99,8 @@ typedef struct _t_component_template {
t_interface_provide *provides; //!< Array of interface provided by this template
t_interface_require *requires; //!< Array of interface required by this template
+ t_interface_provide_loaded *providesLoaded; //!< Array of interface provided by this template ; Available when loaded
+
t_bool descriptionAssociatedWithTemplate;
struct _t_component_template *prev, *next;