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