#include "../include/pam_netns.h"
Detailed Description
State control utilities.
- Author:
- Wilhelm Meier
-
Julian Thome
- Date:
- 2010-08-25
Implementation of state control utilities.
- Author:
- Wilhelm Meier
-
Julian Thome
- Date:
- 2010-08-25
Function Documentation
Set state.
This function is called to set a state.
- Parameters:
-
| mod_shm | Pointer to shm structure |
| state | State |
- Return values:
-
| 0 | State reached |
| <0 | Something went wrong |
Wait for a state.
This function blocks until the specified state is reached.
- Parameters:
-
| mod_shm | Pointer to shm structure |
| state | State |
- Return values:
-
| 0 | State reached |
| <0 | Something went wrong |
Wait for a state (infinite).
This function blocks until the specified state is reached.
- Parameters:
-
| mod_shm | Pointer to shm structure |
| state | State |
- Return values:
-
| 0 | State reached |
| <0 | Something went wrong |
Variable Documentation