Module Name: src Committed By: christos Date: Sat Apr 7 16:44:59 UTC 2012
Modified Files: src/include: util.h Log Message: add getdisk{raw,cooked}name To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/include/util.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/util.h diff -u src/include/util.h:1.62 src/include/util.h:1.63 --- src/include/util.h:1.62 Sat Apr 7 00:04:21 2012 +++ src/include/util.h Sat Apr 7 12:44:59 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: util.h,v 1.62 2012/04/07 04:04:21 christos Exp $ */ +/* $NetBSD: util.h,v 1.63 2012/04/07 16:44:59 christos Exp $ */ /*- * Copyright (c) 1995 @@ -73,6 +73,8 @@ int getlabelsector(void); int getlabelusesmbr(void); int getmaxpartitions(void); int getrawpartition(void); +const char *getdiskrawname(char *, size_t, const char *); +const char *getdiskcookedname(char *, size_t, const char *); const char *getfstypename(int); const char *getfsspecname(char *, size_t, const char *); #ifndef __LIBC12_SOURCE__