Reorganised the modules directory, started serious work on GUI support
[tpg/acess2.git] / Kernel / include / binary.h
index a126551..fe80f5b 100644 (file)
@@ -21,6 +21,19 @@ typedef struct sBinaryPage
        Uint16  Flags;  //!< Load Flags
 } __attribute__ ((packed))     tBinaryPage;
 
+/**
+ * \brief Flags for ::tBinaryPage.Flags
+ * \name Binary Page Flags
+ * \{
+ */
+//! \brief Read-only
+#define BIN_PAGEFLAG_RO                0x0001
+//! \brief Executable
+#define BIN_PAGEFLAG_EXEC      0x0002
+/**
+ * \}
+ */
+
 /**
  * \brief Defines a binary file
  * 
@@ -144,4 +157,6 @@ typedef struct sBinaryType
  */
 extern char    *Binary_RegInterp(char *Path);
 
+extern  int    Binary_RegisterType(tBinaryType *Type);
+
 #endif

UCC git Repository :: git.ucc.asn.au