#ifndef SAR_PB_H_ #define SAR_PB_H_ /* Cesar project {{{ * * Copyright (C) 2007 Spidcom * * <<>> * * }}} */ /** * \file mac/sar/inc/sar_pb.h * \brief common function to process pbs * \ingroup mac_sar */ #include "mac/pbproc/pbproc.h" /** * Release the PB and return the next one. * \param pb the PB to release. * \return the next PB. */ extern inline pb_t * sar_pb_release (pb_t * pb) { pb_t *next; dbg_assert (pb); next = pb->next; blk_release_desc ((blk_t *) pb); return next; } #endif /*SAR_PB_H_*/