added TNC_TNCS_ReserveAdditionalIMVID() 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 imv_t {
|
||||
*/
|
||||
TNC_IMVID (*get_id)(imv_t *this);
|
||||
|
||||
/**
|
||||
* Assign an additional ID to an imv_t object.
|
||||
*
|
||||
* @param id additional IMV ID to be assigned
|
||||
*/
|
||||
void (*add_id)(imv_t *this, TNC_IMVID id);
|
||||
|
||||
/**
|
||||
* Checks if the ID is assigned to the imv_t object.
|
||||
*
|
||||
* @return TRUE if IMV ID is assigned to imv_t object
|
||||
*/
|
||||
bool (*has_id)(imv_t *this, TNC_IMVID id);
|
||||
|
||||
/**
|
||||
* Returns the name of an imv_t object.
|
||||
*
|
||||
|
||||
@@ -67,6 +67,14 @@ struct imv_manager_t {
|
||||
*/
|
||||
bool (*is_registered)(imv_manager_t *this, TNC_IMVID id);
|
||||
|
||||
/**
|
||||
* Reserve an additional ID for an IMV
|
||||
*
|
||||
* @param id ID of IMV instance
|
||||
* @param new_id reserved ID assigned to IMV
|
||||
* @return TRUE if primary IMV ID was used
|
||||
*/
|
||||
bool (*reserve_id)(imv_manager_t *this, TNC_IMVID id, TNC_UInt32 *new_id);
|
||||
|
||||
/**
|
||||
* Get the configured recommendation policy
|
||||
|
||||
Reference in New Issue
Block a user