Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / gpl2 / lvm2 / dist / tools / stub.h
blob6fa7d4b3580f3ae7290d9dd68f4a9654c270d7a4
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
5 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
7 * This file is part of LVM2.
9 * This copyrighted material is made available to anyone wishing to use,
10 * modify, copy, or redistribute it subject to the terms and conditions
11 * of the GNU Lesser General Public License v.2.1.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #define unimplemented \
19 log_error("Command not implemented yet."); return ECMD_FAILED
21 /*int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented*/
22 int lvmsadc(struct cmd_context *cmd __attribute((unused)),
23 int argc __attribute((unused)),
24 char **argv __attribute((unused)))
26 unimplemented;
29 int lvmsar(struct cmd_context *cmd __attribute((unused)),
30 int argc __attribute((unused)),
31 char **argv __attribute((unused)))
33 unimplemented;
36 int pvdata(struct cmd_context *cmd __attribute((unused)),
37 int argc __attribute((unused)),
38 char **argv __attribute((unused)))
40 log_error("There's no 'pvdata' command in LVM2.");
41 log_error("Use lvs, pvs, vgs instead; or use vgcfgbackup and read the text file backup.");
42 log_error("Metadata in LVM1 format can still be displayed using LVM1's pvdata command.");
43 return ECMD_FAILED;