~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to include/snmp_impl.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: snmp_impl.h,v 1.15 2003/01/23 00:36:48 robertc Exp $
 
2
 * $Id$
3
3
 */
4
 
 
5
4
#ifndef SQUID_SNMP_IMPL_H
6
5
#define SQUID_SNMP_IMPL_H
7
6
 
 
7
#include "asn1.h"
 
8
 
8
9
/*
9
10
 * Definitions for SNMP (RFC 1067) implementation.
10
11
 *
15
16
 
16
17
                      All Rights Reserved
17
18
 
18
 
Permission to use, copy, modify, and distribute this software and its 
19
 
documentation for any purpose and without fee is hereby granted, 
 
19
Permission to use, copy, modify, and distribute this software and its
 
20
documentation for any purpose and without fee is hereby granted,
20
21
provided that the above copyright notice appear in all copies and that
21
 
both that copyright notice and this permission notice appear in 
 
22
both that copyright notice and this permission notice appear in
22
23
supporting documentation, and that the name of CMU not be
23
24
used in advertising or publicity pertaining to distribution of the
24
 
software without specific, written prior permission.  
 
25
software without specific, written prior permission.
25
26
 
26
27
CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
27
28
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
46
47
 
47
48
#define SID_MAX_LEN     64
48
49
 
 
50
#if 0 /* defines performed globally by config.h */
 
51
 
49
52
#ifndef NULL
50
53
#define NULL 0
51
54
#endif
56
59
#ifndef FALSE
57
60
#define FALSE   0
58
61
#endif
 
62
#endif /* dead code. */
59
63
 
60
64
#define READ        1
61
65
#define WRITE       0