u8* -> void* and spaces -> tabs
This commit is contained in:
parent
723fb3111f
commit
b305b1e12b
@ -95,31 +95,31 @@ Result ACU_GetLastDetailErrorCode(u32* errorCode);
|
|||||||
* @brief Prepares a buffer to hold the configuration data to start a connection.
|
* @brief Prepares a buffer to hold the configuration data to start a connection.
|
||||||
* @param config Pointer to a buffer of size at least 0x200 to contain the data.
|
* @param config Pointer to a buffer of size at least 0x200 to contain the data.
|
||||||
*/
|
*/
|
||||||
Result ACU_CreateDefaultConfig(u8* config);
|
Result ACU_CreateDefaultConfig(void* config);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets something that makes the connection reliable.
|
* @brief Sets something that makes the connection reliable.
|
||||||
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
||||||
* @param area Always 2 ?
|
* @param area Always 2 ?
|
||||||
*/
|
*/
|
||||||
Result ACU_SetNetworkArea(u8* config, u8 area);
|
Result ACU_SetNetworkArea(void* config, u8 area);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the slot to use when connecting.
|
* @brief Sets the slot to use when connecting.
|
||||||
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
||||||
* @param type Allowed slots flag. 1 for slot 1, 2 for slot 2, 4 for slot 3.
|
* @param type Allowed slots flag. 1 for slot 1, 2 for slot 2, 4 for slot 3.
|
||||||
*/
|
*/
|
||||||
Result ACU_SetAllowApType(u8* config, u8 type);
|
Result ACU_SetAllowApType(void* config, u8 type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets something that makes the connection reliable.
|
* @brief Sets something that makes the connection reliable.
|
||||||
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
||||||
*/
|
*/
|
||||||
Result ACU_SetRequestEulaVersion(u8* config);
|
Result ACU_SetRequestEulaVersion(void* config);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Starts the connection procedure.
|
* @brief Starts the connection procedure.
|
||||||
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
* @param config Pointer to a buffer of size at least 0x200 used with ACU_CreateDefaultConfig previously.
|
||||||
* @param connectionHandle Handle created with svcCreateEvent to wait on until the connection succeeds or fails.
|
* @param connectionHandle Handle created with svcCreateEvent to wait on until the connection succeeds or fails.
|
||||||
*/
|
*/
|
||||||
Result ACU_ConnectAsync(u8* config, Handle connectionHandle);
|
Result ACU_ConnectAsync(const void* config, Handle connectionHandle);
|
||||||
|
@ -198,7 +198,7 @@ Result ACU_GetLastDetailErrorCode(u32* errorCode)
|
|||||||
return (Result)cmdbuf[1];
|
return (Result)cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ACU_CreateDefaultConfig(u8* config)
|
Result ACU_CreateDefaultConfig(void* config)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
@ -213,7 +213,7 @@ Result ACU_CreateDefaultConfig(u8* config)
|
|||||||
return (Result)cmdbuf[1];
|
return (Result)cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ACU_SetNetworkArea(u8* config, u8 area)
|
Result ACU_SetNetworkArea(void* config, u8 area)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
@ -231,7 +231,7 @@ Result ACU_SetNetworkArea(u8* config, u8 area)
|
|||||||
return (Result)cmdbuf[1];
|
return (Result)cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ACU_SetAllowApType(u8* config, u8 type)
|
Result ACU_SetAllowApType(void* config, u8 type)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
@ -249,7 +249,7 @@ Result ACU_SetAllowApType(u8* config, u8 type)
|
|||||||
return (Result)cmdbuf[1];
|
return (Result)cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ACU_SetRequestEulaVersion(u8* config)
|
Result ACU_SetRequestEulaVersion(void* config)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
@ -268,7 +268,7 @@ Result ACU_SetRequestEulaVersion(u8* config)
|
|||||||
return (Result)cmdbuf[1];
|
return (Result)cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result ACU_ConnectAsync(u8* config, Handle connectionHandle)
|
Result ACU_ConnectAsync(const void* config, Handle connectionHandle)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32 *cmdbuf = getThreadCommandBuffer();
|
u32 *cmdbuf = getThreadCommandBuffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user