FreeRDP
mf_peer.c File Reference
#include <freerdp/listener.h>
#include <freerdp/codec/rfx.h>
#include <winpr/stream.h>
#include <freerdp/peer.h>
#include <freerdp/codec/color.h>
#include <winpr/crt.h>
#include "mf_peer.h"
#include "mf_info.h"
#include "mf_input.h"
#include "mf_event.h"
#include "mf_rdpsnd.h"
#include "mf_audin.h"
#include <mach/clock.h>
#include <mach/mach.h>
#include <dispatch/dispatch.h>
#include "OpenGL/OpenGL.h"
#include "OpenGL/gl.h"
#include "CoreVideo/CoreVideo.h"

Functions

static BOOL mf_peer_get_fds (freerdp_peer *client, void **rfds, int *rcount)
 
static void mf_peer_rfx_update (freerdp_peer *client)
 
static BOOL mf_peer_check_fds (freerdp_peer *client)
 
static BOOL mf_peer_context_new (freerdp_peer *client, mfPeerContext *context)
 
static void mf_peer_context_free (freerdp_peer *client, mfPeerContext *context)
 
static BOOL mf_peer_init (freerdp_peer *client)
 
static BOOL mf_peer_post_connect (freerdp_peer *client)
 
static BOOL mf_peer_activate (freerdp_peer *client)
 
static BOOL mf_peer_synchronize_event (rdpInput *input, UINT32 flags)
 
void mf_peer_keyboard_event (rdpInput *input, UINT16 flags, UINT16 code)
 
static BOOL mf_peer_unicode_keyboard_event (rdpInput *input, UINT16 flags, UINT16 code)
 
static BOOL mf_peer_suppress_output (rdpContext *context, BYTE allow, const RECTANGLE_16 *area)
 
static voidmf_peer_main_loop (void *arg)
 
BOOL mf_peer_accepted (freerdp_listener *instance, freerdp_peer *client)
 

Variables

static int info_last_sec = 0
 
static int info_last_nsec = 0
 
static dispatch_source_t info_timer
 
static dispatch_queue_t info_queue
 
static mfEventQueue * info_event_queue
 
static CGLContextObj glContext
 
static CGContextRef bmp
 
static CGImageRef img
 

Function Documentation

BOOL mf_peer_accepted ( freerdp_listener *  instance,
freerdp_peer *  client 
)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Mac OS X Server

Copyright 2012 Corey Clayton can.o.nosp@m.f.tu.nosp@m.na@gm.nosp@m.ail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL mf_peer_activate ( freerdp_peer *  client)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL mf_peer_check_fds ( freerdp_peer *  client)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void mf_peer_context_free ( freerdp_peer *  client,
mfPeerContext *  context 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL mf_peer_context_new ( freerdp_peer *  client,
mfPeerContext *  context 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL mf_peer_get_fds ( freerdp_peer *  client,
void **  rfds,
int *  rcount 
)
static

Here is the caller graph for this function:

static BOOL mf_peer_init ( freerdp_peer *  client)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void mf_peer_keyboard_event ( rdpInput *  input,
UINT16  flags,
UINT16  code 
)
static void* mf_peer_main_loop ( void arg)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL mf_peer_post_connect ( freerdp_peer *  client)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void mf_peer_rfx_update ( freerdp_peer *  client)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL mf_peer_suppress_output ( rdpContext *  context,
BYTE  allow,
const RECTANGLE_16 *  area 
)
static

Here is the caller graph for this function:

static BOOL mf_peer_synchronize_event ( rdpInput *  input,
UINT32  flags 
)
static

Here is the caller graph for this function:

static BOOL mf_peer_unicode_keyboard_event ( rdpInput *  input,
UINT16  flags,
UINT16  code 
)
static

Here is the caller graph for this function:

Variable Documentation

CGContextRef bmp
static
CGLContextObj glContext
static
CGImageRef img
static
mfEventQueue* info_event_queue
static
int info_last_nsec = 0
static
int info_last_sec = 0
static

FreeRDP: A Remote Desktop Protocol Client FreeRDP Mac OS X Server

Copyright 2012 Corey Clayton can.o.nosp@m.f.tu.nosp@m.na@gm.nosp@m.ail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

dispatch_queue_t info_queue
static
dispatch_source_t info_timer
static