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

Side by Side Diff: base/third_party/xdg_mime/xdgmimeglob.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/xdgmimecache.c ('k') | base/third_party/xdg_mime/xdgmimeglob.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 /* xdgmimeglob.h: Private file. Datastructure for storing the globs. 2 /* xdgmimeglob.h: Private file. Datastructure for storing the globs.
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #define _xdg_mime_glob_read_from_file XDG_RESERVED_ENTRY(glob_read_from_ file) 44 #define _xdg_mime_glob_read_from_file XDG_RESERVED_ENTRY(glob_read_from_ file)
45 #define _xdg_glob_hash_new XDG_RESERVED_ENTRY(hash_new) 45 #define _xdg_glob_hash_new XDG_RESERVED_ENTRY(hash_new)
46 #define _xdg_glob_hash_free XDG_RESERVED_ENTRY(hash_free) 46 #define _xdg_glob_hash_free XDG_RESERVED_ENTRY(hash_free)
47 #define _xdg_glob_hash_lookup_file_name XDG_RESERVED_ENTRY(hash_lookup_fil e_name) 47 #define _xdg_glob_hash_lookup_file_name XDG_RESERVED_ENTRY(hash_lookup_fil e_name)
48 #define _xdg_glob_hash_append_glob XDG_RESERVED_ENTRY(hash_append_glo b) 48 #define _xdg_glob_hash_append_glob XDG_RESERVED_ENTRY(hash_append_glo b)
49 #define _xdg_glob_determine_type XDG_RESERVED_ENTRY(determine_type) 49 #define _xdg_glob_determine_type XDG_RESERVED_ENTRY(determine_type)
50 #define _xdg_glob_hash_dump XDG_RESERVED_ENTRY(hash_dump) 50 #define _xdg_glob_hash_dump XDG_RESERVED_ENTRY(hash_dump)
51 #endif 51 #endif
52 52
53 void _xdg_mime_glob_read_from_file (XdgGlobHash *glob_hash, 53 void _xdg_mime_glob_read_from_file (XdgGlobHash *glob_hash,
54 » » » » » const char *file_name); 54 » » » » » const char *file_name,
55 » » » » » int version_two);
55 XdgGlobHash *_xdg_glob_hash_new (void); 56 XdgGlobHash *_xdg_glob_hash_new (void);
56 void _xdg_glob_hash_free (XdgGlobHash *glob_hash); 57 void _xdg_glob_hash_free (XdgGlobHash *glob_hash);
57 int _xdg_glob_hash_lookup_file_name (XdgGlobHash *glob_hash, 58 int _xdg_glob_hash_lookup_file_name (XdgGlobHash *glob_hash,
58 const char *text, 59 const char *text,
59 const char *mime_types[], 60 const char *mime_types[],
60 int n_mime_types); 61 int n_mime_types);
61 void _xdg_glob_hash_append_glob (XdgGlobHash *glob_hash, 62 void _xdg_glob_hash_append_glob (XdgGlobHash *glob_hash,
62 const char *glob, 63 const char *glob,
63 const char *mime_type, 64 const char *mime_type,
64 » » » » » int weight); 65 » » » » » int weight,
66 » » » » » int case_sensitive);
65 XdgGlobType _xdg_glob_determine_type (const char *glob); 67 XdgGlobType _xdg_glob_determine_type (const char *glob);
66 void _xdg_glob_hash_dump (XdgGlobHash *glob_hash); 68 void _xdg_glob_hash_dump (XdgGlobHash *glob_hash);
67 69
68 #endif /* __XDG_MIME_GLOB_H__ */ 70 #endif /* __XDG_MIME_GLOB_H__ */
OLDNEW
« no previous file with comments | « base/third_party/xdg_mime/xdgmimecache.c ('k') | base/third_party/xdg_mime/xdgmimeglob.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698