Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/capa.h

    r8f57fb2 rc111da2  
    11/*
    2  * Copyright (c) 2015 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3737#define _LIBC_CAPA_H_
    3838
    39 #include <adt/list.h>
    40 #include <loc.h>
     39#include <errno.h>
     40#include <stddef.h>
    4141#include <stdint.h>
    42 #include <types/label.h>
    43 #include <types/vol.h>
    44 #include <vbd.h>
    4542
    4643/** Capacity unit */
     
    9087} capa_spec_t;
    9188
     89/** Size of buffer large enough for capa_blocks_format_buf */
     90#define CAPA_BLOCKS_BUFSIZE 16
     91
    9292extern errno_t capa_format(capa_spec_t *, char **);
     93extern errno_t capa_format_buf(capa_spec_t *, char *, size_t);
     94extern errno_t capa_blocks_format(uint64_t, size_t, char **);
     95extern void capa_blocks_format_buf(uint64_t, size_t, char *, size_t);
    9396extern errno_t capa_parse(const char *, capa_spec_t *);
    9497extern void capa_simplify(capa_spec_t *);
Note: See TracChangeset for help on using the changeset viewer.