summaryrefslogtreecommitdiff
path: root/urlscanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'urlscanner.h')
-rw-r--r--urlscanner.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/urlscanner.h b/urlscanner.h
new file mode 100644
index 0000000..f815c41
--- /dev/null
+++ b/urlscanner.h
@@ -0,0 +1,18 @@
+#ifndef URLSCANNER_H
+#define URLSCANNER_H
+
+#define MYEOF EOF
+#define TOKEN_URL 257
+#define TOKEN_TEXT 258
+
+#ifndef YYSTYPE
+#define YYSTYPE yystype
+typedef char* yystype;
+#endif
+
+extern int yylex();
+extern yystype yylval;
+extern int yylineno;
+extern void scan_string ( const char *str );
+
+#endif