summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo/devinfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Collapse devinfo_state_t with device_state_t in order to avoid aattilio2009-11-151-10/+2
| | | | | | | structure replication and improve manteneability. Reviewed by: jhb, imp Tested by: Riccardo Torrini <riccardo at torrini dot org>
* Use explicit int values for the device states in order to allow,attilio2009-09-151-4/+4
| | | | | | | | if necessary, in the future, adds of new states without breaking ABI between revisions. Proposed by: kib Approved by: imp
* Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++rodrigc2005-08-311-0/+9
| | | | | | | | programs. Also, add include guards. PR: bin/44277 Submitted by: Alex Zepeda <freebsd at blarf dot homeip dot net> MFC after: 1 day
* Expose the new kernel data structures to libdevinfo:imp2002-09-201-0/+16
| | | | | | o Added dd_pnpinfo, dd_location, dd_devflags, dd_flags and dd_state o Copy/initialize these as necessary. o Document the changes to the interface in devinfo.3.
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* Made this header self-sufficient.bde2001-10-031-6/+9
| | | | Fully parenthesized a macro definition.
* This is the Device Information Library, libdevinfo.msmith2001-04-201-0/+119
The devinfo library provides access to the kernel's internal device hierarchy and to the I/O resource manager. The library uses a sysctl(9) interface to obtain a snapshot of the kernel's state which is then made available to the application.
OpenPOWER on IntegriCloud