1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00
lvm2/lib/format_text/import-export.h

30 lines
587 B
C
Raw Normal View History

2001-11-21 12:20:05 +03:00
/*
* Copyright (C) 2001 Sistina Software (UK) Limited.
*
* This file is released under the LGPL.
*/
#ifndef _LVM_TEXT_IMPORT_EXPORT_H
#define _LVM_TEXT_IMPORT_EXPORT_H
#include "config.h"
2001-12-20 14:52:54 +03:00
#include "lvm-types.h"
#include "metadata.h"
#include <stdio.h>
enum {
VG_FLAGS,
PV_FLAGS,
LV_FLAGS
};
int print_flags(uint32_t status, int type, char *buffer, size_t size);
int read_flags(uint32_t *status, int type, struct config_value *cv);
int text_vg_export(FILE *fp, struct volume_group *vg);
2001-11-21 12:20:05 +03:00
struct volume_group *text_vg_import(struct pool *mem, struct config_file *cf);
#endif