/usr/include/gsnmp/gsnmp.h is in libgsnmp0-dev 0.3.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | /*
* GNET-SNMP -- glib-based SNMP library
*
* Copyright (c) 2003 Juergen Schoenwaelder
* Copyright (c) 1998 Gregory McLean & Jochen Friedrich
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: gsnmp.h 1992 2006-08-22 12:48:31Z schoenw $
*/
#ifndef __GNET_SNMP_H__
#define __GNET_SNMP_H__
#include <gnet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <string.h>
G_BEGIN_DECLS
typedef enum
{
GNET_SNMP_DEBUG_REQUESTS = 1 << 0,
GNET_SNMP_DEBUG_SESSION = 1 << 1,
GNET_SNMP_DEBUG_TRANSPORT = 1 << 2,
GNET_SNMP_DEBUG_PACKET = 1 << 3,
GNET_SNMP_DEBUG_BER = 1 << 4,
GNET_SNMP_DEBUG_ALL = GNET_SNMP_DEBUG_REQUESTS
| GNET_SNMP_DEBUG_SESSION
| GNET_SNMP_DEBUG_TRANSPORT
| GNET_SNMP_DEBUG_PACKET
| GNET_SNMP_DEBUG_BER,
GNET_SNMP_DEBUG_MASK = 0x1f
} GNetSnmpDebugFlags;
#include "ber.h"
#include "pdu.h"
#include "transport.h"
#include "message.h"
#include "security.h"
#include "session.h"
#include "dispatch.h"
#include "utils.h"
extern GNetSnmpDebugFlags gnet_snmp_debug_flags;
extern guint gnet_snmp_retries;
extern guint gnet_snmp_timeout;
extern GNetSnmpVersion gnet_snmp_version;
G_END_DECLS
#endif /* __GNET_SNMP_H__ */
|