efl/src/lib/eina/eina_util.h

47 lines
1.5 KiB
C
Raw Normal View History

/* EINA - EFL data type library
* Copyright (C) 2015 Vincent Torri
*
* 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef EINA_UTIL_H_
#define EINA_UTIL_H_
/**
* @addtogroup Eina_Tools_Group Tools
*
* @{
*/
/**
* @brief Return the content of the environment refered by HOME on this system.
* @return A temporary string to the content refered by HOME on this system.
*
* @note The result of this call is highly system dependent and you better use
* it instead of the naive getenv("HOME").
*/
2015-05-14 09:38:36 -07:00
EAPI const char *eina_environment_home_get(void);
/**
* @brief Return the content of the environment refered as TMPDIR on this system.
* @return A temporary string to the content refered by TMPDIR on this system.
*
* @note The result of this call is highly system dependent and you better use
* it instead of the naive getenv("TMPDIR").
*/
2015-05-14 09:38:36 -07:00
EAPI const char *eina_environment_tmp_get(void);
#endif