Ignore:
File:
1 edited

Legend:

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

    rc111da2 r8f57fb2  
    11/*
    2  * Copyright (c) 2025 Jiri Svoboda
     2 * Copyright (c) 2015 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3737#define _LIBC_CAPA_H_
    3838
    39 #include <errno.h>
    40 #include <stddef.h>
     39#include <adt/list.h>
     40#include <loc.h>
    4141#include <stdint.h>
     42#include <types/label.h>
     43#include <types/vol.h>
     44#include <vbd.h>
    4245
    4346/** Capacity unit */
     
    8790} capa_spec_t;
    8891
    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 **);
    93 extern errno_t capa_format_buf(capa_spec_t *, char *, size_t);
    94 extern errno_t capa_blocks_format(uint64_t, size_t, char **);
    95 extern void capa_blocks_format_buf(uint64_t, size_t, char *, size_t);
    9693extern errno_t capa_parse(const char *, capa_spec_t *);
    9794extern void capa_simplify(capa_spec_t *);
Note: See TracChangeset for help on using the changeset viewer.