summaryrefslogtreecommitdiff
path: root/include/libultra/ultrahost.h
blob: 25c772ae9ccd4e9628d3397bed3c62defef529bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**************************************************************************
 *                                                                        *
 *               Copyright (C) 1995, Silicon Graphics, Inc.               *
 *                                                                        *
 *  These coded instructions, statements, and computer programs  contain  *
 *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
 *  are protected by Federal copyright  law.  They  may not be disclosed  *
 *  to  third  parties  or copied or duplicated in any form, in whole or  *
 *  in part, without the prior written consent of Silicon Graphics, Inc.  *
 *                                                                        *
 *************************************************************************/

/**************************************************************************
 *
 *  $Revision: 1.8 $
 *  $Date: 1997/07/02 02:35:06 $
 *  $Source: /disk6/Master/cvsmdev2/PR/include/ultrahost.h,v $
 *
 **************************************************************************/

#ifndef _ULTRAHOST_H_
#define _ULTRAHOST_H_

#ifdef PTN64 /* { */

#define	execl		execl_pt

#define uhOpenGame	uhOpenGame_pt
#define uhCloseGame	uhCloseGame_pt

#define uhReadGame	uhReadGame_pt
#define uhWriteGame	uhWriteGame_pt
#define uhReadRamrom	uhReadRamrom_pt
#define uhWriteRamrom	uhWriteRamrom_pt
#define uhPartnerCmd	uhPartnerCmd_pt
#define uhGload		uhGload_pt

int uhPartnerCmd(int,char *);
int uhGload(int,char *);

#endif /* } */

#ifdef __cplusplus
extern "C" {
#endif
int	uhOpenGame(const char *);
int	uhCloseGame(int);

int	uhReadGame(int, void *, int);
int	uhWriteGame(int, void *, int);
int	uhWriteRamrom(int, void *, void*, int);
int	uhReadRamrom(int, void *, void*, int);

#ifdef __cplusplus
}
#endif

#endif /* ULTRAHOST */