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


Ignore:
Timestamp:
2015-10-14T22:30:12Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ea0ff6b
Parents:
4b6635a7
Message:

Handle dummy partition addition/removal during label destruction/creation. Handle dummy label properly in fdisk.

File:
1 edited

Legend:

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

    r4b6635a7 redebb4a1  
    4242#include <types/vol.h>
    4343
    44 /** Volume service */
    45 typedef struct vol {
    46         /** Volume service session */
    47         async_sess_t *sess;
    48 } vol_t;
    49 
    50 /** Partition information */
    51 typedef struct {
    52         /** Partition content type */
    53         vol_part_cnt_t pcnt;
    54         /** Filesystem type */
    55         vol_fstype_t fstype;
    56 } vol_part_info_t;
    57 
    5844extern int vol_create(vol_t **);
    5945extern void vol_destroy(vol_t *);
    6046extern int vol_get_parts(vol_t *, service_id_t **, size_t *);
     47extern int vol_part_add(vol_t *, service_id_t);
    6148extern int vol_part_info(vol_t *, service_id_t, vol_part_info_t *);
    6249extern int vol_part_empty(vol_t *, service_id_t);
Note: See TracChangeset for help on using the changeset viewer.