Changeset b7fd2a0 in mainline for uspace/lib/bithenge/src/source.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/source.c
r36f0738 rb7fd2a0 58 58 } 59 59 60 static int blob_from_hex(bithenge_node_t **out, const char *hex)60 static errno_t blob_from_hex(bithenge_node_t **out, const char *hex) 61 61 { 62 62 size_t size = str_length(hex); … … 85 85 * @param source Specifies the node to be created. 86 86 * @return EOK on success or an error code from errno.h. */ 87 int bithenge_node_from_source(bithenge_node_t **out, const char *source)87 errno_t bithenge_node_from_source(bithenge_node_t **out, const char *source) 88 88 { 89 89 if (str_chr(source, ':')) { … … 95 95 // Example: block:bd/initrd 96 96 service_id_t service_id; 97 int rc = loc_service_get_id(source + 6, &service_id, 0);97 errno_t rc = loc_service_get_id(source + 6, &service_id, 0); 98 98 if (rc != EOK) 99 99 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.