libimcv: Fix Doxygen comments after merging libpts into libimcv
[strongswan.git] / src / libimcv / seg / seg_contract.h
index 48828c4..23676a9 100644 (file)
@@ -15,7 +15,7 @@
 
 /**
  * @defgroup seg_contract seg_contract
- * @{ @ingroup libimcv
+ * @{ @ingroup libimcv_seg
  */
 
 #ifndef SEG_CONTRACT_H_
@@ -106,7 +106,7 @@ struct seg_contract_t {
         * Get contract role
         *
         * @return                              TRUE:  contracting party (issuer),
-        *                                              FALSE: contracted party 
+        *                                              FALSE: contracted party
         */
        bool (*is_issuer)(seg_contract_t *this);
 
@@ -118,6 +118,34 @@ struct seg_contract_t {
        bool (*is_null)(seg_contract_t *this);
 
        /**
+        * Set the responder ID
+        *
+        * @param responder             IMC or IMV ID of responder
+        */
+       void (*set_responder)(seg_contract_t *this, TNC_UInt32 responder);
+
+       /**
+        * Get the responder ID
+        *
+        * @return                              IMC or IMV ID of responder
+        */
+       TNC_UInt32 (*get_responder)(seg_contract_t *this);
+
+       /**
+        * Get the issuer ID
+        *
+        * @return                              IMC or IMV ID of issuer
+        */
+       TNC_UInt32 (*get_issuer)(seg_contract_t *this);
+
+       /**
+        * Clone a contract
+        *
+        * @return                              Cloned contract
+        */
+       seg_contract_t* (*clone)(seg_contract_t *this);
+
+       /**
         * Get an info string about the contract
         *
         * @param buf                   String buffer of at least size len
@@ -134,7 +162,7 @@ struct seg_contract_t {
 };
 
 /**
- * Create a PA-TNC attribute segmentation contract 
+ * Create a PA-TNC attribute segmentation contract
  *
  * @param msg_type                     PA-TNC message type
  * @param max_attr_size                Maximum PA-TNC attribute size in octets