talkatu/talkatu
Clone
Summary
Browse
Changes
Graph
Make sure license file headers are using an https link
2020-09-21, Gary Kramlich
2c25a49202a6
Make sure license file headers are using an https link
Make sure all of the license file headers have an https link
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/126/
/*
* talkatu
* Copyright (C) 2017-2020 Gary Kramlich <grim@reaperworld.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <https://www.gnu.org/licenses/>.
*/
#if !defined(TALKATU_GLOBAL_HEADER_INSIDE) && !defined(TALKATU_COMPILATION)
#error "only <talkatu.h> may be included directly"
#endif
#ifndef TALKATU_HTML_H
#define TALKATU_HTML_H
#include
<glib.h>
#include
<glib-object.h>
#define TALKATU_TYPE_HTML_PARSER (talkatu_html_parser_get_type())
G_DECLARE_DERIVABLE_TYPE
(
TalkatuHtmlParser
,
talkatu_html_parser
,
TALKATU
,
HTML_PARSER
,
GObject
)
struct
_TalkatuHtmlParserClass
{
/*< private >*/
GObjectClass
parent
;
/*< public >*/
void
(
*
element_start
)(
TalkatuHtmlParser
*
parser
,
const
gchar
*
name
,
const
gchar
**
attribute_names
,
const
gchar
**
attribute_values
,
gpointer
data
);
void
(
*
element_finish
)(
TalkatuHtmlParser
*
parser
,
const
gchar
*
name
,
gpointer
data
);
void
(
*
text
)(
TalkatuHtmlParser
*
parser
,
const
gchar
*
text
,
gpointer
data
);
void
(
*
comment
)(
TalkatuHtmlParser
*
parser
,
const
gchar
*
comment
,
gpointer
data
);
};
G_BEGIN_DECLS
void
talkatu_html_parser_parse
(
TalkatuHtmlParser
*
parser
,
const
gchar
*
html
,
gpointer
data
);
G_END_DECLS
#endif
/* TALKATU_HTML_H */