74a7e748af3803b388f8bfe84ac0882bdaf4fe85
[platform/upstream/libnice.git] / nice / nice.h
1 /*
2  * This file is part of the Nice GLib ICE library.
3  *
4  * (C) 2006-2009 Collabora Ltd.
5  *  Contact: Youness Alaoui
6  * (C) 2006-2009 Nokia Corporation. All rights reserved.
7  *  Contact: Kai Vehmanen
8  *
9  * The contents of this file are subject to the Mozilla Public License Version
10  * 1.1 (the "License"); you may not use this file except in compliance with
11  * the License. You may obtain a copy of the License at
12  * http://www.mozilla.org/MPL/
13  *
14  * Software distributed under the License is distributed on an "AS IS" basis,
15  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
16  * for the specific language governing rights and limitations under the
17  * License.
18  *
19  * The Original Code is the Nice GLib ICE library.
20  *
21  * The Initial Developers of the Original Code are Collabora Ltd and Nokia
22  * Corporation. All Rights Reserved.
23  *
24  * Contributors:
25  *   Dafydd Harries, Collabora Ltd.
26  *   Youness Alaoui, Collabora Ltd.
27  *
28  * Alternatively, the contents of this file may be used under the terms of the
29  * the GNU Lesser General Public License Version 2.1 (the "LGPL"), in which
30  * case the provisions of LGPL are applicable instead of those above. If you
31  * wish to allow use of your version of this file only under the terms of the
32  * LGPL and not to allow others to use your version of this file under the
33  * MPL, indicate your decision by deleting the provisions above and replace
34  * them with the notice and other provisions required by the LGPL. If you do
35  * not delete the provisions above, a recipient may use your version of this
36  * file under either the MPL or the LGPL.
37  */
38
39 #ifndef _NICE_H
40 #define _NICE_H
41
42 #include "nice-version.h"
43
44 #define NICE_CHECK_VERSION(major, minor, micro)                         \
45     (NICE_VERSION_MAJOR > (major) ||                                    \
46      (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \
47      (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \
48       NICE_VERSION_MICRO >= (micro)))
49
50 #include "agent.h"
51 #include "interfaces.h"
52
53 #endif /* _NICE_H */
54