Changeset 63c1dd5 in mainline for uspace/lib/c/include/types/vol.h


Ignore:
Timestamp:
2018-10-09T08:40:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63a045c
Parents:
ee9c703
git-author:
Jiri Svoboda <jiri@…> (2018-10-08 18:38:16)
git-committer:
Jiri Svoboda <jiri@…> (2018-10-09 08:40:53)
Message:

Persistence of Tetris highscore table. Detect live mode and create directory structure in init task. Reading volume configuration, vol -c.

File:
1 edited

Legend:

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

    ree9c703 r63c1dd5  
    4141#include <stdbool.h>
    4242
     43typedef struct {
     44        sysarg_t id;
     45} volume_id_t;
     46
    4347typedef enum {
    4448        /** Partition is empty */
     
    8286} vol_part_info_t;
    8387
     88/** Volume configuration information */
     89typedef struct {
     90        /** Volume identifier */
     91        volume_id_t id;
     92        /** Volume label */
     93        char label[VOL_LABEL_MAXLEN + 1];
     94        /** Mount path */
     95        char path[MAX_PATH_LEN + 1]; /* XXX too big */
     96} vol_info_t;
     97
    8498/** Volume label support */
    8599typedef struct {
Note: See TracChangeset for help on using the changeset viewer.