added a reference count for PA-TNC attributes

This commit is contained in:
Andreas Steffen
2011-06-03 16:39:27 +02:00
parent bc20bc1927
commit 2f7f248f11
3 changed files with 50 additions and 5 deletions
+7
View File
@@ -79,6 +79,13 @@ struct pa_tnc_attr_t {
*/
status_t (*process)(pa_tnc_attr_t *this);
/**
* Get a new reference to the PA-TNC attribute
*
* @return this, with an increased refcount
*/
pa_tnc_attr_t* (*get_ref)(pa_tnc_attr_t *this);
/**
* Destroys a pa_tnc_attr_t object.
*/