Changeset 77a194c in mainline for uspace/lib/c/include/vol.h


Ignore:
Timestamp:
2015-11-04T18:55:46Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
44183b98
Parents:
5265eea4 (diff), bfcde8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge new disk partitioning architecture.

File:
1 moved

Legend:

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

    r5265eea4 r77a194c  
    11/*
    2  * Copyright (c) 2012-2013 Dominik Taborsky
     2 * Copyright (c) 2015 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup hdisk
     29/** @addtogroup libc
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __FUNC_NONE_H__
    36 #define __FUNC_NONE_H__
     35#ifndef LIBC_VOL_H_
     36#define LIBC_VOL_H_
    3737
     38#include <async.h>
    3839#include <loc.h>
    39 #include <tinput.h>
    40 #include "common.h"
     40#include <stdint.h>
     41#include <types/label.h>
     42#include <types/vol.h>
    4143
    42 extern int construct_none_label(label_t *);
    43 extern int add_none_part(label_t *, tinput_t *);
    44 extern int delete_none_part(label_t *, tinput_t *);
    45 extern int destroy_none_label(label_t *);
    46 extern int new_none_label(label_t *);
    47 extern int print_none_parts(label_t *);
    48 extern int read_none_parts(label_t *);
    49 extern int write_none_parts(label_t *);
    50 extern int extra_none_funcs(label_t *, tinput_t *);
     44extern int vol_create(vol_t **);
     45extern void vol_destroy(vol_t *);
     46extern int vol_get_parts(vol_t *, service_id_t **, size_t *);
     47extern int vol_part_add(vol_t *, service_id_t);
     48extern int vol_part_info(vol_t *, service_id_t, vol_part_info_t *);
     49extern int vol_part_empty(vol_t *, service_id_t);
     50extern int vol_part_mkfs(vol_t *, service_id_t, vol_fstype_t);
    5151
    5252#endif
     53
     54/** @}
     55 */
Note: See TracChangeset for help on using the changeset viewer.