No C++ comments, please!
[nasm.git] / labels.h
blob11c55194a3cc092444ab58245d9b9eed30a6e154
1 /* labels.h header file for labels.c
3 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
4 * Julian Hall. All rights reserved. The software is
5 * redistributable under the licence given in the file "Licence"
6 * distributed in the NASM archive.
7 */
9 extern char lprefix[PREFIX_MAX];
10 extern char lpostfix[PREFIX_MAX];
12 int lookup_label (char *label, long *segment, long *offset);
13 int is_extern (char *label);
14 void define_label (char *label, long segment, long offset, char *special,
15 int is_norm, int isextrn, struct ofmt *ofmt, efunc error);
16 void redefine_label (char *label, long segment, long offset, char *special,
17 int is_norm, int isextrn, struct ofmt *ofmt, efunc error);
18 void define_common (char *label, long segment, long size, char *special,
19 struct ofmt *ofmt, efunc error);
20 void declare_as_global (char *label, char *special, efunc error);
21 int init_labels (void);
22 void cleanup_labels (void);