/* * Copyright (C) 2001 Ximian Inc. * * Authors: Michael Zucchi * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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 program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ /** WARNING ** ** DO NOT USE THIS CODE OUTSIDE OF CAMEL ** ** IT IS SUBJECT TO CHANGE OR MAY VANISH AT ANY TIME **/ #ifndef _CAMEL_HTML_PARSER_H #define _CAMEL_HTML_PARSER_H #include #define CAMEL_HTML_PARSER(obj) CAMEL_CHECK_CAST (obj, camel_html_parser_get_type (), CamelHTMLParser) #define CAMEL_HTML_PARSER_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_html_parser_get_type (), CamelHTMLParserClass) #define CAMEL_IS_HTML_PARSER(obj) CAMEL_CHECK_TYPE (obj, camel_html_parser_get_type ()) typedef struct _CamelHTMLParserClass CamelHTMLParserClass; typedef struct _CamelHTMLParser CamelHTMLParser; /* Parser/tokeniser states */ typedef enum _camel_html_parser_t { CAMEL_HTML_PARSER_DATA, /* raw data */ CAMEL_HTML_PARSER_ENT, /* entity in data */ CAMEL_HTML_PARSER_ELEMENT, /* element (tag + attributes scanned) */ CAMEL_HTML_PARSER_TAG, /* tag */ CAMEL_HTML_PARSER_DTDENT, /* dtd entity? */ CAMEL_HTML_PARSER_COMMENT0, /* start of comment */ CAMEL_HTML_PARSER_COMMENT, /* body of comment */ CAMEL_HTML_PARSER_ATTR0, /* start of attribute */ CAMEL_HTML_PARSER_ATTR, /* attribute */ CAMEL_HTML_PARSER_VAL0, /* start of value */ CAMEL_HTML_PARSER_VAL, /* value */ CAMEL_HTML_PARSER_VAL_ENT, /* entity in value */ CAMEL_HTML_PARSER_EOD, /* end of current data */ CAMEL_HTML_PARSER_EOF, /* end of file */ } camel_html_parser_t; struct _CamelHTMLParser { CamelObject parent; struct _CamelHTMLParserPrivate *priv; }; struct _CamelHTMLParserClass { CamelObjectClass parent_class; }; CamelType camel_html_parser_get_type (void); CamelHTMLParser *camel_html_parser_new (void); void camel_html_parser_set_data(CamelHTMLParser *hp, const char *start, int len, int last); camel_html_parser_t camel_html_parser_step(CamelHTMLParser *hp, const char **datap, int *lenp); const char *camel_html_parser_left(CamelHTMLParser *hp, int *lenp); const char *camel_html_parser_tag(CamelHTMLParser *hp); const char *camel_html_parser_attr(CamelHTMLParser *hp, const char *name); const GPtrArray *camel_html_parser_attr_list(CamelHTMLParser *hp, const GPtrArray **values); #endif /* ! _CAMEL_HTML_PARSER_H */ ue='branches/2014Q2'>branches/2014Q2 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* CTorrent Control Server (CTCS) is an interface for monitoring and managingmiwi2009-07-084-0/+40
* Bump PORTREVISION after libogg and libvorbisfile major version increment.naddy2009-07-075-6/+6
* - Update to 0.91miwi2009-07-063-5/+7
* - Fix build with custom prefixmiwi2009-07-051-0/+4
* - Update to 1.1.9miwi2009-06-262-4/+4
* Update to 0.7.4lioux2009-06-242-4/+4
* - Update to 1.2.12acm2009-06-245-158/+199
* Verlihub Contro Panel is a tool for the administration of your hubsoftpgollucci2009-06-245-0/+70
* - Update to 5.1.4pgollucci2009-06-242-4/+4
* Remove patch-libtransmission_platform.c, use -g/-w options in the rc scriptmezz2009-06-205-37/+6
* Bump the UID/GID from 919 to 921 to avoid the conflict with others. Bump themezz2009-06-202-2/+2
* -Update to 1.72.mezz2009-06-2017-1921/+190
* - Pass maintainer role to submitterwxs2009-06-181-1/+1
* - Pass back to the pool as I don't use this anymore.wxs2009-06-171-1/+1
* - Update to 2.2.5dhn2009-06-176-15/+12
* - Update lang/python26 and make Python 2.6.2 to the default Python versionmiwi2009-06-094-5/+2
* Update to 3.2.2-1makc2009-06-072-3/+7
* Fix the upload torrent, bump the PORTREVISION on daemon and gtk.mezz2009-06-074-2/+309
* 2009-05-31 biology/p5-bioperl-devel: no longer under developmentmiwi2009-06-068-1024/+0
* Update to 3.2.2makc2009-06-033-10/+18
* Update to 0.7.3lioux2009-06-013-9/+8
* - Update to 5.1.3miwi2009-05-302-4/+4
* - Update to 1.1.8miwi2009-05-2912-595/+540
* - Fix Qt dependencies [1]gahr2009-05-251-3/+6
* - New port: net-p2p/transmisson-remote-guiacm2009-05-2411-0/+167
* - Update to 1.3.3miwi2009-05-2314-74/+228
* - fix LATEST_LINK net-p2p/deluge and net-p2p/deluge05pgollucci2009-05-221-0/+5
* - Add WITH_UPNP knob to "Enable Universal Plug and Play support"laszlof2009-05-213-6/+30
* Chase libgmp and bump PORTREVISION.ale2009-05-135-7/+9
* Update to 1.61.mezz2009-05-124-5/+7
* Update to 1.60.mezz2009-05-1010-209/+286
* - Update to 0.90dhn2009-05-092-7/+9
* Take these ports back to me. I will working on an update tonight or tomorrow.mezz2009-05-084-4/+4
* - Update to 2009-04-19miwi2009-04-274-41/+51
* Fix plist with -DNOPORTDOCSitetcu2009-04-263-0/+15
* Update to 0.7.2lioux2009-04-227-86/+43
* - Remove uneeded patchmiwi2009-04-212-28/+0
* - Fix build with new boostmiwi2009-04-2138-16/+936
* - Install all docs under ${DOCSDIR}garga2009-04-143-666/+14
* Bump the version of the xmlrpc-c-devel shared librarychinsan2009-04-111-2/+2
* Bump the version of the xmlrpc-c-devel shared librarychinsan2009-04-112-2/+2
* Update to 4.2.0.2rnoland2009-04-103-16/+4
* Fix plist with -DNOPORT*.itetcu2009-04-082-2/+4
* - Fix building with boost 1.37lwhsu2009-04-076-400/+36
* - Add USE_GCC=4.3+ to fix building with boost 1.37lwhsu2009-04-071-0/+1
* - Drop needless depend on curlsem2009-04-063-3/+3
* - MAKE_JOBS_SAFE -> MAKE_JOBS_UNSAFEmiwi2009-04-051-1/+1
* - Update to 2.2.4pav2009-04-0512-114/+72
* - Update to 0.96.6miwi2009-04-023-6/+7
* Mark MAKE_JOBS_SAFEehaupt2009-03-271-0/+1
* - Update to 0.2.7jadawin2009-03-273-7/+19
* Mark MAKE_JOBS_SAFE for SMP compilationlioux2009-03-262-0/+2
* - Revert the last change - known to break the build with boost 1.34. Is be co...amdmi32009-03-261-1/+0
* Mark MAKE_JOBS_SAFE for SMP compilationlioux2009-03-252-0/+2
* bump PORTREVISION after cmake updatemakc2009-03-251-0/+1
* - Remove boost compatibility patch, is not needed anymore after latest updateamdmi32009-03-252-20/+0
* - Fix build with upcoming boost 1.37.1amdmi32009-03-241-0/+1
* - Fix build with upcoming boost 1.37.1amdmi32009-03-241-0/+10
* - Fix build with upcoming boost 1.37.1amdmi32009-03-242-0/+20
* - Fix build with upcomint boost 1.37.1amdmi32009-03-241-0/+10
* - Update to version 1.3.2miwi2009-03-248-98/+80
* - Update to version 0.14.2miwi2009-03-2410-324/+422
* Update to 2.2.3.delphij2009-03-2215-234/+615
* Welcome to the new linux ports infrastructure which allows usingbsam2009-03-201-1/+1
* Fix MAINTAINER.danfe2009-03-191-1/+1
* - Update to version 1.0.3. Store distfile locally until Launchpad folks fixdanfe2009-03-193-9/+10
* Release these ports into wild. I don't have time for these ports anymore. I ammezz2009-03-197-7/+7
* Update to 1.1.5.mezz2009-03-194-29/+30
* - Update to 0.4.9gahr2009-03-173-110/+116
* - Update to 0.3.23gahr2009-03-173-8/+9
* - Update to 5.1.2dhn2009-03-132-4/+4
* Update to 1.1.4.mezz2009-03-123-12/+11
* - Reset farrokhi@freebsd.org due to long period of inactivity.miwi2009-03-101-1/+1
* - Update to 5.1.1beech2009-03-092-4/+4
* Add a missing dependency (py-gobject) when WITHOUT_PYGTK is defined. Bump themezz2009-03-081-1/+3
* Update to 4.1.0.4rnoland2009-03-072-4/+4
* I still have old libcurl installed and forgot to edit it back to curl.5.mezz2009-02-284-5/+5
* Update to 1.51.mezz2009-02-287-311/+273
* - Drop maintainership of the following ports:alepulver2009-02-284-4/+4
* Update to 3.0.0lioux2009-02-252-4/+4
* Update to 1.1.3. Thanks to my friend for let me use his FreeBSD box.mezz2009-02-224-18/+16
* Update to 3.2makc2009-02-223-77/+130
* Update to 2.9.7lioux2009-02-192-4/+4
* Update to 4.1.0.0rnoland2009-02-193-4/+16
* Update to 0.15.itetcu2009-02-183-6/+46
* Update to 0.50erwin2009-02-163-31/+25
* - Update ImageMagick to 6.4.9.2mm2009-02-112-4/+4
* - Fix the build error caused by update of py-m2crypto.alepulver2009-02-061-2/+2
* - Fix the build error caused by the update of security/py-m2crypto.alepulver2009-02-061-2/+2
* 2009-01-19 games/emacs-chess: has been broken for more than 6 monthsmiwi2009-02-047-138/+0
* - Update to 5.0.11beech2009-01-313-14/+29
* Package has been updated to include several fixes, seemakc2009-01-303-3/+34
* Update to 1.1.1.mezz2009-01-283-10/+16
* Update to 3.1.6makc2009-01-253-7/+9
* - Update to 0.70.araujo2009-01-252-4/+4
* Add deluge05.mezz2009-01-241-0/+1
* Bump the version of the curl shared library after the ftp/curl updateroam2009-01-237-11/+13
* - Chase lang/guile shlib bumpmiwi2009-01-231-2/+2
* net-p2p/deluge: Update to 1.1.0.mezz2009-01-1911-941/+1867
* Fix build on amd64rnoland2009-01-182-0/+21
* Fix the build w/ libxml2 2.7.x.mezz2009-01-121-0/+16
* - Update to 0.62pgollucci2009-01-122-4/+4
* - Add mysql dependency to the rc scriptamdmi32009-01-122-2/+2
* - Fix insecure temporary file usage and arbitrary command executionmiwi2009-01-122-3/+84
* - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-076-34/+6
* Hook vuze to the build after repocopy.rnoland2009-01-011-0/+1
* Update to 1.42.mezz2008-12-281-1/+1
* Update to 1.42.mezz2008-12-287-75/+84
* Update to 4.0.0.4rnoland2008-12-238-35/+42
* Forced commit after repocopy net-p2p/azureus -> net-p2p/vuzernoland2008-12-231-1/+1
* Update to version 1.1.0az2008-12-223-23/+4
* - This port has been FORBIDDEN for more than 6 months. Set to expire in onepav2008-12-201-0/+2
* - Convert to OPTIONS and add more of themamdmi32008-12-204-148/+218
* - Update to 0.61miwi2008-12-132-4/+4
* net-p2p/rtorrent needs recent gcc (4.2+).flz2008-12-111-0/+2
* Update net-p2p/rtorrent-devel to 0.8.4.flz2008-12-093-10/+7
* Update net-p2p/libtorrent-devel to 0.12.4.flz2008-12-094-8/+17
* Update net-p2p/rtorrent to 0.8.2.flz2008-12-093-11/+30
* Update net-p2p/libtorrent to 0.12.2.flz2008-12-094-9/+9
* 2008-09-19 japanese/escpf: Has been broken for more than 6 monthsmiwi2008-12-0822-949/+0
* - Update to 4.17.0miwi2008-12-073-21/+27
* Update ktorrent to 3.1.5 for KDE4.makc2008-12-064-413/+514
* Drop maintainership.lioux2008-11-303-3/+3
* - Update maintainer mail adressmiwi2008-11-301-1/+1
* - Fix PLISTgahr2008-11-251-1/+0
* - Update to 0.4.8gahr2008-11-253-13/+14
* - Update to 0.3.22gahr2008-11-253-6/+5
* Update ktorrent to 2.2.8 - the last release for KDE3.makc2008-11-216-10/+12
* Only add extra patches if they are present.flz2008-11-174-0/+9
* BTPD is a bittorrent client consisting of a daemon and client commands, whichmiwi2008-11-164-0/+41
* Fix the build by regenerate the ${WRKSRC}/intltool-*.in. Current, in themezz2008-11-111-0/+3
* Update to 1.40.mezz2008-11-1110-182/+225
* Update net-p2p/rtorrent-devel to 0.8.3.flz2008-11-103-6/+18
* - Use net/xmlrpc-c-devel instead of net/xmlrpc-c.flz2008-11-102-25/+4
* Update net-p2p/libtorrent-devel to 0.12.3.flz2008-11-102-4/+4
* -LOCALBASE -> (MAN)PREFIX to install its own files.mezz2008-11-031-5/+3
* - Update to 0.3.4miwi2008-10-242-6/+6
* - Update to 3.2.6.106miwi2008-10-192-10/+13
* - Update to 0.60miwi2008-10-192-4/+4
* - Update to 0.52amdmi32008-10-134-11/+70
* Unworkable is a BSD-licensed BitTorrent implementationmiwi2008-10-114-0/+50
* - Update to 0.4.7gahr2008-09-233-13/+10
* - Update to 0.3.21gahr2008-09-23