2 * Copyright (C) 1995-2005, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: mime.h,v 1.1 2006-03-15 13:32:05 adam Exp $
10 typedef struct yaz_mime_info *yaz_mime_types;
12 yaz_mime_types yaz_mime_types_create();
13 void yaz_mime_types_add(yaz_mime_types t, const char *suffix,
14 const char *mime_type);
15 const char *yaz_mime_lookup_suffix(yaz_mime_types t, const char *suffix);
16 const char *yaz_mime_lookup_fname(yaz_mime_types t, const char *fname);
17 void yaz_mime_types_destroy(yaz_mime_types t);