SNMP++  3.3.4
IPv6Utility.h
Go to the documentation of this file.
1 /*_############################################################################
2  _##
3  _## IPv6Utility.h
4  _##
5  _## SNMP++ v3.3
6  _## -----------------------------------------------
7  _## Copyright (c) 2001-2013 Jochen Katz, Frank Fock
8  _##
9  _## This software is based on SNMP++2.6 from Hewlett Packard:
10  _##
11  _## Copyright (c) 1996
12  _## Hewlett-Packard Company
13  _##
14  _## ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
15  _## Permission to use, copy, modify, distribute and/or sell this software
16  _## and/or its documentation is hereby granted without fee. User agrees
17  _## to display the above copyright notice and this license notice in all
18  _## copies of the software and any documentation of the software. User
19  _## agrees to assume all liability for the use of the software;
20  _## Hewlett-Packard and Jochen Katz make no representations about the
21  _## suitability of this software for any purpose. It is provided
22  _## "AS-IS" without warranty of any kind, either express or implied. User
23  _## hereby grants a royalty-free license to any and all derivatives based
24  _## upon this software code base.
25  _##
26  _##########################################################################*/
27 /*
28  * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
29  * Copyright (C) 1996-2001 Internet Software Consortium.
30  *
31  * Permission to use, copy, modify, and distribute this software for any
32  * purpose with or without fee is hereby granted, provided that the above
33  * copyright notice and this permission notice appear in all copies.
34  *
35  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
36  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
37  * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
38  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
39  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
40  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41  * PERFORMANCE OF THIS SOFTWARE.
42  */
43 /*===================================================================
44 
45  SNMP++ IPV6Utility.h
46 
47  DESCRIPTION:
48  This module contains the Utility functions for IPV6 support functions
49  required for WIN32 environment
50 
51  Adapted and integrated into snmp++ by Ragavan Tetchinamourty
52 
53 =====================================================================*/
54 // $Id: $
55 
56 #ifndef _IPV6UTILITY_H
57 #define _IPV6UTILITY_H
58 
59 #include "snmp_pp/config_snmp_pp.h"
60 
61 //FIXME #if defined(_MSC_VER) && defined(SNMP_PP_IPv6)
62 #if defined(WIN32) && defined(SNMP_PP_IPv6)
63 
64 //#define EAFNOSUPPORT WSAEAFNOSUPPORT
65 #define ENOSPC 28
66 
67 
68 const char * inet_ntop(int af, const void *src, char *dst, size_t size);
69 
70 //int inet_pton(int af, PCTSTR src, void *dst);
71 
72 #endif // defined(WIN32) && defined(SNMP_PP_IPv6)
73 
74 #endif // IPV6UTILITY_H
75