PSP networking matches linux now.
This commit is contained in:
@@ -34,10 +34,6 @@ typedef struct {
|
||||
void *onConnectedUser;
|
||||
void (*onConnected)(void *user);
|
||||
void (*onFailed)(errorret_t error, void *user);
|
||||
|
||||
// Used during disconnecting
|
||||
void *onCompleteUser;
|
||||
void (*onComplete)(void *user);
|
||||
} networkpsp_t;
|
||||
|
||||
/**
|
||||
@@ -84,4 +80,23 @@ void networkPSPRequestConnection(
|
||||
void (*onFailed)(errorret_t error, void *user),
|
||||
void (*onDisconnect)(errorret_t error, void *user),
|
||||
void *user
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
* Requests the PSP to disconnect from the network (Shows the Wi-Fi disconnecting).
|
||||
*
|
||||
* @param onComplete Callback when disconnection is complete.
|
||||
* @param user User data to pass to the callback.
|
||||
*/
|
||||
void networkPSPRequestDisconnection(
|
||||
void (*onComplete)(void *user),
|
||||
void *user
|
||||
);
|
||||
|
||||
/**
|
||||
* Disposes the PSP sce net libraries, doesn't unload the modules and won't
|
||||
* term the dialog if it's active.
|
||||
*
|
||||
* @return Error state (if any).
|
||||
*/
|
||||
errorret_t networkPSPTerm();
|
||||
Reference in New Issue
Block a user