summaryrefslogtreecommitdiff
path: root/cesar/mac/sar/inc/sar_pb.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/sar/inc/sar_pb.h')
-rw-r--r--cesar/mac/sar/inc/sar_pb.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/cesar/mac/sar/inc/sar_pb.h b/cesar/mac/sar/inc/sar_pb.h
new file mode 100644
index 0000000000..226ec90bae
--- /dev/null
+++ b/cesar/mac/sar/inc/sar_pb.h
@@ -0,0 +1,36 @@
+#ifndef SAR_PB_H_
+#define SAR_PB_H_
+
+/* Cesar project {{{
+ *
+ * Copyright (C) 2007 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file sar_pb.h
+ * \brief common function to process pbs
+ * \ingroup mac/sar/inc
+ *
+ */
+
+#include "mac/pbproc/pbproc.h"
+
+/**
+ * Free a pb of a chain and return the next PB of the PB given in parameter
+ *
+ * \param pb The PB to free
+ * \return The next PB of the freed PB.
+ */
+pb_t *pb_free (pb_t *);
+
+/**
+ * Free a range of pb
+ *
+ * \param pb The PB to free
+ * \return The next PB of the freed PB.
+ */
+void pb_free_range (pb_t *pb);
+
+#endif /*SAR_PB_H_*/