Deleted Added
full compact
devstat.h (81883) devstat.h (83868)
1/*
2 * Copyright (c) 1997, 1998 Kenneth D. Merry.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*
2 * Copyright (c) 1997, 1998 Kenneth D. Merry.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/lib/libdevstat/devstat.h 81883 2001-08-18 05:46:59Z ken $
28 * $FreeBSD: head/lib/libdevstat/devstat.h 83868 2001-09-23 23:03:23Z ken $
29 */
30
31#ifndef _DEVSTAT_H
32#define _DEVSTAT_H
33#include <sys/cdefs.h>
34#include <sys/devicestat.h>
35
36#include <kvm.h>

--- 43 unchanged lines hidden (view full) ---

80
81struct devstat_match {
82 devstat_match_flags match_fields;
83 devstat_type_flags device_type;
84 int num_match_categories;
85};
86
87struct devstat_match_table {
29 */
30
31#ifndef _DEVSTAT_H
32#define _DEVSTAT_H
33#include <sys/cdefs.h>
34#include <sys/devicestat.h>
35
36#include <kvm.h>

--- 43 unchanged lines hidden (view full) ---

80
81struct devstat_match {
82 devstat_match_flags match_fields;
83 devstat_type_flags device_type;
84 int num_match_categories;
85};
86
87struct devstat_match_table {
88 char *match_str;
88 const char * match_str;
89 devstat_type_flags type;
90 devstat_match_flags match_field;
91};
92
93struct device_selection {
94 u_int32_t device_number;
95 char device_name[DEVSTAT_NAME_LEN];
96 int unit_number;

--- 75 unchanged lines hidden ---
89 devstat_type_flags type;
90 devstat_match_flags match_field;
91};
92
93struct device_selection {
94 u_int32_t device_number;
95 char device_name[DEVSTAT_NAME_LEN];
96 int unit_number;

--- 75 unchanged lines hidden ---