Changes in uspace/lib/c/include/capa.h [8f57fb2:c111da2] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/include/capa.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/capa.h
r8f57fb2 rc111da2 1 1 /* 2 * Copyright (c) 20 15 Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 37 37 #define _LIBC_CAPA_H_ 38 38 39 #include < adt/list.h>40 #include < loc.h>39 #include <errno.h> 40 #include <stddef.h> 41 41 #include <stdint.h> 42 #include <types/label.h>43 #include <types/vol.h>44 #include <vbd.h>45 42 46 43 /** Capacity unit */ … … 90 87 } capa_spec_t; 91 88 89 /** Size of buffer large enough for capa_blocks_format_buf */ 90 #define CAPA_BLOCKS_BUFSIZE 16 91 92 92 extern 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); 93 96 extern errno_t capa_parse(const char *, capa_spec_t *); 94 97 extern void capa_simplify(capa_spec_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
