summaryrefslogtreecommitdiff
path: root/labels.h
diff options
context:
space:
mode:
Diffstat (limited to 'labels.h')
-rw-r--r--labels.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/labels.h b/labels.h
new file mode 100644
index 00000000..fb466ca1
--- /dev/null
+++ b/labels.h
@@ -0,0 +1,17 @@
+/* labels.h header file for labels.c
+ *
+ * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
+ * Julian Hall. All rights reserved. The software is
+ * redistributable under the licence given in the file "Licence"
+ * distributed in the NASM archive.
+ */
+
+int lookup_label (char *label, long *segment, long *offset);
+void define_label (char *label, long segment, long offset,
+ struct ofmt *ofmt, efunc error);
+void define_common (char *label, long segment, long size,
+ struct ofmt *ofmt, efunc error);
+void define_label_stub (char *label, efunc error);
+void declare_as_global (char *label, efunc error);
+int init_labels (void);
+void cleanup_labels (void);