- spi_t replaced with u_int64_t

This commit is contained in:
Jan Hutter
2005-11-16 16:50:13 +00:00
parent a5e8260abf
commit 91443667d5
14 changed files with 145 additions and 40 deletions
+4
View File
@@ -59,6 +59,10 @@ static job_type_t get_type(private_incoming_packet_job_t *this)
*/
static status_t get_packet(private_incoming_packet_job_t *this,packet_t **packet)
{
if (this->packet == NULL)
{
return FAILED;
}
*packet = this->packet;
return SUCCESS;
}
+4 -2
View File
@@ -42,11 +42,13 @@ struct incoming_packet_job_s {
/**
* @brief Returns the assigned packet_t object
*
* @warning Returned packet is not cloned and has to get destroyed by the caller
* @warning Returned packet is not cloned and has to get destroyed by the caller.
*
* @param this calling incoming_packet_job_t object
* @param[out] packet assigned packet will be written into this location
* @return SUCCESS
* @return
* - SUCCESS
* - FAILED if no packet is assigned
*/
status_t (*get_packet) (incoming_packet_job_t *this, packet_t **packet);