diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-13 11:01:27 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-13 11:08:50 -0500 |
commit | e6b3cb4c7aae79d1b02cabcc3659fec145d0954e (patch) | |
tree | cebe6cbb00c8f8c42a3b0759b11da3c6924b696a /pango/css/gtkcssdataurlprivate.h | |
parent | befadb396f3f48a1c2fe0ca07b00e783e0878e02 (diff) | |
download | pango-e6b3cb4c7aae79d1b02cabcc3659fec145d0954e.tar.gz |
Wedge the gtk css parser into pango
This is a brute-force job, just to see how far I get.
Diffstat (limited to 'pango/css/gtkcssdataurlprivate.h')
-rw-r--r-- | pango/css/gtkcssdataurlprivate.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pango/css/gtkcssdataurlprivate.h b/pango/css/gtkcssdataurlprivate.h new file mode 100644 index 00000000..5d0d6a85 --- /dev/null +++ b/pango/css/gtkcssdataurlprivate.h @@ -0,0 +1,35 @@ +/* + * Copyright © 2019 Benjamin Otte + * + * 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.1 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 <http://www.gnu.org/licenses/>. + * + * Authors: Benjamin Otte <otte@gnome.org> + */ + + +#ifndef __GTK_CSS_DATA_URL_PRIVATE_H__ +#define __GTK_CSS_DATA_URL_PRIVATE_H__ + +#include <gio/gio.h> + +G_BEGIN_DECLS + +GBytes * gtk_css_data_url_parse (const char *url, + char **out_mimetype, + GError **error); + +G_END_DECLS + +#endif /* __GTK_CSS_DATA_URL_PRIVATE_H__ */ + |