diff options
Diffstat (limited to 'usr/src/lib/libdevinfo/device_info.h')
| -rw-r--r-- | usr/src/lib/libdevinfo/device_info.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/lib/libdevinfo/device_info.h b/usr/src/lib/libdevinfo/device_info.h index 32e65ac8d8..62087d1ba3 100644 --- a/usr/src/lib/libdevinfo/device_info.h +++ b/usr/src/lib/libdevinfo/device_info.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -129,6 +129,12 @@ extern int devfs_get_all_prom_names(const char *, uint_t, extern void devfs_free_all_prom_names(struct devfs_prom_path *); /* + * Interpret a /dev link to its /devices path (does not require path to + * still exist, as long as the links exist) + */ +extern int devfs_resolve_link(char *, char **); + +/* * map a device name from install OS environment to target OS environment or * vice-versa. */ |
