//
// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
// LISTING.H - Listing Output
-// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
+// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends
// RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
-// Source Utilised with the Kind Permission of Landon Dyer
+// Source utilised with the kind permission of Landon Dyer
//
#ifndef __LISTING_H__
#define TAG_COL 38 // Tag character
#define SRC_COL 40 // Source start
-// Globals, externals etc
+// Exported variables
extern char * list_fname;
extern int listing;
extern int pagelen;
extern int nlines;
extern LONG lsloc;
+extern uint8_t subttl[];
-// Prototypes
-void InitListing(void);
-void ship_ln(const char *);
+// Exported functions
+int eject(void);
+VALUE dos_date(void);
+VALUE dos_time(void);
void taglist(char);
void println(const char *);
+void ship_ln(const char *);
+void InitListing(void);
void listeol(void);
-VALUE dos_date(void);
-VALUE dos_time(void);
void lstout(char);
int listvalue(VALUE);
int d_subttl(void);
int d_title(void);
#endif // __LISTING_H__
+