Download

Support

/build/buildd/efreet-0.5.0.49898/src/lib/efreet_trash.c File Reference

#include <stdio.h>
#include <errno.h>
#include <time.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <libgen.h>
#include <Ecore_File.h>
#include "Efreet.h"
#include "Efreet_Trash.h"
#include "efreet_private.h"
Include dependency graph for efreet_trash.c:

Defines

#define EFREET_MODULE_LOG_DOM   _efreet_trash_log_dom

Functions

EAPI int efreet_trash_delete_uri (Efreet_Uri *uri, int force_delete)
 This function try to move the given uri to the trash. Files on different filesystem can't be moved to trash. If force_delete is 0 than non-local files will be ignored and -1 is returned, if you set force_delete to 1 non-local files will be deleted without asking.
EAPI const char * efreet_trash_dir_get (const char *file)
 Retrieves the XDG Trash local directory.
EAPI int efreet_trash_empty_trash (void)
 Delete all the files inside the trash.
EAPI int efreet_trash_init (void)
 Initializes the efreet trash system.
EAPI int efreet_trash_is_empty (void)
 Check if the trash is currently empty.
EAPI Eina_List * efreet_trash_ls (void)
 List all the files and directory currently inside the trash.
EAPI int efreet_trash_shutdown (void)
 Cleans up the efreet trash system.

Define Documentation

#define EFREET_MODULE_LOG_DOM   _efreet_trash_log_dom

Copyright © Enlightenment.org

Efreet Documentation Generated: Tue Aug 3 2010 10:37:52