FreeRDP
listener.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <winpr/crt.h>
#include <winpr/windows.h>
#include <freerdp/log.h>
#include <netdb.h>
#include <unistd.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <net/if.h>
#include <winpr/handle.h>
#include "listener.h"

Macros

#define TAG   FREERDP_TAG("core.listener")
 

Functions

static BOOL freerdp_listener_open (freerdp_listener *instance, const char *bind_address, UINT16 port)
 
static BOOL freerdp_listener_open_local (freerdp_listener *instance, const char *path)
 
static BOOL freerdp_listener_open_from_socket (freerdp_listener *instance, int fd)
 
static void freerdp_listener_close (freerdp_listener *instance)
 
static BOOL freerdp_listener_get_fds (freerdp_listener *instance, void **rfds, int *rcount)
 
DWORD freerdp_listener_get_event_handles (freerdp_listener *instance, HANDLE *events, DWORD nCount)
 
static BOOL freerdp_listener_check_fds (freerdp_listener *instance)
 
freerdp_listener * freerdp_listener_new (void)
 
void freerdp_listener_free (freerdp_listener *instance)
 

Macro Definition Documentation

#define TAG   FREERDP_TAG("core.listener")

FreeRDP: A Remote Desktop Protocol Implementation RDP Server Listener

Copyright 2011 Vic Lee

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.

Function Documentation

static BOOL freerdp_listener_check_fds ( freerdp_listener *  instance)
static

Here is the caller graph for this function:

static void freerdp_listener_close ( freerdp_listener *  instance)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void freerdp_listener_free ( freerdp_listener *  instance)

Here is the caller graph for this function:

DWORD freerdp_listener_get_event_handles ( freerdp_listener *  instance,
HANDLE *  events,
DWORD  nCount 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL freerdp_listener_get_fds ( freerdp_listener *  instance,
void **  rfds,
int *  rcount 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

freerdp_listener* freerdp_listener_new ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL freerdp_listener_open ( freerdp_listener *  instance,
const char *  bind_address,
UINT16  port 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL freerdp_listener_open_from_socket ( freerdp_listener *  instance,
int  fd 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL freerdp_listener_open_local ( freerdp_listener *  instance,
const char *  path 
)
static

Here is the call graph for this function:

Here is the caller graph for this function: