added TNC_TNCC_ReserveAdditionalIMCID() function
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2010 Andreas Steffen
|
||||
* Copyright (C) 2010-2011 Andreas Steffen
|
||||
* HSR Hochschule fuer Technik Rapperswil
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
@@ -143,6 +143,20 @@ struct imc_t {
|
||||
*/
|
||||
TNC_IMCID (*get_id)(imc_t *this);
|
||||
|
||||
/**
|
||||
* Assign an additional ID to an imc_t object.
|
||||
*
|
||||
* @param id additional IMC ID to be assigned
|
||||
*/
|
||||
void (*add_id)(imc_t *this, TNC_IMCID id);
|
||||
|
||||
/**
|
||||
* Checks if the ID is assigned to the imc_t object.
|
||||
*
|
||||
* @return TRUE if IMC ID is assigned to imc_t object
|
||||
*/
|
||||
bool (*has_id)(imc_t *this, TNC_IMCID id);
|
||||
|
||||
/**
|
||||
* Returns the name of an imc_t object.
|
||||
*
|
||||
|
||||
@@ -65,6 +65,15 @@ struct imc_manager_t {
|
||||
*/
|
||||
bool (*is_registered)(imc_manager_t *this, TNC_IMCID id);
|
||||
|
||||
/**
|
||||
* Reserve an additional ID for an IMC
|
||||
*
|
||||
* @param id ID of IMC instance
|
||||
* @param new_id reserved ID assigned to IMC
|
||||
* @return TRUE if primary IMC ID was used
|
||||
*/
|
||||
bool (*reserve_id)(imc_manager_t *this, TNC_IMCID id, TNC_UInt32 *new_id);
|
||||
|
||||
/**
|
||||
* Return the preferred language for recommendations
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user