NWC24SetDlUrl

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24SetDlUrl( NWC24DlTask* taskPublic, const char* url );

Description

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.

Arguments

taskPublic Pointer to the download task.
url The URL to specify.

Return Values

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://".

See Also

NWC24GetDlUrl

Revision History

2006/12/05 Initial version.


CONFIDENTIAL