summaryrefslogtreecommitdiff
path: root/src/byte_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/byte_class.h')
-rw-r--r--src/byte_class.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/byte_class.h b/src/byte_class.h
index 0ccfbdf..0f81331 100644
--- a/src/byte_class.h
+++ b/src/byte_class.h
@@ -1,3 +1,20 @@
+/*
+ * Copyright 2018 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of libnspdf.
+ *
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+/**
+ * \file
+ * NetSurf PDF library byte classification
+ */
+
+#ifndef NSPDF__BYTE_CLASS_H_
+#define NSPDF__BYTE_CLASS_H_
+
#define BC_RGLR 0 /* regular character */
#define BC_WSPC 1 /* character is whitespace */
#define BC_EOLM (1<<1) /* character signifies end of line */
@@ -8,3 +25,5 @@
#define BC_CMNT (1<<6) /* character is a comment */
const uint8_t *bclass;
+
+#endif