News

Documentation

lib/efreet_private.h File Reference


Detailed Description

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

#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 <Ecore.h>
#include <Ecore_File.h>
#include <Ecore_Str.h>
#include "config.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)   { free(x); x = NULL; }
#define IF_FREE(x)   { if (x) FREE(x) }
#define IF_FREE_DLIST(x)   { if (x) ecore_dlist_destroy(x); x = NULL; }
#define IF_FREE_HASH(x)   { if (x) ecore_hash_destroy(x); x = NULL; }
#define IF_FREE_LIST(x)   { if (x) ecore_list_destroy(x); x = NULL; }
#define IF_RELEASE(x)   { if (x) ecore_string_release(x); x = NULL; }
#define NEW(x, c)   calloc(c, sizeof(x))
#define PATH_MAX   4096

Typedefs

typedef Efreet_Desktop_Command Efreet_Desktop_Command
typedef Efreet_Desktop_Command_File Efreet_Desktop_Command_File
typedef enum Efreet_Desktop_Command_Flag Efreet_Desktop_Command_Flag

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.
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.
int efreet_util_init (void)
void efreet_util_shutdown (void)

Copyright © Enlightenment.org

Efreet Documentation Generated: Sat Apr 7 17:55:51 2007