Changes in uspace/lib/uri/uri.c [b7fd2a0:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/uri/uri.c
rb7fd2a0 r582a0b8 143 143 * @return EOK on success 144 144 */ 145 errno_t uri_scheme_parse(const char *str, const char **endptr)145 int uri_scheme_parse(const char *str, const char **endptr) 146 146 { 147 147 if (*str == 0) { … … 175 175 } 176 176 177 errno_t uri_percent_parse(const char *str, const char **endptr,177 int uri_percent_parse(const char *str, const char **endptr, 178 178 uint8_t *decoded) 179 179 { … … 186 186 187 187 if (decoded != NULL) { 188 errno_t rc = str_uint8_t(str + 1, NULL, 16, true, decoded);188 int rc = str_uint8_t(str + 1, NULL, 16, true, decoded); 189 189 if (rc != EOK) 190 190 return rc; … … 195 195 } 196 196 197 errno_t uri_user_info_parse(const char *str, const char **endptr)197 int uri_user_info_parse(const char *str, const char **endptr) 198 198 { 199 199 while (*str != 0) { … … 201 201 if (*str == 0) 202 202 break; 203 errno_t rc = uri_percent_parse(str, &str, NULL);203 int rc = uri_percent_parse(str, &str, NULL); 204 204 if (rc != EOK) { 205 205 *endptr = str; … … 220 220 } 221 221 222 errno_t uri_port_parse(const char *str, const char **endptr)222 int uri_port_parse(const char *str, const char **endptr) 223 223 { 224 224 if (*str == 0)
Note:
See TracChangeset
for help on using the changeset viewer.