34 lines
1.2 KiB
C
Raw Normal View History

2025-02-14 17:39:57 +01:00
/* $OpenBSD: mib.h,v 1.1.1.1 2022/09/01 14:20:34 martijn Exp $ */
/*
2025-02-14 23:53:10 +01:00
* Copyright (c) 2025 Wolfgang Hottgenroth <woho@hottis.de>
2025-02-14 17:39:57 +01:00
* Copyright (c) 2022 Martijn van Duren <martijn@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
2025-02-15 00:07:31 +01:00
#ifndef _MIB_H_
#define _MIB_H_
2025-02-14 17:39:57 +01:00
#include <agentx.h>
2025-02-15 00:07:31 +01:00
void mib_register(struct agentx_context *sac);
2025-02-14 23:53:10 +01:00
#define ENTERPRISE_MIB 1,3,6,1,4,1
#define HOTTIS_MIB ENTERPRISE_MIB, 9676
2025-02-14 18:27:54 +01:00
#define HOTTIS_NTPD HOTTIS_MIB, 1
#define HOTTIS_NTPD_COUNTER HOTTIS_NTPD, 1
2025-02-15 00:07:31 +01:00
#endif // _MIB_H_