2 * Copyright (C) 1995-2006, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: mime.h,v 1.2 2006-04-20 20:50:51 adam Exp $
9 \brief Small utility to manage MIME types
15 typedef struct yaz_mime_info *yaz_mime_types;
17 yaz_mime_types yaz_mime_types_create();
18 void yaz_mime_types_add(yaz_mime_types t, const char *suffix,
19 const char *mime_type);
20 const char *yaz_mime_lookup_suffix(yaz_mime_types t, const char *suffix);
21 const char *yaz_mime_lookup_fname(yaz_mime_types t, const char *fname);
22 void yaz_mime_types_destroy(yaz_mime_types t);