Annotation of win32/gnome/gmime-x.x.x/gmime-content-type.h, revision 1.1

1.1     ! paf         1: /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
        !             2: /*
        !             3:  *  Authors: Jeffrey Stedfast <fejj@helixcode.com>
        !             4:  *
        !             5:  *  Copyright 2000 Helix Code, Inc. (www.helixcode.com)
        !             6:  *
        !             7:  *  This program is free software; you can redistribute it and/or modify
        !             8:  *  it under the terms of the GNU General Public License as published by
        !             9:  *  the Free Software Foundation; either version 2 of the License, or
        !            10:  *  (at your option) any later version.
        !            11:  *
        !            12:  *  This program is distributed in the hope that it will be useful,
        !            13:  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            14:  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            15:  *  GNU General Public License for more details.
        !            16:  *
        !            17:  *  You should have received a copy of the GNU General Public License
        !            18:  *  along with this program; if not, write to the Free Software
        !            19:  *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
        !            20:  *
        !            21:  */
        !            22: 
        !            23: #ifndef __GMIME_CONTENT_TYPE_H__
        !            24: #define __GMIME_CONTENT_TYPE_H__
        !            25: 
        !            26: #ifdef __cplusplus
        !            27: extern "C" {
        !            28: //#pragma }
        !            29: #endif /* __cplusplus */
        !            30: 
        !            31: #include <glib.h>
        !            32: #include "gmime-param.h"
        !            33: 
        !            34: struct _GMimeContentType {
        !            35:        char *type;
        !            36:        char *subtype;
        !            37:        
        !            38:        GMimeParam *params;
        !            39:        GHashTable *param_hash;
        !            40: };
        !            41: 
        !            42: typedef struct _GMimeContentType GMimeContentType;
        !            43: 
        !            44: GMimeContentType *g_mime_content_type_new (const char *type, const char *subtype);
        !            45: GMimeContentType *g_mime_content_type_new_from_string (const char *string);
        !            46: 
        !            47: void g_mime_content_type_destroy (GMimeContentType *mime_type);
        !            48: 
        !            49: char *g_mime_content_type_to_string (const GMimeContentType *mime_type);
        !            50: 
        !            51: gboolean g_mime_content_type_is_type (const GMimeContentType *mime_type, const char *type, const char *subtype);
        !            52: 
        !            53: void g_mime_content_type_add_parameter (GMimeContentType *mime_type, const char *attribute, const char *value);
        !            54: const char *g_mime_content_type_get_parameter (const GMimeContentType *mime_type, const char *attribute);
        !            55: 
        !            56: 
        !            57: #ifdef __cplusplus
        !            58: }
        !            59: #endif /* __cplusplus */
        !            60: 
        !            61: #endif /* __GMIME_PART_H__ */

E-mail: