diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-24 14:22:29 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-24 14:22:29 +0000 |
commit | bdb141cb4b7bffcdd6358b0fd4606d146816261a (patch) | |
tree | f199e7afa93f1c146af5aa59a59b285609e68d39 /Source/charon/encoding/generator.c | |
parent | 49a72ce3943adcf87a080a734adcdecb8efca5ed (diff) | |
download | strongswan-bdb141cb4b7bffcdd6358b0fd4606d146816261a.tar.bz2 strongswan-bdb141cb4b7bffcdd6358b0fd4606d146816261a.tar.xz |
- moved linked_list_iterator_t to iterator_t, located in iterator.h
Diffstat (limited to 'Source/charon/encoding/generator.c')
-rw-r--r-- | Source/charon/encoding/generator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/charon/encoding/generator.c b/Source/charon/encoding/generator.c index 0d047c277..5ba7ee14f 100644 --- a/Source/charon/encoding/generator.c +++ b/Source/charon/encoding/generator.c @@ -870,7 +870,7 @@ static status_t generate_payload (private_generator_t *this,payload_t *payload) /* proposals are stored in a linked list and so accessed */ linked_list_t *proposals = *((linked_list_t **)(this->data_struct + rules[i].offset)); - linked_list_iterator_t *iterator; + iterator_t *iterator; /* create forward iterator */ status = proposals->create_iterator(proposals,&iterator,TRUE); if (status != SUCCESS) @@ -922,7 +922,7 @@ static status_t generate_payload (private_generator_t *this,payload_t *payload) u_int16_t length_of_proposal = PROPOSAL_SUBSTRUCTURE_HEADER_LENGTH + this->last_spi_size; u_int16_t int16_val; linked_list_t *transforms = *((linked_list_t **)(this->data_struct + rules[i].offset)); - linked_list_iterator_t *iterator; + iterator_t *iterator; /* create forward iterator */ status = transforms->create_iterator(transforms,&iterator,TRUE); @@ -972,7 +972,7 @@ static status_t generate_payload (private_generator_t *this,payload_t *payload) u_int16_t int16_val; linked_list_t *transform_attributes =*((linked_list_t **)(this->data_struct + rules[i].offset)); - linked_list_iterator_t *iterator; + iterator_t *iterator; /* create forward iterator */ status = transform_attributes->create_iterator(transform_attributes,&iterator,TRUE); if (status != SUCCESS) |