library_entry_point.c File Reference

#include <st_static_component_loader.h>
#include <omx_alsasink_component.h>
#include <omx_alsasrc_component.h>

Go to the source code of this file.

Functions

int omx_component_library_Setup (stLoaderComponentType **stComponents)


Detailed Description

The library entry point. It must have the same name for each library fo the components loaded by th 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) 2007 STMicroelectronics Copyright (C) 2007-2008 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

$Date$ Revision $Rev$ Author $Author$

Definition in file alsa/library_entry_point.c.


Function Documentation

int omx_component_library_Setup ( stLoaderComponentType **  stComponents  ) 

The library entry point. It must have the same name for each library fo the components loaded by th 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

Parameters:
stComponents pointer 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 52 of file alsa/library_entry_point.c.

References 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_alsasink_component_Constructor(), omx_alsasrc_component_Constructor(), OMX_ErrorInsufficientResources, OMX_MAX_STRINGNAME_SIZE, stLoaderComponentType::role_specific, and OMX_VERSIONTYPE::s.


Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo