![]() |
libxputty 0.1
|
Go to the source code of this file.
Typedefs | |
typedef unsigned int | xdg_unichar_t |
typedef unsigned char | xdg_uchar8_t |
typedef unsigned short | xdg_uint16_t |
typedef unsigned int | xdg_uint32_t |
Functions | |
xdg_unichar_t | _xdg_utf8_to_ucs4 (const char *source) |
xdg_unichar_t | _xdg_ucs4_to_lower (xdg_unichar_t source) |
int | _xdg_utf8_validate (const char *source) |
xdg_unichar_t * | _xdg_convert_to_ucs4 (const char *source, int *len) |
void | _xdg_reverse_ucs4 (xdg_unichar_t *source, int len) |
const char * | _xdg_get_base_name (const char *file_name) |
const char * | _xdg_binary_or_text_fallback (const void *data, size_t len) |
Variables | |
const char *const | _xdg_utf8_skip |
typedef unsigned char xdg_uchar8_t |
Definition at line 44 of file xdgmimeint.h.
typedef unsigned short xdg_uint16_t |
Definition at line 45 of file xdgmimeint.h.
typedef unsigned int xdg_uint32_t |
Definition at line 46 of file xdgmimeint.h.
typedef unsigned int xdg_unichar_t |
Definition at line 43 of file xdgmimeint.h.
const char * _xdg_binary_or_text_fallback | ( | const void * | data, |
size_t | len | ||
) |
Definition at line 193 of file xdgmimeint.c.
Referenced by _xdg_mime_cache_get_mime_type_for_file(), xdg_mime_get_mime_type_for_data(), and xdg_mime_get_mime_type_for_file().
xdg_unichar_t * _xdg_convert_to_ucs4 | ( | const char * | source, |
int * | len | ||
) |
Definition at line 157 of file xdgmimeint.c.
References _xdg_utf8_to_ucs4().
const char * _xdg_get_base_name | ( | const char * | file_name | ) |
Definition at line 141 of file xdgmimeint.c.
Referenced by _xdg_mime_cache_get_mime_type_for_file(), and xdg_mime_get_mime_type_for_file().
void _xdg_reverse_ucs4 | ( | xdg_unichar_t * | source, |
int | len | ||
) |
Definition at line 179 of file xdgmimeint.c.
xdg_unichar_t _xdg_ucs4_to_lower | ( | xdg_unichar_t | source | ) |
Definition at line 124 of file xdgmimeint.c.
xdg_unichar_t _xdg_utf8_to_ucs4 | ( | const char * | source | ) |
Definition at line 61 of file xdgmimeint.c.
Referenced by _xdg_convert_to_ucs4().
int _xdg_utf8_validate | ( | const char * | source | ) |
Definition at line 134 of file xdgmimeint.c.
Referenced by _xdg_mime_cache_get_mime_type_for_file(), xdg_mime_get_mime_type_for_file(), and xdg_mime_is_valid_mime_type().
|
extern |
Definition at line 55 of file xdgmimeint.c.