Main Page | Directories | File List | File Members

hildon-home-common.c File Reference

#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <locale.h>
#include <string.h>
#include <errno.h>
#include "hildon-home-common.h"
#include "hildon-home-private.h"

Functions

 G_LOCK_DEFINE_STATIC (hildon_home_globals)
G_CONST_RETURN gchar * hildon_home_get_user_home_dir (void)
G_CONST_RETURN gchar * hildon_home_get_user_config_dir (void)
G_CONST_RETURN gchar * hildon_home_get_user_config_file (void)
G_CONST_RETURN gchar * hildon_home_get_system_config_dir (void)
G_CONST_RETURN gchar * hildon_home_get_user_bg_file (void)
G_CONST_RETURN gchar * hildon_home_get_mmc_mount_point (void)

Detailed Description


Function Documentation

G_CONST_RETURN gchar* hildon_home_get_system_config_dir void   ) 
 

hildon_home_get_system_config_dir:

Gets the global configuration directory.

Return value: the global configuration directory.

G_CONST_RETURN gchar* hildon_home_get_user_config_dir void   ) 
 

hildon_home_get_user_config_dir:

Gets the current user's configuration directory.

Return value: the current user's configuration directory.

G_CONST_RETURN gchar* hildon_home_get_user_home_dir void   ) 
 

hildon_home_get_user_home_dir:

Gets the current user's home directory.

In contrast to g_get_home_dir(), this function prefers the <envar>HOME</envar> environment variable.

Return value: the current user's home directory.


Generated on Thu Dec 21 11:26:52 2006 for maemo-af-desktop-documentation by  doxygen 1.4.2