Debian Codegraph @

lib/common/htmllex.h

raw
1 /// @file
2 /// @ingroup common_utils
3 /*************************************************************************
4 * Copyright (c) 2011 AT&T Intellectual Property
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * https://www.eclipse.org/legal/epl-v10.html
9 *
10 * Contributors: Details at https://graphviz.org
11 *************************************************************************/
12
13 #pragma once
14
15 #include <util/agxbuf.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 union HTMLSTYPE;
22 typedef struct htmlparserstate_s htmlparserstate_t;
23 typedef struct htmlscan_s htmlscan_t;
24
25 extern int initHTMLlexer(htmlscan_t *, char *, agxbuf *, htmlenv_t *);
26 extern int htmllex(union HTMLSTYPE *, htmlscan_t *);
27 extern unsigned long htmllineno(htmlscan_t *);
28 extern int clearHTMLlexer(htmlscan_t *);
29 void htmlerror(htmlscan_t *, const char *);
30
31 #ifdef __cplusplus
32 }
33 #endif