Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/include/bithenge/blob.h

    rfac0ac7 r7c3fb9b  
    4343
    4444/** A blob of raw binary data.
    45  * @implements bithenge_node_t */
     45 * @implements bithenge_node_t
     46 */
    4647typedef struct {
    4748        /** @privatesection */
     
    5051
    5152/** Operations providing random access to binary data.
    52  * @todo Should these be thread-safe? */
     53 * @todo Should these be thread-safe?
     54 */
    5355typedef struct bithenge_random_access_blob_ops_t {
    5456        /** @copydoc bithenge_blob_t::bithenge_blob_size */
     
    6163            aoff64_t *size, bool little_endian);
    6264        /** Destroy the blob.
    63          * @param blob The blob. */
     65         * @param blob The blob.
     66         */
    6467        void (*destroy)(bithenge_blob_t *self);
    6568} bithenge_random_access_blob_ops_t;
    6669
    6770/** A blob built from an object that supports only sequential reading.
    68  * @implements bithenge_blob_t */
     71 * @implements bithenge_blob_t
     72 */
    6973typedef struct {
    7074        /** @privatesection */
     
    8286
    8387/** Operations providing sequential access to binary data.
    84  * @memberof bithenge_sequential_blob_t */
     88 * @memberof bithenge_sequential_blob_t
     89 */
    8590typedef struct bithenge_sequential_blob_ops_t {
    8691
     
    112117
    113118        /** Destroy the blob.
    114          * @param self The blob. */
     119         * @param self The blob.
     120         */
    115121        void (*destroy)(bithenge_sequential_blob_t *self);
    116122} bithenge_sequential_blob_ops_t;
     
    189195 * @param self The blob.
    190196 * @param[out] out Holds whether the blob is empty.
    191  * @return EOK on success or an error code from errno.h. */
     197 * @return EOK on success or an error code from errno.h.
     198 */
    192199static inline errno_t bithenge_blob_empty(bithenge_blob_t *self, bool *out)
    193200{
     
    203210 * @memberof bithenge_blob_t
    204211 * @param blob The blob to cast.
    205  * @return The blob node as a generic node. */
     212 * @return The blob node as a generic node.
     213 */
    206214static inline bithenge_node_t *bithenge_blob_as_node(bithenge_blob_t *blob)
    207215{
     
    212220 * @memberof bithenge_blob_t
    213221 * @param node The node to cast, which must be a blob node.
    214  * @return The generic node as a blob node. */
     222 * @return The generic node as a blob node.
     223 */
    215224static inline bithenge_blob_t *bithenge_node_as_blob(bithenge_node_t *node)
    216225{
     
    220229
    221230/** Increment a blob's reference count.
    222  * @param blob The blob to reference. */
     231 * @param blob The blob to reference.
     232 */
    223233static inline void bithenge_blob_inc_ref(bithenge_blob_t *blob)
    224234{
     
    227237
    228238/** Decrement a blob's reference count.
    229  * @param blob The blob to dereference, or NULL. */
     239 * @param blob The blob to dereference, or NULL.
     240 */
    230241static inline void bithenge_blob_dec_ref(bithenge_blob_t *blob)
    231242{
Note: See TracChangeset for help on using the changeset viewer.