Thu, 05 Jan 2006 05:29:51 +0000
[gaim-migrate @ 15077]
jabber.c:389: warning: ISO C90 forbids mixed declarations and code
| 12024 | 1 | /* |
| 2 | The mediastreamer library aims at providing modular media processing and I/O | |
| 3 | for linphone, but also for any telephony application. | |
| 4 | Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org | |
| 5 | ||
| 6 | This library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | This library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with this library; if not, write to the Free Software | |
| 18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | */ | |
| 20 | #ifndef MSUTILS_H | |
| 21 | #define MSUTILS_H | |
| 22 | ||
| 23 | #ifdef HAVE_CONFIG_H | |
| 24 | #include <config.h> | |
| 25 | #endif | |
| 26 | ||
| 27 | #ifdef HAVE_GLIB | |
| 28 | #include <glib.h> | |
| 29 | #else | |
| 30 | #include <uglib.h> | |
| 31 | #endif | |
| 32 | #include <errno.h> | |
| 33 | ||
| 34 | #ifndef ENODATA | |
| 35 | /* this is for freeBSD .*/ | |
| 36 | #define ENODATA EWOULDBLOCK | |
| 37 | #endif | |
| 38 | ||
| 39 | #ifdef MS_DEBUG | |
| 40 | ||
| 41 | #define ms_trace g_message | |
| 42 | ||
| 43 | #else | |
| 44 | ||
| 45 | #define ms_trace(...) | |
| 46 | #endif | |
| 47 | ||
| 48 | #define ms_warning g_warning | |
| 49 | #define ms_error g_error | |
| 50 | ||
| 51 | #define VIDEO_SIZE_CIF_W 352 | |
| 52 | #define VIDEO_SIZE_CIF_H 288 | |
| 53 | #define VIDEO_SIZE_QCIF_W 176 | |
| 54 | #define VIDEO_SIZE_QCIF_H 144 | |
| 55 | #define VIDEO_SIZE_4CIF_W 704 | |
| 56 | #define VIDEO_SIZE_4CIF_H 576 | |
| 57 | #define VIDEO_SIZE_MAX_W VIDEO_SIZE_4CIF_W | |
| 58 | #define VIDEO_SIZE_MAX_H VIDEO_SIZE_4CIF_H | |
| 59 | ||
| 60 | ||
| 61 | #endif |