Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1140)

Side by Side Diff: base/third_party/xdg_mime/xdgmimeint.h

Issue 10824186: Linux: update base/third_party/xdg_mime from upstream. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/third_party/xdg_mime/xdgmimeicon.c ('k') | base/third_party/xdg_mime/xdgmimeint.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- mode: C; c-file-style: "gnu" -*- */ 1 /* -*- mode: C; c-file-style: "gnu" -*- */
2 /* xdgmimeint.h: Internal defines and functions. 2 /* xdgmimeint.h: Internal defines and functions.
3 * 3 *
4 * More info can be found at http://www.freedesktop.org/standards/ 4 * More info can be found at http://www.freedesktop.org/standards/
5 * 5 *
6 * Copyright (C) 2003 Red Hat, Inc. 6 * Copyright (C) 2003 Red Hat, Inc.
7 * Copyright (C) 2003 Jonathan Blandford <jrb@alum.mit.edu> 7 * Copyright (C) 2003 Jonathan Blandford <jrb@alum.mit.edu>
8 * 8 *
9 * Licensed under the Academic Free License version 2.0 9 * Licensed under the Academic Free License version 2.0
10 * Or under the following terms: 10 * Or under the following terms:
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 extern const char *const _xdg_utf8_skip; 66 extern const char *const _xdg_utf8_skip;
67 #define _xdg_utf8_next_char(p) (char *)((p) + _xdg_utf8_skip[*(unsigned char *)( p)]) 67 #define _xdg_utf8_next_char(p) (char *)((p) + _xdg_utf8_skip[*(unsigned char *)( p)])
68 #define _xdg_utf8_char_size(p) (int) (_xdg_utf8_skip[*(unsigned char *)(p)]) 68 #define _xdg_utf8_char_size(p) (int) (_xdg_utf8_skip[*(unsigned char *)(p)])
69 69
70 xdg_unichar_t _xdg_utf8_to_ucs4 (const char *source); 70 xdg_unichar_t _xdg_utf8_to_ucs4 (const char *source);
71 xdg_unichar_t _xdg_ucs4_to_lower (xdg_unichar_t source); 71 xdg_unichar_t _xdg_ucs4_to_lower (xdg_unichar_t source);
72 int _xdg_utf8_validate (const char *source); 72 int _xdg_utf8_validate (const char *source);
73 xdg_unichar_t *_xdg_convert_to_ucs4 (const char *source, int *len); 73 xdg_unichar_t *_xdg_convert_to_ucs4 (const char *source, int *len);
74 void _xdg_reverse_ucs4 (xdg_unichar_t *source, int len); 74 void _xdg_reverse_ucs4 (xdg_unichar_t *source, int len);
75 const char *_xdg_get_base_name (const char *file_name); 75 const char *_xdg_get_base_name (const char *file_name);
76 const char *_xdg_binary_or_text_fallback(const void *data, size_t len);
76 77
77 #endif /* __XDG_MIME_INT_H__ */ 78 #endif /* __XDG_MIME_INT_H__ */
OLDNEW
« no previous file with comments | « base/third_party/xdg_mime/xdgmimeicon.c ('k') | base/third_party/xdg_mime/xdgmimeint.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698