]>
git.ipfire.org Git - thirdparty/squid.git/blob - include/snmp_msg.h
2 #ifndef SQUID_SNMP_MSG_H
3 #define SQUID_SNMP_MSG_H
7 /**********************************************************************
9 * Copyright 1997 by Carnegie Mellon University
13 * Permission to use, copy, modify, and distribute this software and its
14 * documentation for any purpose and without fee is hereby granted,
15 * provided that the above copyright notice appear in all copies and that
16 * both that copyright notice and this permission notice appear in
17 * supporting documentation, and that the name of CMU not be
18 * used in advertising or publicity pertaining to distribution of the
19 * software without specific, written prior permission.
21 * CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
22 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
23 * CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
24 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
25 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
26 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
29 * Author: Ryan Troll <ryan+@andrew.cmu.edu>
31 * $Id: snmp_msg.h,v 1.4 2003/01/23 00:36:48 robertc Exp $
33 **********************************************************************/
35 #define SNMP_VERSION_1 0 /* RFC 1157 */
36 #define SNMP_VERSION_2 1 /* RFC 1901 */
43 u_char
*snmp_msg_Encode(u_char
*, int *, u_char
*, int, int, struct snmp_pdu
*);
44 u_char
*snmp_msg_Decode(u_char
*, int *, u_char
*, int *, int *, struct snmp_pdu
*);
51 #endif /* SQUID_SNMP_MSG_H */