Changeset ce683ed3 in mainline for uspace/app/bithenge/block.c


Ignore:
Timestamp:
2012-05-30T01:11:32Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b16422
Parents:
1923501
Message:

bithenge: add blobs created from memory buffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/block.c

    r1923501 rce683ed3  
    9494/** Create a blob for a block device. The blob must be freed with
    9595 * @a bithenge_blob_t::bithenge_blob_destroy after it is used.
    96  * @param out[out] Place to store the blob.
     96 * @param[out] out Stores the created blob.
    9797 * @param service_id The service ID of the block device.
    9898 * @return EOK on success or an error code from errno.h. */
     
    131131        blob->service_id = service_id;
    132132        blob->size = size;
    133         *out = &blob->base;
     133        *out = blob_from_block(blob);
    134134
    135135        return EOK;
Note: See TracChangeset for help on using the changeset viewer.