Download

Support

lib/efreet_mime.c File Reference

#include <Efreet.h>
#include <Ecore_Data.h>
#include <Efreet_Mime.h>
#include "efreet_private.h"
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/time.h>

Include dependency graph for efreet_mime.c:


Data Structures

struct  Efreet_Mime_Glob
struct  Efreet_Mime_Magic
struct  Efreet_Mime_Magic_Entry

Defines

#define EFREET_MIME_MAGIC_BUFFER_SIZE   512

Typedefs

typedef struct Efreet_Mime_Glob Efreet_Mime_Glob
 A parsed representation of a globs file.
typedef struct Efreet_Mime_Magic Efreet_Mime_Magic
 A parsed representation of a magic file section.
typedef struct
Efreet_Mime_Magic_Entry 
Efreet_Mime_Magic_Entry
 A parsed representation of a magic file entry.

Enumerations

enum  { EFREET_ENDIAN_BIG = 0, EFREET_ENDIAN_LITTLE = 1 }

Functions

EAPI const char * efreet_mime_fallback_type_get (const char *file)
 Retreive the fallback mime type of a file.
EAPI const char * efreet_mime_globs_type_get (const char *file)
 Retreive the mime type of a file using globs.
EAPI int efreet_mime_init (void)
 Initializes the efreet mime settings.
EAPI const char * efreet_mime_magic_type_get (const char *file)
 Retreive the mime type of a file using magic.
EAPI void efreet_mime_shutdown (void)
 Cleans up the efreet mime settings system.
EAPI const char * efreet_mime_special_type_get (const char *file)
 Retreive the special mime type of a file.
EAPI const char * efreet_mime_type_get (const char *file)
 Retreive the mime type of a file.
EAPI char * efreet_mime_type_icon_get (const char *mime, const char *theme, unsigned int size)
 Retreive the mime type icon for a file.

Define Documentation

#define EFREET_MIME_MAGIC_BUFFER_SIZE   512


Typedef Documentation

A parsed representation of a globs file.

Efreet_Mime_Glob

A parsed representation of a magic file section.

Efreet_Mime_Magic

A parsed representation of a magic file entry.

Efreet_Mime_Magic_Entry


Enumeration Type Documentation

anonymous enum

Enumerator:
EFREET_ENDIAN_BIG 
EFREET_ENDIAN_LITTLE 


Copyright © Enlightenment.org

Efreet Documentation Generated: Sun Oct 5 16:37:22 2008