Added missing noskip_flag setter/getter to some pa_tnc_attr_t constructors
authorTobias Brunner <tobias@strongswan.org>
Wed, 24 Oct 2012 15:57:19 +0000 (17:57 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 24 Oct 2012 15:58:36 +0000 (17:58 +0200)
14 files changed:
src/libimcv/ietf/ietf_attr_assess_result.c
src/libimcv/ietf/ietf_attr_attr_request.c
src/libimcv/ietf/ietf_attr_default_pwd_enabled.c
src/libimcv/ietf/ietf_attr_fwd_enabled.c
src/libimcv/ietf/ietf_attr_installed_packages.c
src/libimcv/ietf/ietf_attr_numeric_version.c
src/libimcv/ietf/ietf_attr_op_status.c
src/libimcv/ietf/ietf_attr_pa_tnc_error.c
src/libimcv/ietf/ietf_attr_port_filter.c
src/libimcv/ietf/ietf_attr_product_info.c
src/libimcv/ietf/ietf_attr_remediation_instr.c
src/libimcv/ietf/ietf_attr_string_version.c
src/libimcv/ita/ita_attr_command.c
src/libimcv/ita/ita_attr_dummy.c

index 6f77642..1c0d6b0 100644 (file)
@@ -192,6 +192,8 @@ pa_tnc_attr_t *ietf_attr_assess_result_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 1c2d4f5..c93c927 100644 (file)
@@ -251,6 +251,8 @@ pa_tnc_attr_t *ietf_attr_attr_request_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 08a6eed..2022f45 100644 (file)
@@ -203,6 +203,8 @@ pa_tnc_attr_t *ietf_attr_default_pwd_enabled_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 4f52206..911ee5b 100644 (file)
@@ -202,6 +202,8 @@ pa_tnc_attr_t *ietf_attr_fwd_enabled_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index c19bd92..72a3c13 100644 (file)
@@ -313,6 +313,8 @@ pa_tnc_attr_t *ietf_attr_installed_packages_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 9c03017..d4e79cc 100644 (file)
@@ -153,11 +153,11 @@ METHOD(pa_tnc_attr_t, process, status_t,
                return FAILED;
        }
        reader = bio_reader_create(this->value);
-       reader->read_uint32(reader, &this->major_version);      
-       reader->read_uint32(reader, &this->minor_version);      
-       reader->read_uint32(reader, &this->build);      
-       reader->read_uint16(reader, &this->service_pack_major); 
-       reader->read_uint16(reader, &this->service_pack_minor); 
+       reader->read_uint32(reader, &this->major_version);
+       reader->read_uint32(reader, &this->minor_version);
+       reader->read_uint32(reader, &this->build);
+       reader->read_uint16(reader, &this->service_pack_major);
+       reader->read_uint16(reader, &this->service_pack_minor);
        reader->destroy(reader);
 
        return SUCCESS;
@@ -262,6 +262,8 @@ pa_tnc_attr_t *ietf_attr_numeric_version_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index cf32190..d9610b2 100644 (file)
@@ -293,6 +293,8 @@ pa_tnc_attr_t *ietf_attr_op_status_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index e2f6fc3..f92022f 100644 (file)
@@ -420,6 +420,8 @@ pa_tnc_attr_t *ietf_attr_pa_tnc_error_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 80b77f5..8b8da3a 100644 (file)
@@ -257,6 +257,8 @@ pa_tnc_attr_t *ietf_attr_port_filter_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 23aac51..115f001 100644 (file)
@@ -229,6 +229,8 @@ pa_tnc_attr_t *ietf_attr_product_info_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index fcb6d95..f3b4e83 100644 (file)
@@ -178,7 +178,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
        reader->read_uint24(reader, &this->parameters_type.vendor_id);
        reader->read_uint32(reader, &this->parameters_type.type);
        reader->read_data  (reader, reader->remaining(reader), &this->parameters);
-       
+
        this->parameters = chunk_clone(this->parameters);
        reader->destroy(reader);
 
@@ -341,6 +341,8 @@ pa_tnc_attr_t *ietf_attr_remediation_instr_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 964abeb..8f4129e 100644 (file)
@@ -281,6 +281,8 @@ pa_tnc_attr_t *ietf_attr_string_version_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 5869557..a1f1dd0 100644 (file)
@@ -168,6 +168,8 @@ pa_tnc_attr_t *ita_attr_command_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,
index 4fb60a7..6497d46 100644 (file)
@@ -165,6 +165,8 @@ pa_tnc_attr_t *ita_attr_dummy_create_from_data(chunk_t data)
                        .pa_tnc_attribute = {
                                .get_type = _get_type,
                                .get_value = _get_value,
+                               .get_noskip_flag = _get_noskip_flag,
+                               .set_noskip_flag = _set_noskip_flag,
                                .build = _build,
                                .process = _process,
                                .get_ref = _get_ref,