2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
13 /* Functions and definitions for accessing the vice partition table */
15 /* Sizes of strings */
17 #define VPTABSIZE_NAME 32
18 #define VPTABSIZE_DEV 32
23 char vp_name[VPTABSIZE_NAME]; /* vice partition name */
24 char vp_dev[VPTABSIZE_DEV]; /* device path */
38 vpt_Start(struct vpt_iter *iterp);
41 vpt_NextEntry(struct vpt_iter *iterp,
42 struct vptab *vptabp);
45 vpt_Finish(struct vpt_iter *iterp);
48 vpt_AddEntry(const struct vptab *vptabp);
51 vpt_RemoveEntry(const char *vpname);
54 vpt_PartitionNameValid(const char *vpname);
57 vpt_DeviceNameValid(const char *devname);