1 /* 2 * OpenBOR - http://www.LavaLit.com 3 * ----------------------------------------------------------------------- 4 * Licensed under the BSD license, see LICENSE in OpenBOR root for details. 5 * 6 * Copyright (c) 2004 - 2011 OpenBOR Team 7 */ 8 9 #ifndef DCPORT_H 10 #define DCPORT_H 11 12 ///////////////////////////////////////////////////////////////////////////// 13 14 #include <stdio.h> 15 #include <stdlib.h> 16 #include <string.h> 17 #include <stdarg.h> 18 #include <unistd.h> 19 #include <sys/fcntl.h> 20 #include <sys/times.h> 21 #include <errno.h> 22 23 #include "kos.h" 24 #include "ram.h" 25 #include "gdrom.h" 26 #include "globals.h" 27 28 ///////////////////////////////////////////////////////////////////////////// 29 30 extern char packfile[128]; 31 extern int cd_lba; 32 33 ///////////////////////////////////////////////////////////////////////////// 34 35 unsigned readmsb32(const unsigned char *src); 36 void openborMain(int main, char** argv); 37 void borExit(int reset); 38 39 ///////////////////////////////////////////////////////////////////////////// 40 41 #endif 42