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 _LIBDEVINFO_H |
26 #ifndef _LIBDEVINFO_H |
27 #define _LIBDEVINFO_H |
27 #define _LIBDEVINFO_H |
471 */ |
471 */ |
472 typedef struct __finddevhdl *finddevhdl_t; |
472 typedef struct __finddevhdl *finddevhdl_t; |
473 |
473 |
474 extern int device_exists(const char *); |
474 extern int device_exists(const char *); |
475 extern int finddev_readdir(const char *, finddevhdl_t *); |
475 extern int finddev_readdir(const char *, finddevhdl_t *); |
|
476 extern int finddev_emptydir(const char *); |
476 extern void finddev_close(finddevhdl_t); |
477 extern void finddev_close(finddevhdl_t); |
477 extern const char *finddev_next(finddevhdl_t); |
478 extern const char *finddev_next(finddevhdl_t); |
478 |
479 |
479 |
480 |
480 /* |
481 /* |