- spi_t replaced with u_int64_t
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user