FreeRDP
libfreerdp/core/license.h File Reference
#include "rdp.h"
#include "state.h"
#include <freerdp/crypto/crypto.h>
#include <freerdp/log.h>
#include <freerdp/license.h>
#include <winpr/stream.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  LICENSE_PRODUCT_INFO
 
struct  LICENSE_BLOB
 
struct  SCOPE_LIST
 

Macros

#define CLIENT_RANDOM_LENGTH   32
 
#define LICENSE_TAG   FREERDP_TAG("core.license")
 
#define DEBUG_LICENSE(...)
 

Functions

FREERDP_LOCAL BOOL license_send_valid_client_error_packet (rdpRdp *rdp)
 
FREERDP_LOCAL state_run_t license_recv (rdpLicense *license, wStream *s)
 
FREERDP_LOCAL BOOL license_server_configure (rdpLicense *license)
 
FREERDP_LOCAL BOOL license_server_send_request (rdpLicense *license)
 
FREERDP_LOCAL void license_free (rdpLicense *license)
 
FREERDP_LOCAL rdpLicense * license_new (rdpRdp *rdp)
 

Macro Definition Documentation

◆ CLIENT_RANDOM_LENGTH

#define CLIENT_RANDOM_LENGTH   32

FreeRDP: A Remote Desktop Protocol Implementation RDP Licensing

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2022 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2022 Thincast Technologies GmbH

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.

◆ DEBUG_LICENSE

#define DEBUG_LICENSE (   ...)
Value:
do \
{ \
} while (0)

◆ LICENSE_TAG

#define LICENSE_TAG   FREERDP_TAG("core.license")

Function Documentation

◆ license_free()

FREERDP_LOCAL void license_free ( rdpLicense *  license)

Free license module.

Parameters
licenselicense module to be freed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ license_new()

FREERDP_LOCAL rdpLicense* license_new ( rdpRdp *  rdp)

Instantiate new license module.

Parameters
rdpRDP module
Returns
new license module
Here is the call graph for this function:
Here is the caller graph for this function:

◆ license_recv()

FREERDP_LOCAL state_run_t license_recv ( rdpLicense *  license,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ license_send_valid_client_error_packet()

FREERDP_LOCAL BOOL license_send_valid_client_error_packet ( rdpRdp *  rdp)

Send Server License Error - Valid Client Packet. msdn{cc241922}

Parameters
rdpA pointer to the context to use
Returns
TRUE for success, FALSE otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ license_server_configure()

FREERDP_LOCAL BOOL license_server_configure ( rdpLicense *  license)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ license_server_send_request()

FREERDP_LOCAL BOOL license_server_send_request ( rdpLicense *  license)
Here is the call graph for this function:
Here is the caller graph for this function: