diff options
Diffstat (limited to 'Source/charon/encoding/message.c')
-rw-r--r-- | Source/charon/encoding/message.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/charon/encoding/message.c b/Source/charon/encoding/message.c index 4ec78050e..27fd7f5d5 100644 --- a/Source/charon/encoding/message.c +++ b/Source/charon/encoding/message.c @@ -445,7 +445,7 @@ static status_t get_destination(private_message_t *this, host_t **host) } -static status_t get_payload_iterator(private_message_t *this, linked_list_iterator_t **iterator) +static status_t get_payload_iterator(private_message_t *this, iterator_t **iterator) { return this->payloads->create_iterator(this->payloads, iterator, TRUE); } @@ -460,7 +460,7 @@ static status_t generate(private_message_t *this, packet_t **packet) generator_t *generator; ike_header_t *ike_header; payload_t *payload, *next_payload; - linked_list_iterator_t *iterator; + iterator_t *iterator; status_t status; @@ -692,7 +692,7 @@ static status_t parse_body (private_message_t *this) } else { - linked_list_iterator_t *iterator; + iterator_t *iterator; status = this->payloads->create_iterator(this->payloads,&iterator,TRUE); if (status != SUCCESS) @@ -756,7 +756,7 @@ static status_t parse_body (private_message_t *this) */ static status_t destroy (private_message_t *this) { - linked_list_iterator_t *iterator; + iterator_t *iterator; this->packet->destroy(this->packet); @@ -814,7 +814,7 @@ message_t *message_create_from_packet(packet_t *packet) this->public.get_source = (status_t (*) (message_t*,host_t**)) get_source; this->public.set_destination = (status_t (*) (message_t*,host_t*)) set_destination; this->public.get_destination = (status_t (*) (message_t*,host_t**)) get_destination; - this->public.get_payload_iterator = (status_t (*) (message_t *, linked_list_iterator_t **)) get_payload_iterator; + this->public.get_payload_iterator = (status_t (*) (message_t *, iterator_t **)) get_payload_iterator; this->public.parse_header = (status_t (*) (message_t *)) parse_header; this->public.parse_body = (status_t (*) (message_t *)) parse_body; this->public.destroy = (status_t(*)(message_t*))destroy; |