Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
1c3635e1
Commit
1c3635e1
authored
Dec 23, 2013
by
Sylvain Berfini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wp8 build
parent
ce931ad1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
7 deletions
+17
-7
build/windows/belle-sip/belle-sip.vcxproj
build/windows/belle-sip/belle-sip.vcxproj
+2
-0
include/belle-sip/dict.h
include/belle-sip/dict.h
+6
-1
src/belle_sip_dict.c
src/belle_sip_dict.c
+5
-1
src/transports/tunnel_channel.c
src/transports/tunnel_channel.c
+2
-3
src/transports/tunnel_listeningpoint.c
src/transports/tunnel_listeningpoint.c
+2
-2
No files found.
build/windows/belle-sip/belle-sip.vcxproj
View file @
1c3635e1
...
...
@@ -205,6 +205,7 @@
<ClInclude
Include=
"..\..\..\include\belle-sip\belle-sdp.h"
/>
<ClInclude
Include=
"..\..\..\include\belle-sip\belle-sip.h"
/>
<ClInclude
Include=
"..\..\..\include\belle-sip\dialog.h"
/>
<ClInclude
Include=
"..\..\..\include\belle-sip\dict.h"
/>
<ClInclude
Include=
"..\..\..\include\belle-sip\headers.h"
/>
<ClInclude
Include=
"..\..\..\include\belle-sip\list.h"
/>
<ClInclude
Include=
"..\..\..\include\belle-sip\listener.h"
/>
...
...
@@ -237,6 +238,7 @@
<ClCompile
Include=
"..\..\..\src\belle_sdpLexer.c"
/>
<ClCompile
Include=
"..\..\..\src\belle_sdpParser.c"
/>
<ClCompile
Include=
"..\..\..\src\belle_sdp_impl.c"
/>
<ClCompile
Include=
"..\..\..\src\belle_sip_dict.c"
/>
<ClCompile
Include=
"..\..\..\src\belle_sip_headers_impl.c"
/>
<ClCompile
Include=
"..\..\..\src\belle_sip_loop.c"
/>
<ClCompile
Include=
"..\..\..\src\belle_sip_messageLexer.c"
/>
...
...
include/belle-sip/dict.h
View file @
1c3635e1
...
...
@@ -21,8 +21,13 @@
#ifndef WIN32
#include <sys/types.h>
#endif
#include <inttypes.h>
#else
typedef
__int32
int32_t
;
typedef
unsigned
__int32
uint32_t
;
typedef
__int64
int64_t
;
typedef
unsigned
__int64
uint64_t
;
#endif
#include "object.h"
...
...
src/belle_sip_dict.c
View file @
1c3635e1
...
...
@@ -80,7 +80,11 @@ const char* belle_sip_dict_get_string(belle_sip_dict_t* obj, const char* key, co
void
belle_sip_dict_set_int64
(
belle_sip_dict_t
*
obj
,
const
char
*
key
,
int64_t
value
)
{
char
tmp
[
30
];
snprintf
(
tmp
,
sizeof
(
tmp
),
"%"
PRId64
""
,
value
);
#if defined (_MSC_VER)
snprintf
(
tmp
,
sizeof
(
tmp
),
"%I64d"
,
value
);
#else
snprintf
(
tmp
,
sizeof
(
tmp
),
"%"
PRId64
""
,
value
);
#endif
belle_sip_dict_set_string
(
obj
,
key
,
tmp
);
}
...
...
src/transports/tunnel_channel.c
View file @
1c3635e1
...
...
@@ -90,8 +90,7 @@ static int tunnel_polling_timer(belle_sip_tunnel_channel_t *chan) {
BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES
(
belle_sip_tunnel_channel_t
);
BELLE_SIP_INSTANCIATE_CUSTOM_VPTR
(
belle_sip_tunnel_channel_t
)
=
{
BELLE_SIP_INSTANCIATE_CUSTOM_VPTR_BEGIN
(
belle_sip_tunnel_channel_t
)
{
{
BELLE_SIP_VPTR_INIT
(
belle_sip_tunnel_channel_t
,
belle_sip_channel_t
,
FALSE
),
...
...
@@ -106,7 +105,7 @@ BELLE_SIP_INSTANCIATE_CUSTOM_VPTR(belle_sip_tunnel_channel_t)=
tunnel_channel_recv
,
tunnel_channel_close
}
};
BELLE_SIP_INSTANCIATE_CUSTOM_VPTR_END
belle_sip_channel_t
*
belle_sip_channel_new_tunnel
(
belle_sip_stack_t
*
stack
,
void
*
tunnelclient
,
const
char
*
bindip
,
int
localport
,
const
char
*
dest
,
int
port
){
belle_sip_tunnel_channel_t
*
obj
=
belle_sip_object_new
(
belle_sip_tunnel_channel_t
);
...
...
src/transports/tunnel_listeningpoint.c
View file @
1c3635e1
...
...
@@ -32,7 +32,7 @@ static belle_sip_channel_t *tunnel_create_channel(belle_sip_listening_point_t *l
}
BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES
(
belle_sip_tunnel_listening_point_t
);
BELLE_SIP_INSTANCIATE_CUSTOM_VPTR
(
belle_sip_tunnel_listening_point_t
)
=
{
BELLE_SIP_INSTANCIATE_CUSTOM_VPTR
_BEGIN
(
belle_sip_tunnel_listening_point_t
)
{
{
BELLE_SIP_VPTR_INIT
(
belle_sip_tunnel_listening_point_t
,
belle_sip_listening_point_t
,
TRUE
),
...
...
@@ -43,7 +43,7 @@ BELLE_SIP_INSTANCIATE_CUSTOM_VPTR(belle_sip_tunnel_listening_point_t)={
"UDP"
,
tunnel_create_channel
}
};
BELLE_SIP_INSTANCIATE_CUSTOM_VPTR_END
static
void
belle_sip_tunnel_listening_point_init
(
belle_sip_tunnel_listening_point_t
*
lp
,
belle_sip_stack_t
*
s
,
void
*
tunnelclient
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment