OpenMAXBellagio  0.9.3
clocksrc/library_entry_point.c File Reference

Go to the source code of this file.

Functions

int omx_component_library_Setup (stLoaderComponentType **stComponents)
 The library entry point. It must have the same name for each library for the components loaded by the ST static component loader. More...
 

Function Documentation

◆ omx_component_library_Setup()

int omx_component_library_Setup ( stLoaderComponentType **  stComponents)

The library entry point. It must have the same name for each library for the components loaded by the ST static component loader.

src/components/clocksrc/library_entry_point.c

The library entry point. It must have the same name for each library of the components loaded by the ST static component loader. This function fills the version, the component name and if existing also the roles and the specific names for each role. This base function is only an explanation. For each library it must be implemented, and it must fill data of any component in the library

Copyright (C) 2008-2009 STMicroelectronics Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

This function fills the version, the component name and if existing also the roles and the specific names for each role. This base function is only an explanation. For each library it must be implemented, and it must fill data of any component in the library

Parameters
stComponentspointer to an array of components descriptors.If NULL, the function will return only the number of components contained in the library
Returns
number of components contained in the library

Definition at line 47 of file clocksrc/library_entry_point.c.

References CLOCK_COMP_NAME, CLOCK_COMP_ROLE, stLoaderComponentType::componentVersion, stLoaderComponentType::constructor, DEB_LEV_FUNCTION_NAME, DEBUG, stLoaderComponentType::name, stLoaderComponentType::name_specific, stLoaderComponentType::name_specific_length, OMX_VERSIONTYPE::nRevision, OMX_VERSIONTYPE::nStep, OMX_VERSIONTYPE::nVersionMajor, OMX_VERSIONTYPE::nVersionMinor, omx_clocksrc_component_Constructor(), OMX_ErrorInsufficientResources, OMX_MAX_STRINGNAME_SIZE, stLoaderComponentType::role_specific, and OMX_VERSIONTYPE::s.


Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo