Annotation of win32/gnome/gmime-x.x.x/gmime-filter-crlf.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:
! 24: #ifndef __G_MIME_FILTER_CRLF_H__
! 25: #define __G_MIME_FILTER_CRLF_H__
! 26:
! 27: #ifdef __cplusplus
! 28: extern "C" {
! 29: //#pragma }
! 30: #endif /* __cplusplus */
! 31:
! 32: #include "gmime-filter.h"
! 33:
! 34: typedef enum {
! 35: GMIME_FILTER_CRLF_ENCODE,
! 36: GMIME_FILTER_CRLF_DECODE
! 37: } GMimeFilterCRLFDirection;
! 38:
! 39: typedef enum {
! 40: GMIME_FILTER_CRLF_MODE_CRLF_DOTS,
! 41: GMIME_FILTER_CRLF_MODE_CRLF_ONLY,
! 42: } GMimeFilterCRLFMode;
! 43:
! 44: typedef struct _GMimeFilterCRLF {
! 45: GMimeFilter parent;
! 46:
! 47: GMimeFilterCRLFDirection direction;
! 48: GMimeFilterCRLFMode mode;
! 49: gboolean saw_cr;
! 50: gboolean saw_lf;
! 51: gboolean saw_dot;
! 52: } GMimeFilterCRLF;
! 53:
! 54: GMimeFilter *g_mime_filter_crlf_new (GMimeFilterCRLFDirection direction, GMimeFilterCRLFMode mode);
! 55:
! 56: #ifdef __cplusplus
! 57: }
! 58: #endif /* __cplusplus */
! 59:
! 60: #endif /* __GMIME_FILTER_CRLF_H__ */
E-mail: