#include <revolution/nwc24.h>
NWC24Err NWC24SetDlUrl( NWC24DlTask* taskPublic, const char* url );
Sets the URL for a download task. The supported protocols are http and https.
If using http, you must enable the signature verification feature, and if using https, it must be signed by Nintendo's CA. When a download is actually under way, a string may be added to the URL depending on other parameters.
taskPublic |
Pointer to the download task. |
url |
The URL to specify. |
NWC24_OK: Normal termination.
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_PROTECTED: The download task cannot be written.
NWC24_ERR_NULL: url is either NULL or a blank string.
NWC24_ERR_FULL: The length of the url string has exceeded the limit.
NWC24_ERR_INVALID_VALUE: taskPublic's value is either NULL or the download task is invalid.
NWC24_ERR_FORMAT: The url does not start with either "http://" or "https://".
2006/12/05 Initial version.
CONFIDENTIAL