summaryrefslogtreecommitdiffstats
path: root/sesman/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/lock.h')
-rw-r--r--sesman/lock.h32
1 files changed, 12 insertions, 20 deletions
diff --git a/sesman/lock.h b/sesman/lock.h
index 5ea5e7f4..d320ff83 100644
--- a/sesman/lock.h
+++ b/sesman/lock.h
@@ -27,47 +27,39 @@
* @brief initializes all the locks
*
*/
-void DEFAULT_CC
+void APP_CC
lock_init(void);
/**
*
- * @brief acquires the lock for the session chain
+ * @brief cleanup all the locks
*
*/
-void DEFAULT_CC
-lock_chain_acquire(void);
-
-/**
- *
- * @brief releases the sessiona chain lock
- *
- */
-void DEFAULT_CC
-lock_chain_release(void);
+void APP_CC
+lock_deinit(void);
/**
*
- * @brief acquires config lock
+ * @brief acquires the lock for the session chain
*
*/
-void DEFAULT_CC
-lock_cfg_acquire(void);
+void APP_CC
+lock_chain_acquire(void);
/**
*
- * @brief releases config lock
+ * @brief releases the session chain lock
*
*/
-void DEFAULT_CC
-lock_cfg_release(void);
+void APP_CC
+lock_chain_release(void);
/**
*
* @brief request the socket lock
*
*/
-void DEFAULT_CC
+void APP_CC
lock_socket_acquire(void);
/**
@@ -75,7 +67,7 @@ lock_socket_acquire(void);
* @brief releases the socket lock
*
*/
-void DEFAULT_CC
+void APP_CC
lock_socket_release(void);
/**