OpenMAXBellagio  0.9.3
common.h File Reference

Go to the source code of this file.

Data Structures

struct  nameList
 

Macros

#define MAX_LINE_LENGTH   2048
 

Typedefs

typedef struct nameList nameList
 

Functions

int makedir (const char *newdir)
 
char * componentsRegistryGetFilename (void)
 Get registry filename This function returns the name of the registry file for the components loaded with the default component loader. More...
 
char * loadersRegistryGetFilename (char *registry_name)
 
int exists (const char *fname)
 

Macro Definition Documentation

◆ MAX_LINE_LENGTH

#define MAX_LINE_LENGTH   2048

src/common.h

OpenMAX Integration Layer Core. This library implements the OpenMAX core responsible for environment setup, component tunneling and communication.

Copyright (C) 2007-2011 STMicroelectronics Copyright (C) 2007-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

Definition at line 31 of file common.h.

Typedef Documentation

◆ nameList

typedef struct nameList nameList

Function Documentation

◆ componentsRegistryGetFilename()

char* componentsRegistryGetFilename ( void  )

Get registry filename This function returns the name of the registry file for the components loaded with the default component loader.

Definition at line 46 of file common.c.

References REGISTRY_FILENAME, and TMP_DATA_DIRECTORY.

Referenced by BOSA_ST_InitComponentLoader().

◆ exists()

int exists ( const char *  fname)

Definition at line 162 of file common.c.

Referenced by createComponentLoaders().

◆ loadersRegistryGetFilename()

char* loadersRegistryGetFilename ( char *  registry_name)

Definition at line 87 of file common.c.

References TMP_DATA_DIRECTORY.

Referenced by createComponentLoaders().

◆ makedir()

int makedir ( const char *  newdir)

This function creates the directory specified by newdir It returns 1 if is not possible to create it It returns 0 if the directory is created or it already exists

Definition at line 118 of file common.c.

References err.


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