mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-25 15:49:02 -05:00
36 lines
647 B
C
36 lines
647 B
C
#ifndef _AVAILABLE_H_
|
|
#define _AVAILABLE_H_
|
|
|
|
#include "stringutil.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef GSI_UNICODE
|
|
#define GSIStartAvailableCheck GSIStartAvailableCheckA
|
|
#else
|
|
#define GSIStartAvailableCheck GSIStartAvailableCheckW
|
|
#endif
|
|
|
|
typedef enum {
|
|
GSIACWaiting,
|
|
GSIACAvailable,
|
|
GSIACUnavailable,
|
|
GSIACTemporarilyUnavailable
|
|
} GSIACResult;
|
|
|
|
extern char GSIACHostname[64];
|
|
extern GSIACResult __GSIACResult;
|
|
extern char __GSIACGamename[64];
|
|
|
|
void GSIStartAvailableCheck(const gsi_char * gamename);
|
|
GSIACResult GSIAvailableCheckThink(void);
|
|
void GSICancelAvailableCheck(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|