Changeset 7c3fb9b in mainline for uspace/lib/bithenge/src/blob.c
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/blob.c
rfac0ac7 r7c3fb9b 239 239 * @param needs_free If true, the buffer will be freed with free() if this 240 240 * function fails or the blob is destroyed. 241 * @return EOK on success or an error code from errno.h. */ 241 * @return EOK on success or an error code from errno.h. 242 */ 242 243 errno_t bithenge_new_blob_from_buffer(bithenge_node_t **out, const void *buffer, 243 244 size_t len, bool needs_free) … … 277 278 * @param[in] data The data. 278 279 * @param len The length of the data. 279 * @return EOK on success or an error code from errno.h. */ 280 * @return EOK on success or an error code from errno.h. 281 */ 280 282 errno_t bithenge_new_blob_from_data(bithenge_node_t **out, const void *data, 281 283 size_t len) … … 435 437 * @param[in] source The input blob. 436 438 * @param offset The offset within the input blob at which the new blob will start. 437 * @return EOK on success or an error code from errno.h. */ 439 * @return EOK on success or an error code from errno.h. 440 */ 438 441 errno_t bithenge_new_offset_blob(bithenge_node_t **out, bithenge_blob_t *source, 439 442 aoff64_t offset) … … 448 451 * @param offset The offset within the input blob at which the new blob will start. 449 452 * @param size The size of the new blob. 450 * @return EOK on success or an error code from errno.h. */ 453 * @return EOK on success or an error code from errno.h. 454 */ 451 455 errno_t bithenge_new_subblob(bithenge_node_t **out, bithenge_blob_t *source, 452 456 aoff64_t offset, aoff64_t size)
Note:
See TracChangeset
for help on using the changeset viewer.