aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/payloads/sa_payload.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-10-28 14:21:02 +0200
committerMartin Willi <martin@revosec.ch>2010-10-28 13:06:19 +0000
commit80f93f20a488dddd802b3f0871b989a0ed88348f (patch)
tree5f66aceb599c4f5ed707931ccd81877469155fbe /src/libcharon/encoding/payloads/sa_payload.h
parentc8f5aaf0a435ff6951bbf06a368f09aeb4573685 (diff)
downloadstrongswan-80f93f20a488dddd802b3f0871b989a0ed88348f.tar.bz2
strongswan-80f93f20a488dddd802b3f0871b989a0ed88348f.tar.xz
Migrated sa_payload to INIT/METHOD macros, removed unused methods
Diffstat (limited to 'src/libcharon/encoding/payloads/sa_payload.h')
-rw-r--r--src/libcharon/encoding/payloads/sa_payload.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/libcharon/encoding/payloads/sa_payload.h b/src/libcharon/encoding/payloads/sa_payload.h
index 25f5a2407..801a70738 100644
--- a/src/libcharon/encoding/payloads/sa_payload.h
+++ b/src/libcharon/encoding/payloads/sa_payload.h
@@ -40,33 +40,13 @@ typedef struct sa_payload_t sa_payload_t;
* The SA Payload format is described in RFC section 3.3.
*/
struct sa_payload_t {
+
/**
* The payload_t interface.
*/
payload_t payload_interface;
/**
- * Creates an iterator of stored proposal_substructure_t objects.
- *
- * When deleting an proposal using this iterator,
- * the length of this transform substructure has to be refreshed
- * by calling get_length()!
- *
- * @param forward iterator direction (TRUE: front to end)
- * @return created iterator_t object
- */
- iterator_t *(*create_proposal_substructure_iterator) (sa_payload_t *this,
- bool forward);
-
- /**
- * Adds a proposal_substructure_t object to this object.
- *
- * @param proposal proposal_substructure_t object to add
- */
- void (*add_proposal_substructure) (sa_payload_t *this,
- proposal_substructure_t *proposal);
-
- /**
* Gets the proposals in this payload as a list.
*
* @return a list containing proposal_t s