diff options
author | Martin Willi <martin@revosec.ch> | 2011-11-24 15:32:13 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:30:53 +0100 |
commit | eeca2af81c22e04532585d0dd2a5284bd83d8f5c (patch) | |
tree | d44bddbe1d53d7bb36c920fe17fe0705e8c2c26b /src/libcharon/encoding/payloads/transform_attribute.h | |
parent | 914ec2dbf29ea70a397418860fb304196131d845 (diff) | |
download | strongswan-eeca2af81c22e04532585d0dd2a5284bd83d8f5c.tar.bz2 strongswan-eeca2af81c22e04532585d0dd2a5284bd83d8f5c.tar.xz |
Removed obsolete transform attribute setters
Diffstat (limited to 'src/libcharon/encoding/payloads/transform_attribute.h')
-rw-r--r-- | src/libcharon/encoding/payloads/transform_attribute.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/src/libcharon/encoding/payloads/transform_attribute.h b/src/libcharon/encoding/payloads/transform_attribute.h index 7eed40b3e..23897a50a 100644 --- a/src/libcharon/encoding/payloads/transform_attribute.h +++ b/src/libcharon/encoding/payloads/transform_attribute.h @@ -98,7 +98,7 @@ struct transform_attribute_t { * * Returned data are not copied. * - * @return chunk_t pointing to the value + * @return chunk_t pointing to internal value */ chunk_t (*get_value_chunk) (transform_attribute_t *this); @@ -112,29 +112,6 @@ struct transform_attribute_t { u_int64_t (*get_value) (transform_attribute_t *this); /** - * Sets the value of the attribute. - * - * Value is getting copied. - * - * @param value chunk_t pointing to the value to set - */ - void (*set_value_chunk) (transform_attribute_t *this, chunk_t value); - - /** - * Sets the value of the attribute. - * - * @param value value to set - */ - void (*set_value) (transform_attribute_t *this, u_int16_t value); - - /** - * Sets the type of the attribute. - * - * @param type type to set (most significant bit is set to zero) - */ - void (*set_attribute_type) (transform_attribute_t *this, u_int16_t type); - - /** * get the type of the attribute. * * @return type of the value @@ -142,13 +119,6 @@ struct transform_attribute_t { u_int16_t (*get_attribute_type) (transform_attribute_t *this); /** - * Clones an transform_attribute_t object. - * - * @return cloned transform_attribute_t object - */ - transform_attribute_t * (*clone) (transform_attribute_t *this); - - /** * Destroys an transform_attribute_t object. */ void (*destroy) (transform_attribute_t *this); |