Download

Support

lib/efreet_private.h File Reference


Detailed Description

Contains methods and defines that are private to the Efreet implementaion.

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fnmatch.h>
#include <limits.h>
#include <alloca.h>
#include <Ecore.h>
#include <Ecore_File.h>
#include <Ecore_Str.h>
#include "efreet_xml.h"
#include "efreet_ini.h"

Include dependency graph for efreet_private.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  Efreet_Desktop_Command
struct  Efreet_Desktop_Command_File

Defines

#define __UNUSED__   __attribute__((unused))
#define FREE(x)   do { free(x); x = NULL; } while (0)
#define IF_FREE(x)   do { if (x) FREE(x); } while (0)
#define IF_FREE_DLIST(x)
#define IF_FREE_HASH(x)
#define IF_FREE_LIST(x)
#define IF_RELEASE(x)
#define NEW(x, c)   calloc(c, sizeof(x))
#define PATH_MAX   4096

Typedefs

typedef struct
Efreet_Desktop_Command 
Efreet_Desktop_Command
typedef struct
Efreet_Desktop_Command_File 
Efreet_Desktop_Command_File

Enumerations

enum  Efreet_Desktop_Command_Flag { EFREET_DESKTOP_EXEC_FLAG_FULLPATH = 0x0001, EFREET_DESKTOP_EXEC_FLAG_URI = 0x0002, EFREET_DESKTOP_EXEC_FLAG_DIR = 0x0004, EFREET_DESKTOP_EXEC_FLAG_FILE = 0x0008 }

Functions

size_t efreet_array_cat (char *buffer, size_t size, const char *strs[])
int efreet_base_init (void)
void efreet_base_shutdown (void)
Ecore_List * efreet_default_dirs_get (const char *user_dir, Ecore_List *system_dirs, const char *suffix)
 Creates the list of directories based on the user dir, system dirs and given suffix.
const char * efreet_desktop_environment_get (void)
 sets the global desktop environment name
int efreet_desktop_init (void)
int efreet_desktop_shutdown (void)
const char * efreet_home_dir_get (void)
int efreet_icon_init (void)
void efreet_icon_shutdown (void)
int efreet_ini_init (void)
int efreet_ini_shutdown (void)
const char * efreet_lang_country_get (void)
const char * efreet_lang_get (void)
const char * efreet_lang_modifier_get (void)
int efreet_menu_init (void)
 Initializes the Efreet Menu system.
void efreet_menu_shutdown (void)
 Shuts down the Efreet menu system.

Copyright © Enlightenment.org

Efreet Documentation Generated: Sat May 17 16:35:33 2008