| 1 | 
 #ifndef _HDL_RPC_H | 
 
 
 
 
 
 | 2 | 
 #define _HDL_RPC_H | 
 
 
 
 
 
 | 3 | 
  | 
 
 
 
 
 
 | 4 | 
 #define HDL_IRX 0xD0D0D0D | 
 
 
 
 
 
 | 5 | 
  | 
 
 
 
 
 
 | 6 | 
 #define HDL_GETINFO 0x004 | 
 
 
 
 
 
 | 7 | 
 #define HDL_RENAME  0x005 | 
 
 
 
 
 
 | 8 | 
  | 
 
 
 
 
 
 | 9 | 
 typedef struct { | 
 
 
 
 
 
 | 10 | 
   char Partition_Name [32 + 1]; | 
 
 
 
 
 
 | 11 | 
   char Name [64 + 1]; | 
 
 
 
 
 
 | 12 | 
   char Startup [8 + 1 + 3 + 1]; | 
 
 
 
 
 
 | 13 | 
   int  Is_Dvd; | 
 
 
 
 
 
 | 14 | 
 } GameInfo; | 
 
 
 
 
 
 | 15 | 
  | 
 
 
 
 
 
 | 16 | 
 #ifdef __cplusplus | 
 
 
 
 
 
 | 17 | 
 extern "C" { | 
 
 
 
 
 
 | 18 | 
 #endif /* __cplusplus */ | 
 
 
 
 
 
 | 19 | 
  | 
 
 
 
 
 
 | 20 | 
 int Hdl_Info_BindRpc(void); | 
 
 
 
 
 
 | 21 | 
 int HdlGetGameInfo(char* PartName, GameInfo *Game); | 
 
 
 
 
 
 | 22 | 
 int HdlRenameGame(char* OldName, char* NewName); | 
 
 
 
 
 
 | 23 | 
  | 
 
 
 
 
 
 | 24 | 
 #ifdef __cplusplus | 
 
 
 
 
 
 | 25 | 
 } | 
 
 
 
 
 
 | 26 | 
 #endif /* __cplusplus */ | 
 
 
 
 
 
 | 27 | 
  | 
 
 
 
 
 
 | 28 | 
 #endif /* _HDL_RPC_H */ |