~psusi/ubuntu/precise/dmraid/fix-gpt

« back to all changes in this revision

Viewing changes to 1.0.0.rc14/include/dmraid/display.h

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano, 6af052c
  • Date: 2009-03-25 22:34:59 UTC
  • mfrom: (2.1.9 sid)
  • mto: (2.4.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090325223459-y54f0rmxem7htn6r
Tags: 1.0.0.rc15-6
[6af052c] Remove 15_isw_incorrect_status_fix.patch, it causes a
segfault. (Closes: #521104)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2004,2005  Heinz Mauelshagen, Red Hat GmbH.
3
 
 *                          All rights reserved.
4
 
 *
5
 
 * See file LICENSE at the top of this source tree for license information.
6
 
 */
7
 
 
8
 
#ifndef _DISPLAY_H_
9
 
#define _DISPLAY_H_
10
 
 
11
 
enum dev_type {
12
 
        DEVICE = 0x01,  /* ALL devices */
13
 
        RAID   = 0x02,  /* RAID devices */
14
 
        NATIVE = 0x04,  /* Native metadata of RAID devices */
15
 
        SET    = 0x08,  /* RAID sets */
16
 
};
17
 
 
18
 
enum active_type {
19
 
        D_ALL      = 0x01,      /* All devices */
20
 
        D_ACTIVE   = 0x02,      /* Active devices only */
21
 
        D_INACTIVE = 0x04,      /* Inactive devices only */
22
 
};
23
 
 
24
 
extern void display_devices(struct lib_context *lc, enum dev_type type);
25
 
extern void display_set(struct lib_context *lc, void *rs,
26
 
                        enum active_type active, int top);
27
 
extern void display_table(struct lib_context *lc, char *rs_name, char *table);
28
 
extern int list_formats(struct lib_context *lc, int arg);
29
 
 
30
 
#endif