FreeRDP
serial_main.c File Reference
#include <freerdp/config.h>
#include <winpr/assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/collections.h>
#include <winpr/comm.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <winpr/synch.h>
#include <winpr/thread.h>
#include <winpr/wlog.h>
#include <freerdp/freerdp.h>
#include <freerdp/channels/rdpdr.h>
#include <freerdp/channels/log.h>
#include <freerdp/utils/rdpdr_utils.h>

Macros

#define TAG   CHANNELS_TAG("serial.client")
 

Functions

static void serial_message_free (void *obj)
 
 WINPR_ASSERT (pEntryPoints)
 
 WINPR_ASSERT (device)
 
 if (!name||(name[0]==' *'))
 
 if ((name &&name[0]) &&(path &&path[0]))
 

Variables

char * path = NULL
 
char * driver = NULL
 
RDPDR_SERIALdevice = NULL
 
UINT error = CHANNEL_RC_OK
 
 name = device->device.Name
 
error_out __pad0__
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("serial.client")

FreeRDP: A Remote Desktop Protocol Implementation Serial Port Device Service Virtual Channel

Copyright 2011 O.S. Systems Software Ltda. Copyright 2011 Eduardo Fiss Beloni belon.nosp@m.i@os.nosp@m.syste.nosp@m.ms.c.nosp@m.om.br Copyright 2014 Hewlett-Packard Development Company, L.P.

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

◆ if() [1/2]

if ( !name||  name[0]==' *')
Here is the caller graph for this function:

◆ if() [2/2]

if ( (name &&name[0]) &&(path &&path[0])  )
Here is the call graph for this function:

◆ serial_message_free()

static void serial_message_free ( void *  obj)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WINPR_ASSERT() [1/2]

WINPR_ASSERT ( device  )

◆ WINPR_ASSERT() [2/2]

WINPR_ASSERT ( pEntryPoints  )
Here is the caller graph for this function:

Variable Documentation

◆ __pad0__

error_out __pad0__

◆ device

device = NULL

◆ driver

driver = NULL

◆ error

◆ name

name = device->device.Name

◆ path

path = NULL

Function description

Returns
0 on success, otherwise a Win32 error code