Added a new ZOOM event type ZOOM_EVENT_END which signals no more events
[yaz-moved-to-github.git] / src / mime.h
1 /*
2  * Copyright (C) 1995-2005, Index Data ApS
3  * See the file LICENSE for details.
4  *
5  * $Id: mime.h,v 1.1 2006-03-15 13:32:05 adam Exp $
6  */
7 #ifndef MIME_H
8 #define MIME_H
9
10 typedef struct yaz_mime_info *yaz_mime_types;
11
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);
18
19 #endif
20