Debian Codegraph @

agent/mibgroup/tunnel/tunnel.h

raw
1 /*
2 * tunnel.h --
3 *
4 * Interface of the TUNNEL-MIB implementation.
5 *
6 * Copyright (c) 2000-2003 Frank Strauss <[email protected]>
7 *
8 * All Rights Reserved
9 *
10 * Permission to use, copy, modify and distribute this software and its
11 * documentation for any purpose and without fee is hereby granted,
12 * provided that the above copyright notice appears in all copies and
13 * that both that copyright notice and this permission notice appear in
14 * supporting documentation, and that the name of the author and CMU and
15 * The Regents of the University of California not be used in advertising
16 * or publicity pertaining to distribution of the software without
17 * specific written permission.
18 *
19 * THE AUTHOR AND CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA
20 * DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
22 * THE AUTHOR OR CMU OR THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE
23 * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
24 * DAMAGES WHATSOEVER RESULTING FROM THE 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
27 * SOFTWARE.
28 *
29 */
30
31 #ifndef _MIBGROUP_TUNNEL_H
32 #define _MIBGROUP_TUNNEL_H
33
34 void init_tunnel(void);
35 void deinit_tunnel(void);
36
37 unsigned char *var_tunnelIfEntry(struct variable *, oid *, size_t *,
38 int, size_t *,
39 WriteMethod ** write_method);
40
41 unsigned char *var_tunnelConfigEntry(struct variable *, oid *, size_t *,
42 int, size_t *,
43 WriteMethod ** write_method);
44
45 #endif /* _MIBGROUP_TUNNEL_H */
46