#include <stdbool.h>
#include <time.h>
#include "message.h"
Go to the source code of this file.
|
| struct | transaction |
| | Represent a transaction: a request following by a response message. More...
|
| |
| #define TIMEOUT_SECONDS 5 |
Start a transaction.
- Parameters
-
| transaction | The transaction to start. |
| request | The corresponding request message. |
| bool transaction_timeout |
( |
const struct transaction * |
transaction | ) |
|
Check if a transaction timeout.
- Parameters
-
| transaction | The transaction. |
- Returns
- Timeout: true. Not tiemout: false.