Google puts the STUN cookie, but doesn't follow RFC 5389
[sipe-libnice.git] / stun / win32_common.h
blob2797eba7ef38708ff9c0ea9e9de61fbe42b62632
1 /*
2 * This file is part of the Nice GLib ICE library.
4 * (C) 2008-2009 Collabora Ltd.
5 * Contact: Youness Alaoui
6 * (C) 2008-2009 Nokia Corporation. All rights reserved.
8 * The contents of this file are subject to the Mozilla Public License Version
9 * 1.1 (the "License"); you may not use this file except in compliance with
10 * the License. You may obtain a copy of the License at
11 * http://www.mozilla.org/MPL/
13 * Software distributed under the License is distributed on an "AS IS" basis,
14 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
15 * for the specific language governing rights and limitations under the
16 * License.
18 * The Original Code is the Nice GLib ICE library.
20 * The Initial Developers of the Original Code are Collabora Ltd and Nokia
21 * Corporation. All Rights Reserved.
23 * Contributors:
24 * Youness Alaoui, Collabora Ltd.
25 * Danny Smith
27 * Alternatively, the contents of this file may be used under the terms of the
28 * the GNU Lesser General Public License Version 2.1 (the "LGPL"), in which
29 * case the provisions of LGPL are applicable instead of those above. If you
30 * wish to allow use of your version of this file only under the terms of the
31 * LGPL and not to allow others to use your version of this file under the
32 * MPL, indicate your decision by deleting the provisions above and replace
33 * them with the notice and other provisions required by the LGPL. If you do
34 * not delete the provisions above, a recipient may use your version of this
35 * file under either the MPL or the LGPL.
38 /* ISO C9x 7.18 Integer types <stdint.h>
39 * Based on ISO/IEC SC22/WG14 9899 Committee draft (SC22 N2794)
41 * THIS SOFTWARE IS NOT COPYRIGHTED
43 * Contributor: Danny Smith <danny_r_smith_2001@yahoo.co.nz>
45 * This source code is offered for use in the public domain. You may
46 * use, modify or distribute it freely.
48 * This code is distributed in the hope that it will be useful but
49 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
50 * DISCLAIMED. This includes but is not limited to warranties of
51 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
53 * Date: 2000-12-02
57 #ifndef _WIN32_COMMON_H
58 #define _WIN32_COMMON_H
61 /* 7.18.1.1 Exact-width integer types */
62 typedef signed char int8_t;
63 typedef unsigned char uint8_t;
64 typedef short int16_t;
65 typedef unsigned short uint16_t;
66 typedef int int32_t;
67 typedef unsigned uint32_t;
68 typedef long long int64_t;
69 typedef unsigned long long uint64_t;
70 typedef unsigned int size_t;
71 typedef unsigned long ssize_t;
73 typedef uint8_t bool;
74 #define true 1
75 #define false 0
78 #endif /* _WIN32_COMMON_H */