- added new job type retransmit_request_job_t

- fixed memory leaks
This commit is contained in:
Jan Hutter
2005-12-02 13:20:20 +00:00
parent f2d4a4475a
commit 5534ee8476
13 changed files with 439 additions and 138 deletions
+9
View File
@@ -630,6 +630,14 @@ static status_t generate(private_message_t *this, crypter_t *crypter, signer_t*
return SUCCESS;
}
/**
* Implementation of message_t.get_packet.
*/
static packet_t *get_packet (private_message_t *this)
{
return this->packet->clone(this->packet);
}
/**
* Implementation of message_t.parse_header.
*/
@@ -1154,6 +1162,7 @@ message_t *message_create_from_packet(packet_t *packet)
this->public.parse_header = (status_t (*) (message_t *)) parse_header;
this->public.parse_body = (status_t (*) (message_t *,crypter_t*,signer_t*)) parse_body;
this->public.verify = (status_t (*) (message_t*)) verify;
this->public.get_packet = (packet_t * (*) (message_t*)) get_packet;
this->public.destroy = (void(*)(message_t*))destroy;
/* private values */