X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmime.h;h=ffb35bba9b159b5eda74f133f87739b2811d4d17;hp=1ef54011aef400a11effd3fdb0539301942dc772;hb=57efcfe71d3485e8f2ddac6008fbbc8183804ac7;hpb=a6af2d19dddb0c2ef961d087d8ca0f2b3bda8f7a diff --git a/src/mime.h b/src/mime.h index 1ef5401..ffb35bb 100644 --- a/src/mime.h +++ b/src/mime.h @@ -1,15 +1,20 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: mime.h,v 1.1 2006-03-15 13:32:05 adam Exp $ + * $Id: mime.h,v 1.4 2007-01-03 08:42:15 adam Exp $ */ + +/** \file mime.h + \brief Small utility to manage MIME types +*/ + #ifndef MIME_H #define MIME_H typedef struct yaz_mime_info *yaz_mime_types; -yaz_mime_types yaz_mime_types_create(); +yaz_mime_types yaz_mime_types_create(void); void yaz_mime_types_add(yaz_mime_types t, const char *suffix, const char *mime_type); const char *yaz_mime_lookup_suffix(yaz_mime_types t, const char *suffix);