|
OpenMAXBellagio
0.9.3
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <sys/stat.h>#include "config.h"#include "common.h"Go to the source code of this file.
Macros | |
| #define | REGISTRY_FILENAME ".omxregister" |
| #define | REGISTRY_DIR "/var/lib/libomxil-bellagio0/" |
| #define | TMP_DATA_DIRECTORY "/tmp/" |
Functions | |
| 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 * | componentsRegistryGetFilenameCheck (int check_exists) |
| char * | loadersRegistryGetFilename (char *registry_name) |
| int | makedir (const char *newdir) |
| int | exists (const char *fname) |
| #define REGISTRY_FILENAME ".omxregister" |
This file implements some useful common functionalities for handling the register files used in Bellagio
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
| 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 47 of file common.c.
References componentsRegistryGetFilenameCheck().
| char* componentsRegistryGetFilenameCheck | ( | int | check_exists | ) |
Definition at line 51 of file common.c.
References REGISTRY_DIR, REGISTRY_FILENAME, and TMP_DATA_DIRECTORY.
Referenced by BOSA_ST_InitComponentLoader(), and componentsRegistryGetFilename().
| int exists | ( | const char * | fname | ) |
Definition at line 194 of file common.c.
Referenced by createComponentLoaders().
| char* loadersRegistryGetFilename | ( | char * | registry_name | ) |
Definition at line 119 of file common.c.
References TMP_DATA_DIRECTORY.
Referenced by createComponentLoaders().
1.5.1