summaryrefslogtreecommitdiff
path: root/output/outlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-27 22:15:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-27 22:15:25 -0700
commit69925e5b78d3f8020d94beb80f54f3c245ce14be (patch)
treebb895464dee72b19dc144672f75fd6699fd39366 /output/outlib.h
parent31b707bef0af5fffe7c507089e1e281925b13aae (diff)
downloadnasm-69925e5b78d3f8020d94beb80f54f3c245ce14be.tar.gz
nasm-69925e5b78d3f8020d94beb80f54f3c245ce14be.tar.bz2
nasm-69925e5b78d3f8020d94beb80f54f3c245ce14be.zip
Move prototypes for null_debug to outform.h and outlib.h
Move the prototypes for the null debugging format to outform.h (for the top-level structure declaration only) and outlib.h (for the internal routines.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outlib.h')
-rw-r--r--output/outlib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/output/outlib.h b/output/outlib.h
index 5057e80..285ffa9 100644
--- a/output/outlib.h
+++ b/output/outlib.h
@@ -5,5 +5,18 @@
uint64_t realsize(enum out_type type, uint64_t size);
+/* Do-nothing versions of all the debug routines */
+struct ofmt;
+void null_debug_init(struct ofmt *of, void *id, FILE * fp, efunc error);
+void null_debug_linenum(const char *filename, int32_t linenumber,
+ int32_t segto);
+void null_debug_deflabel(char *name, int32_t segment, int64_t offset,
+ int is_global, char *special);
+void null_debug_routine(const char *directive, const char *params);
+void null_debug_typevalue(int32_t type);
+void null_debug_output(int type, void *param);
+void null_debug_cleanup(void);
+extern struct dfmt *null_debug_arr[2];
+
#endif /* NASM_OUTLIB_H */