aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-utils.h
blob: d7c0c3b06024a23c8ad77b4abdb111fc5ec7f476 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* e-html-utils.c */
/* 
 * Copyright (C) 2000  Helix Code, Inc.
 * Author: Dan Winship <danw@helixcode.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __E_HTML_UTILS__
#define __E_HTML_UTILS__

#include <glib.h>

#define E_TEXT_TO_HTML_PRE               (1 << 0)
#define E_TEXT_TO_HTML_CONVERT_NL        (1 << 1)
#define E_TEXT_TO_HTML_CONVERT_SPACES    (1 << 2)
#define E_TEXT_TO_HTML_CONVERT_URLS      (1 << 3)
#define E_TEXT_TO_HTML_MARK_CITATION     (1 << 4)
#define E_TEXT_TO_HTML_CONVERT_ADDRESSES (1 << 5)
#define E_TEXT_TO_HTML_ESCAPE_8BIT       (1 << 6)

char *e_text_to_html_full (const char *input, unsigned int flags, guint32 color);
char *e_text_to_html      (const char *input, unsigned int flags);

#endif /* __E_HTML_UTILS__ */
2 +0800'>2012-07-261-0/+15 * - use UPDATING instead CHANGESohauer2012-07-231-5/+0 * - use reserverd UID/GIDohauer2012-07-211-0/+5 * - Keep questions on a public mailing listbeat2012-07-161-1/+1 * - Add a note about the switch to Subversionbeat2012-07-161-0/+15 * - Fix copy-paste errorak2012-06-251-2/+2 * Give a passing mention of OPTIONSngcrees2012-06-241-0/+11 * - Add CHANGES entry on recent LDFLAGS updateamdmi32011-09-271-0/+19 * Describe how CPPFLAGS is now passed to both the configure and makegerald2011-06-071-0/+15 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-0/+8 * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+gerald2010-06-071-0/+7 * - Add entry in CHANGES about bsd.licenses*.mk.alepulver2010-05-261-0/+9 * - add 1 missing WITH_APACHEXX option to CHANGES thats now deadpgollucci2010-05-261-1/+1 * Bump copyright year to 2010erwin2010-01-031-1/+1 * be more specific about WITH_APACHE2 and friendspgollucci2009-12-261-1/+1 * Remove myself as maintainer and hand over to portmgrerwin2009-09-151-6/+3 * Mention the new USERS/GROUPS variable.flz2009-09-071-1/+16 * Add a note on the sourceforge change and new bsd.sites.mk macro.erwin2009-08-131-0/+11 * - Tell world bsd.port.options.mk are cool nowpav2009-05-211-7/+13 * - Document some deaths legacy in bsd.apache.mk variablespgollucci2009-05-171-0/+12 * - Change the wording a bit to point to UPDATING as wellerwin2009-03-031-2/+2 * - devel/libslang2 has completely replaced devel/libslang which has not beenpgollucci2009-02-081-0/+8 * - Drop whitespacesmiwi2008-09-081-1/+1 * * print/ghostscript-* and related ports have been renamed in thehrs2008-09-061-0/+22 * - Document CONFIGURE_ARGS changes for GNU_CONFIGURE on the syntax forrafan2008-08-211-0/+7 * - Fix some noticed spelling errorsdanfe2008-07-231-5/+5 * Document porter visible changes from bsd.port.mk rev. 1.598pav2008-07-221-0/+7 * Document wrapper option for ports-mgmt/pkg_install.flz2008-06-101-0/+8 * 20080414 updatespav2008-04-151-0/+12