Changeset 5a6cc679 in mainline for uspace/lib/uri/uri.c
- Timestamp:
 - 2018-01-31T02:21:24Z (8 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - a0a9cc2
 - Parents:
 - 132ab5d1
 - File:
 - 
      
- 1 edited
 
- 
          
  uspace/lib/uri/uri.c (modified) (6 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/lib/uri/uri.c
r132ab5d1 r5a6cc679 143 143 * @return EOK on success 144 144 */ 145 int uri_scheme_parse(const char *str, const char **endptr)145 errno_t uri_scheme_parse(const char *str, const char **endptr) 146 146 { 147 147 if (*str == 0) { … … 175 175 } 176 176 177 int uri_percent_parse(const char *str, const char **endptr,177 errno_t uri_percent_parse(const char *str, const char **endptr, 178 178 uint8_t *decoded) 179 179 { … … 186 186 187 187 if (decoded != NULL) { 188 int rc = str_uint8_t(str + 1, NULL, 16, true, decoded);188 errno_t rc = str_uint8_t(str + 1, NULL, 16, true, decoded); 189 189 if (rc != EOK) 190 190 return rc; … … 195 195 } 196 196 197 int uri_user_info_parse(const char *str, const char **endptr)197 errno_t 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 int rc = uri_percent_parse(str, &str, NULL);203 errno_t rc = uri_percent_parse(str, &str, NULL); 204 204 if (rc != EOK) { 205 205 *endptr = str; … … 220 220 } 221 221 222 int uri_port_parse(const char *str, const char **endptr)222 errno_t 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.
  