summaryrefslogtreecommitdiff
path: root/cesar/mac/common/store.h
diff options
context:
space:
mode:
authorNicolas Schodet2012-08-27 13:08:04 +0200
committerNicolas Schodet2012-08-27 13:08:04 +0200
commit45494a752e1d2281a1dc136ae4890128817d8cd0 (patch)
tree0cc89f1a69e7a5c340906da597460b317ad721b0 /cesar/mac/common/store.h
parent6a4e75cafcb754f8bd11fa8be5d69ab028ce014c (diff)
parent5c37d533c836ce90df9c67b546947fe2200baa2b (diff)
Merge branch 'qos'
Diffstat (limited to 'cesar/mac/common/store.h')
-rw-r--r--cesar/mac/common/store.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/cesar/mac/common/store.h b/cesar/mac/common/store.h
index 446795d544..f9debc70cc 100644
--- a/cesar/mac/common/store.h
+++ b/cesar/mac/common/store.h
@@ -269,6 +269,37 @@ mac_store_mfs_travel_by_tei (mac_store_t *ctx, uint tei,
mac_store_travel_t travel, void *user);
/**
+ * Call the provided callback for all MFS, with DSR locked.
+ * \param ctx store context
+ * \param travel callback function
+ * \param user user data
+ * \context DSR
+ *
+ * \see mac_store_mfs_travel.
+ *
+ * DSR should be locked to call this function.
+ */
+void
+mac_store_mfs_travel_locked (mac_store_t *ctx, mac_store_travel_t travel,
+ void *user);
+
+/**
+ * Call the provided callback for all MFS connected to a STA, with DSR locked.
+ * \param ctx store context
+ * \param tei terminal equipment id of the STA
+ * \param travel callback function
+ * \param user user data
+ * \context DSR
+ *
+ * \see mac_store_mfs_travel_by_tei.
+ *
+ * DSR should be locked to call this function.
+ */
+void
+mac_store_mfs_travel_by_tei_locked (mac_store_t *ctx, uint tei,
+ mac_store_travel_t travel, void *user);
+
+/**
* Get a STA information structure pointer.
* \param ctx store context
* \param tei peer terminal equipment id