Annotation of win32/gnome/gmime-x.x.x/gmime-header.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@ximian.com>
        !             4:  *
        !             5:  *  Copyright 2001 Ximian, Inc. (www.ximian.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_HEADER_H__
        !            24: #define __GMIME_HEADER_H__
        !            25: 
        !            26: #ifdef __cplusplus
        !            27: extern "C" {
        !            28: //#pragma }
        !            29: #endif /* __cplusplus */
        !            30: 
        !            31: #include <glib.h>
        !            32: #include "gmime-stream.h"
        !            33: 
        !            34: typedef struct _GMimeHeader GMimeHeader;
        !            35: 
        !            36: typedef void (*GMimeHeaderFunc) (const char *name, const char *value, gpointer data);
        !            37: 
        !            38: GMimeHeader *g_mime_header_new (void);
        !            39: 
        !            40: void g_mime_header_destroy (GMimeHeader *header);
        !            41: 
        !            42: void g_mime_header_foreach (const GMimeHeader *header, GMimeHeaderFunc func, gpointer data);
        !            43: 
        !            44: void g_mime_header_set (GMimeHeader *header, const char *name, const char *value);
        !            45: 
        !            46: void g_mime_header_add (GMimeHeader *header, const char *name, const char *value);
        !            47: 
        !            48: const char *g_mime_header_get (const GMimeHeader *header, const char *name);
        !            49: 
        !            50: void g_mime_header_remove (GMimeHeader *header, const char *name);
        !            51: 
        !            52: void g_mime_header_write_to_stream (const GMimeHeader *header, GMimeStream *stream);
        !            53: 
        !            54: char *g_mime_header_to_string (const GMimeHeader *header);
        !            55: 
        !            56: #ifdef __cplusplus
        !            57: }
        !            58: #endif /* __cplusplus */
        !            59: 
        !            60: #endif /* __GMIME_HEADER_H__ */

E-mail: