usr/src/lib/libdevinfo/libdevinfo.h
changeset 6065 b05c5c670963
parent 4870 6d40a9319837
child 6640 c92ca9b95b9c
equal deleted inserted replaced
6064:45d29804ab93 6065:b05c5c670963
    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 /*