2 * Copyright 2004-2006, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
8 Mime type C functions interface declarations.
16 #include <sys/types.h>
17 #include <SupportDefs.h>
18 #include <StorageDefs.h>
26 int update_mime_info(const char *path
, int recursive
, int synchronous
,
29 status_t
create_app_meta_mime(const char *path
, int recursive
, int synchronous
,
32 status_t
get_device_icon(const char *dev
, void *icon
, int32 size
);
40 // values for the "force" parameter of update_mime_info() (Haiku only)
42 B_UPDATE_MIME_INFO_NO_FORCE
= 0,
43 B_UPDATE_MIME_INFO_FORCE_KEEP_TYPE
= 1,
44 B_UPDATE_MIME_INFO_FORCE_UPDATE_ALL
= 2,
56 status_t
get_device_icon(const char *dev
, BBitmap
*icon
, icon_size which
);
60 // include the C++ API