aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxlu_disk_i.h
blob: 4fccd4a2e5b21325a00c130e276f0e796b533c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef LIBXLU_DISK_I_H
#define LIBXLU_DISK_I_H

#include "libxlu_internal.h"


typedef struct {
    XLU_Config *cfg;
    int err;
    void *scanner;
    YY_BUFFER_STATE buf;
    libxl_device_disk *disk;
    int access_set, had_depr_prefix;
    const char *spec;
} DiskParseContext;

void xlu__disk_err(DiskParseContext *dpc, const char *erroneous,
                   const char *message);


#endif /*LIBXLU_DISK_I_H*/

/*
 * Local variables:
 * mode: C
 * c-basic-offset: 4
 * indent-tabs-mode: nil
 * End:
 */