FreeRDP
libfreerdp/core/license.h File Reference
#include "rdp.h"
#include <freerdp/license.h>
#include <freerdp/crypto/crypto.h>
#include <freerdp/crypto/certificate.h>
#include <freerdp/freerdp.h>
#include <freerdp/log.h>
#include <freerdp/api.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
 
struct  rdpLicense
 

Macros

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

Enumerations

enum  LICENSE_STATE { LICENSE_STATE_AWAIT, LICENSE_STATE_PROCESS, LICENSE_STATE_ABORTED, LICENSE_STATE_COMPLETED }
 

Functions

FREERDP_LOCAL int license_recv (rdpLicense *license, wStream *s)
 
FREERDP_LOCAL rdpLicense * license_new (rdpRdp *rdp)
 
FREERDP_LOCAL void license_free (rdpLicense *license)
 

Macro Definition Documentation

◆ DEBUG_LICENSE

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

◆ LICENSE_TAG

#define LICENSE_TAG   FREERDP_TAG("core.license")

Enumeration Type Documentation

◆ LICENSE_STATE

Enumerator
LICENSE_STATE_AWAIT 
LICENSE_STATE_PROCESS 
LICENSE_STATE_ABORTED 
LICENSE_STATE_COMPLETED 

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 int license_recv ( rdpLicense *  license,
wStream *  s 
)

Receive an RDP licensing packet.
http://msdn.microsoft.com/en-us/library/cc240479/

Parameters
licenselicense module
sstream
Returns
if the operation completed successfully
Here is the call graph for this function:
Here is the caller graph for this function: