mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-11-23 22:37:02 +00:00
24 lines
480 B
C
24 lines
480 B
C
#ifndef SETURL_H
|
|
#define SETURL_H
|
|
|
|
enum SetURLResult {
|
|
SETURL_SUCCESSFUL = 0,
|
|
URL_TOO_LONG,
|
|
INVALID_CHARACTER_IN_URL,
|
|
BAD_URL_SYNTAX,
|
|
UNSUPPORTED_URL_SCHEME,
|
|
AUTHENTICATION_NOT_SUPPORTED,
|
|
FRAGMENT_NOT_SUPPORTED,
|
|
INVALID_PORT_NUMBER,
|
|
NO_HOST_SPECIFIED,
|
|
IPV6_NOT_SUPPORTED,
|
|
HOSTNAME_TOO_LONG,
|
|
NAME_LOOKUP_FAILED,
|
|
OUT_OF_MEMORY
|
|
};
|
|
|
|
enum SetURLResult
|
|
SetURL(Session *sess, char *url, Boolean permissive, Boolean partialOK);
|
|
|
|
#endif
|