Deleted Added
full compact
hostres_snmp.h (160341) hostres_snmp.h (228990)
1/*
2 * Copyright (c) 2005-2006 The FreeBSD Project
3 * All rights reserved.
4 *
5 * Author: Victor Cruceru <soc-victor@freebsd.org>
6 *
7 * Redistribution of this software and documentation and use in source and
8 * binary forms, with or without modification, are permitted provided that

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * Host Resources MIB for SNMPd.
30 *
1/*
2 * Copyright (c) 2005-2006 The FreeBSD Project
3 * All rights reserved.
4 *
5 * Author: Victor Cruceru <soc-victor@freebsd.org>
6 *
7 * Redistribution of this software and documentation and use in source and
8 * binary forms, with or without modification, are permitted provided that

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * Host Resources MIB for SNMPd.
30 *
31 * $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h 160341 2006-07-14 09:07:56Z harti $
31 * $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h 228990 2011-12-30 10:58:14Z uqs $
32 */
33
34#ifndef HOSTRES_SNMP_H_1132245017
35#define HOSTRES_SNMP_H_1132245017
36
37#include <sys/types.h>
38#include <sys/queue.h>
39

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

213 * FS_tbl_pre_refresh_v() is called before refeshing fs part of hrStorageTable
214 */
215void fs_tbl_pre_refresh(void);
216void fs_tbl_process_statfs_entry(const struct statfs *, int32_t);
217
218/* Called after refreshing fs part of hrStorageTable */
219void fs_tbl_post_refresh(void);
220
32 */
33
34#ifndef HOSTRES_SNMP_H_1132245017
35#define HOSTRES_SNMP_H_1132245017
36
37#include <sys/types.h>
38#include <sys/queue.h>
39

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

213 * FS_tbl_pre_refresh_v() is called before refeshing fs part of hrStorageTable
214 */
215void fs_tbl_pre_refresh(void);
216void fs_tbl_process_statfs_entry(const struct statfs *, int32_t);
217
218/* Called after refreshing fs part of hrStorageTable */
219void fs_tbl_post_refresh(void);
220
221/* Refresh the FS table if neccessary. */
221/* Refresh the FS table if necessary. */
222void refresh_fs_tbl(void);
223
224/* Finalization routine for hrFSTable. */
225void fini_fs_tbl(void);
226
227/* Init the things for both of hrSWRunTable and hrSWRunPerfTable */
228void init_swrun_tbl(void);
229

--- 95 unchanged lines hidden ---
222void refresh_fs_tbl(void);
223
224/* Finalization routine for hrFSTable. */
225void fini_fs_tbl(void);
226
227/* Init the things for both of hrSWRunTable and hrSWRunPerfTable */
228void init_swrun_tbl(void);
229

--- 95 unchanged lines hidden ---