mime_map.h

00001 /*
00002  * Copyright (c) 2005-2012 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: mime_map.h,v 1.5 2006/01/09 12:38:37 tat Exp $
00009  */
00010 
00011 #ifndef _KLONE_MIME_MAP_H_
00012 #define _KLONE_MIME_MAP_H_
00013  
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017 
00018 typedef struct mime_map_s
00019 {
00020     const char *ext, *mime_type;
00021     int comp;   /* if >0 compression is recommended */
00022 } mime_map_t;
00023 
00024 extern mime_map_t mime_map[];
00025 
00026 #ifdef __cplusplus
00027 }
00028 #endif 
00029 
00030 #endif

←Products
Copyright © 2005-2012 - KoanLogic S.r.l. - All rights reserved