FreeRDP
msusb.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <freerdp/log.h>
#include <msusb.h>

Macros

#define TAG   FREERDP_TAG("utils")
 

Functions

static MSUSB_PIPE_DESCRIPTORmsusb_mspipe_new (void)
 
static void msusb_mspipes_free (MSUSB_PIPE_DESCRIPTOR **MsPipes, UINT32 NumberOfPipes)
 
BOOL msusb_mspipes_replace (MSUSB_INTERFACE_DESCRIPTOR *MsInterface, MSUSB_PIPE_DESCRIPTOR **NewMsPipes, UINT32 NewNumberOfPipes)
 
static MSUSB_PIPE_DESCRIPTOR ** msusb_mspipes_read (wStream *s, UINT32 NumberOfPipes)
 
static MSUSB_INTERFACE_DESCRIPTORmsusb_msinterface_new (void)
 
void msusb_msinterface_free (MSUSB_INTERFACE_DESCRIPTOR *MsInterface)
 
static void msusb_msinterface_free_list (MSUSB_INTERFACE_DESCRIPTOR **MsInterfaces, UINT32 NumInterfaces)
 
BOOL msusb_msinterface_replace (MSUSB_CONFIG_DESCRIPTOR *MsConfig, BYTE InterfaceNumber, MSUSB_INTERFACE_DESCRIPTOR *NewMsInterface)
 
MSUSB_INTERFACE_DESCRIPTORmsusb_msinterface_read (wStream *s)
 
BOOL msusb_msinterface_write (MSUSB_INTERFACE_DESCRIPTOR *MsInterface, wStream *out)
 
static MSUSB_INTERFACE_DESCRIPTOR ** msusb_msinterface_read_list (wStream *s, UINT32 NumInterfaces)
 
BOOL msusb_msconfig_write (MSUSB_CONFIG_DESCRIPTOR *MsConfg, wStream *out)
 
MSUSB_CONFIG_DESCRIPTORmsusb_msconfig_new (void)
 
void msusb_msconfig_free (MSUSB_CONFIG_DESCRIPTOR *MsConfig)
 
MSUSB_CONFIG_DESCRIPTORmsusb_msconfig_read (wStream *s, UINT32 NumInterfaces)
 
void msusb_msconfig_dump (MSUSB_CONFIG_DESCRIPTOR *MsConfig)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("utils")

FreeRDP: A Remote Desktop Protocol Implementation RemoteFX USB Redirection

Copyright 2012 Atrust corp. Copyright 2012 Alfred Liu alfre.nosp@m.d.li.nosp@m.u@atr.nosp@m.usco.nosp@m.rp.co.nosp@m.m

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

◆ msusb_msconfig_dump()

void msusb_msconfig_dump ( MSUSB_CONFIG_DESCRIPTOR MsConfig)

◆ msusb_msconfig_free()

void msusb_msconfig_free ( MSUSB_CONFIG_DESCRIPTOR MsConfig)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msconfig_new()

MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_new ( void  )
Here is the caller graph for this function:

◆ msusb_msconfig_read()

MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_read ( wStream s,
UINT32  NumInterfaces 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msconfig_write()

BOOL msusb_msconfig_write ( MSUSB_CONFIG_DESCRIPTOR MsConfg,
wStream out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msinterface_free()

void msusb_msinterface_free ( MSUSB_INTERFACE_DESCRIPTOR MsInterface)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msinterface_free_list()

static void msusb_msinterface_free_list ( MSUSB_INTERFACE_DESCRIPTOR **  MsInterfaces,
UINT32  NumInterfaces 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msinterface_new()

static MSUSB_INTERFACE_DESCRIPTOR* msusb_msinterface_new ( void  )
static
Here is the caller graph for this function:

◆ msusb_msinterface_read()

MSUSB_INTERFACE_DESCRIPTOR* msusb_msinterface_read ( wStream s)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msinterface_read_list()

static MSUSB_INTERFACE_DESCRIPTOR** msusb_msinterface_read_list ( wStream s,
UINT32  NumInterfaces 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msinterface_replace()

BOOL msusb_msinterface_replace ( MSUSB_CONFIG_DESCRIPTOR MsConfig,
BYTE  InterfaceNumber,
MSUSB_INTERFACE_DESCRIPTOR NewMsInterface 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_msinterface_write()

BOOL msusb_msinterface_write ( MSUSB_INTERFACE_DESCRIPTOR MsInterface,
wStream out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_mspipe_new()

static MSUSB_PIPE_DESCRIPTOR* msusb_mspipe_new ( void  )
static
Here is the caller graph for this function:

◆ msusb_mspipes_free()

static void msusb_mspipes_free ( MSUSB_PIPE_DESCRIPTOR **  MsPipes,
UINT32  NumberOfPipes 
)
static
Here is the caller graph for this function:

◆ msusb_mspipes_read()

static MSUSB_PIPE_DESCRIPTOR** msusb_mspipes_read ( wStream s,
UINT32  NumberOfPipes 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ msusb_mspipes_replace()

BOOL msusb_mspipes_replace ( MSUSB_INTERFACE_DESCRIPTOR MsInterface,
MSUSB_PIPE_DESCRIPTOR **  NewMsPipes,
UINT32  NewNumberOfPipes 
)
Here is the call graph for this function:
Here is the caller graph for this function: