sresolv
1.12.11devel
Loading...
Searching...
No Matches
libsofia-sip-ua
sresolv
sofia-resolv
sres_config.h
Go to the documentation of this file.
1
/*
2
* This file is part of the Sofia-SIP package
3
*
4
* Copyright (C) 2005 Nokia Corporation.
5
*
6
* Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License
10
* as published by the Free Software Foundation; either version 2.1 of
11
* the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21
* 02110-1301 USA
22
*
23
*/
24
25
#ifndef SOFIA_RESOLV_SRES_CONFIG_H
27
#define SOFIA_RESOLV_SRES_CONFIG_H
28
37
/* ---------------------------------------------------------------------- */
38
/* Macros required by Win32 linkage */
39
41
#define SRESPUBFUN
42
43
#if defined(_WIN32) && !defined(LIBSRES_STATIC) && \
44
(defined(_MSC_VER) || defined(__BORLANDC__) || \
45
defined(__CYGWIN__) || defined(__MINGW32__))
46
/* Windows platform with MS/Borland/Cygwin/MinGW32 compiler */
47
#undef SRESPUBFUN
48
#if defined(IN_LIBSOFIA_SRES)
49
#define SRESPUBFUN __declspec(dllexport)
50
#else
51
#define SRESPUBFUN __declspec(dllimport)
52
#endif
53
#elif defined(SYMBIAN) && !defined(LIBSRES_STATIC)
54
/* Open C platform */
55
#undef SRESPUBFUN
56
#if defined(IN_LIBSOFIA_SRES)
57
#define SRESPUBFUN __declspec(dllexport)
58
#else
59
#define SRESPUBFUN __declspec(dllimport)
60
#endif
61
#endif
62
63
/* ---------------------------------------------------------------------- */
64
65
/* Types required by Win32/64 */
66
67
#if defined (SYMBIAN)
69
typedef
int
sres_socket_t
;
70
#elif defined(_WIN32)
71
typedef
SOCKET
sres_socket_t
;
72
#else
74
typedef
int
sres_socket_t
;
75
#endif
76
77
#endif
/* SOFIA_RESOLV_SRES_CONFIG_H */
sres_socket_t
int sres_socket_t
Socket descriptor.
Definition
sres_config.h:74
Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.