ObjFW  Check-in [0a3a76c56c]

Overview
Comment:OFURLHandler: Minor documentation fix
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a3a76c56cb4a70c442fc1ddfc3dae7450967b2350f690c892541d4dc8cff254
User & Date: js on 2022-08-11 23:20:16
Other Links: manifest | tags
Context
2022-08-13
14:33
OFTCPSocket: Minor documentation fix check-in: 08cb210f76 user: js tags: trunk
2022-08-11
23:20
OFURLHandler: Minor documentation fix check-in: 0a3a76c56c user: js tags: trunk
20:54
OFURLHandler: Add +[openItemAtURL:mode:] check-in: 338d452f33 user: js tags: trunk
Changes

Modified src/OFURLHandler.h from [ab15a19579] to [fbe4c6d68a].

76
77
78
79
80
81
82

83
84
85
86
87
88
89
 *	       `w+`           | Read-write, create or truncate
 *	       `w+x`          | Read-write, create or fail, exclusive
 *	       `a`            | Write-only, create or append
 *	       `a+`           | Read-write, create or append
 *	       @n
 *	       The handler is allowed to not implement all modes and is also
 *	       allowed to implement additional, scheme-specific modes.

 */
+ (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;

- (instancetype)init OF_UNAVAILABLE;

/**
 * @brief Initializes the handler for the specified scheme.







>







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
 *	       `w+`           | Read-write, create or truncate
 *	       `w+x`          | Read-write, create or fail, exclusive
 *	       `a`            | Write-only, create or append
 *	       `a+`           | Read-write, create or append
 *	       @n
 *	       The handler is allowed to not implement all modes and is also
 *	       allowed to implement additional, scheme-specific modes.
 * @return The opened stream if it was successfully opened
 */
+ (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;

- (instancetype)init OF_UNAVAILABLE;

/**
 * @brief Initializes the handler for the specified scheme.
109
110
111
112
113
114
115

116
117
118
119
120
121
122
 *	       `w+`           | Read-write, create or truncate
 *	       `w+x`          | Read-write, create or fail, exclusive
 *	       `a`            | Write-only, create or append
 *	       `a+`           | Read-write, create or append
 *	       @n
 *	       The handler is allowed to not implement all modes and is also
 *	       allowed to implement additional, scheme-specific modes.

 */
- (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;

/**
 * @brief Returns the attributes for the item at the specified URL.
 *
 * @param URL The URL to return the attributes for







>







110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
 *	       `w+`           | Read-write, create or truncate
 *	       `w+x`          | Read-write, create or fail, exclusive
 *	       `a`            | Write-only, create or append
 *	       `a+`           | Read-write, create or append
 *	       @n
 *	       The handler is allowed to not implement all modes and is also
 *	       allowed to implement additional, scheme-specific modes.
 * @return The opened stream if it was successfully opened
 */
- (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;

/**
 * @brief Returns the attributes for the item at the specified URL.
 *
 * @param URL The URL to return the attributes for