1 #ifndef SQUID_SNMP_CLIENT_H
2 #define SQUID_SNMP_CLIENT_H
7 /***********************************************************
8 Copyright 1988, 1989 by Carnegie Mellon University
12 Permission to use, copy, modify, and distribute this software and its
13 documentation for any purpose and without fee is hereby granted,
14 provided that the above copyright notice appear in all copies and that
15 both that copyright notice and this permission notice appear in
16 supporting documentation, and that the name of CMU not be
17 used in advertising or publicity pertaining to distribution of the
18 software without specific, written prior permission.
20 CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22 CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
27 ******************************************************************/
32 #define STAT_SUCCESS 0
34 #define STAT_TIMEOUT 2
43 extern struct synch_state snmp_synch_state
;
45 /* Synchronize Input with Agent */
46 int snmp_synch_input(int, struct snmp_session
*, int,
47 struct snmp_pdu
*, void *);
49 /* Synchronize Response with Agent */
50 int snmp_synch_response(struct snmp_session
*, struct snmp_pdu
*,
53 /* Synchronize Setup */
54 void snmp_synch_setup(struct snmp_session
*);
60 #endif /* SQUID_SNMP_CLIENT_H */