Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/NeutrinoRDP.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-05-21 10:34:14 +0400
committerJay Sorg <jay.sorg@gmail.com>2013-05-21 10:34:14 +0400
commit7848709eb0205dc31b809716142521467902222e (patch)
tree76c47fbdad49a925fdb2df1901bf170b4c90f473 /libfreerdp-channels
parentb70c202a395081816ec38930c9ccb072fd55e9f5 (diff)
boolean to tbool
Diffstat (limited to 'libfreerdp-channels')
-rw-r--r--libfreerdp-channels/wtsvc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libfreerdp-channels/wtsvc.c b/libfreerdp-channels/wtsvc.c
index 03a91b4..ef768dd 100644
--- a/libfreerdp-channels/wtsvc.c
+++ b/libfreerdp-channels/wtsvc.c
@@ -81,7 +81,7 @@ static void WTSProcessChannelData(rdpPeerChannel* channel, int channelId, uint8*
static int WTSReceiveChannelData(freerdp_peer* client, int channelId, uint8* data, int size, int flags, int total_size)
{
int i;
- boolean result = false;
+ tbool result = false;
rdpPeerChannel* channel;
for (i = 0; i < client->settings->num_channels; i++)
@@ -149,9 +149,9 @@ void WTSVirtualChannelManagerGetFileDescriptor(WTSVirtualChannelManager* vcm,
wait_obj_get_fds(vcm->send_event, fds, fds_count);
}
-boolean WTSVirtualChannelManagerCheckFileDescriptor(WTSVirtualChannelManager* vcm)
+tbool WTSVirtualChannelManagerCheckFileDescriptor(WTSVirtualChannelManager* vcm)
{
- boolean result = true;
+ tbool result = true;
wts_data_item* item;
wait_obj_clear(vcm->send_event);
@@ -234,7 +234,7 @@ void* WTSVirtualChannelOpenEx(
return channel;
}
-boolean WTSVirtualChannelQuery(
+tbool WTSVirtualChannelQuery(
/* __in */ void* hChannelHandle,
/* __in */ WTS_VIRTUAL_CLASS WtsVirtualClass,
/* __out */ void** ppBuffer,
@@ -242,7 +242,7 @@ boolean WTSVirtualChannelQuery(
{
void* fds[10];
int fds_count = 0;
- boolean result = false;
+ tbool result = false;
rdpPeerChannel* channel = (rdpPeerChannel*) hChannelHandle;
switch (WtsVirtualClass)
@@ -267,7 +267,7 @@ void WTSFreeMemory(
xfree(pMemory);
}
-boolean WTSVirtualChannelRead(
+tbool WTSVirtualChannelRead(
/* __in */ void* hChannelHandle,
/* __in */ uint32 TimeOut,
/* __out */ uint8* Buffer,
@@ -300,7 +300,7 @@ boolean WTSVirtualChannelRead(
return true;
}
-boolean WTSVirtualChannelWrite(
+tbool WTSVirtualChannelWrite(
/* __in */ void* hChannelHandle,
/* __in */ uint8* Buffer,
/* __in */ uint32 Length,
@@ -308,7 +308,7 @@ boolean WTSVirtualChannelWrite(
{
uint32 written = 0;
wts_data_item* item;
- boolean result = false;
+ tbool result = false;
rdpPeerChannel* channel = (rdpPeerChannel*) hChannelHandle;
WTSVirtualChannelManager* vcm = channel->vcm;
@@ -342,7 +342,7 @@ boolean WTSVirtualChannelWrite(
return result;
}
-boolean WTSVirtualChannelClose(
+tbool WTSVirtualChannelClose(
/* __in */ void* hChannelHandle)
{
wts_data_item* item;