equal
deleted
inserted
replaced
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _DEVFSADM_H |
26 #ifndef _DEVFSADM_H |
27 #define _DEVFSADM_H |
27 #define _DEVFSADM_H |
248 char **buf, devfsadm_enumerate_t rules[], int nrules, char *start); |
248 char **buf, devfsadm_enumerate_t rules[], int nrules, char *start); |
249 int devfsadm_read_link(char *link, char **devfs_path); |
249 int devfsadm_read_link(char *link, char **devfs_path); |
250 char *s_strdup(const char *ptr); |
250 char *s_strdup(const char *ptr); |
251 |
251 |
252 /* Private interface between reserve subsystm and disks link generator */ |
252 /* Private interface between reserve subsystm and disks link generator */ |
|
253 int devfsadm_have_reserved(void); |
253 int devfsadm_is_reserved(devlink_re_t re_array[], char *devlink); |
254 int devfsadm_is_reserved(devlink_re_t re_array[], char *devlink); |
254 int devfsadm_reserve_id_cache(devlink_re_t re_array[], enumerate_file_t *head); |
255 int devfsadm_reserve_id_cache(devlink_re_t re_array[], enumerate_file_t *head); |
255 |
256 |
256 #ifdef __cplusplus |
257 #ifdef __cplusplus |
257 } |
258 } |