Helps to run query, store, delete or print commands. These share a lot of functionality but differ in crucial parts. To keep this organized the runner keeps some shared state.
More...
#include "olaf_config.h"
#include "olaf_db.h"
#include "pffft.h"
Go to the source code of this file.
|
| struct | Olaf_Runner |
| | Helps to run query, store, delete or print commands. These share a lot of functionality but differ in crucial parts. To keep this organized the runner keeps some shared state. More...
|
|
|
#define | OLAF_RUNNER_MODE_QUERY 233 |
| | Runner mode for querying the database.
|
|
#define | OLAF_RUNNER_MODE_STORE 434 |
| | Runner mode for storing fingerprints in the database.
|
|
#define | OLAF_RUNNER_MODE_DELETE 653 |
| | Runner mode for deleting fingerprints from the database.
|
|
#define | OLAF_RUNNER_MODE_PRINT 9043 |
| | Runner mode for printing fingerprints.
|
|
#define | OLAF_RUNNER_MODE_CACHE 2342 |
| | Runner mode for caching fingerprints.
|
|
|
typedef struct Olaf_Runner | Olaf_Runner |
| | Typedef for struct Olaf_Runner.
|
Helps to run query, store, delete or print commands. These share a lot of functionality but differ in crucial parts. To keep this organized the runner keeps some shared state.
◆ olaf_runner_destroy()
Delete the resources related to the runner.
- Parameters
-
| runner | The runner state to clear. |
◆ olaf_runner_new()
Create a new runner.
- Parameters
-
| [in] | mode | The mode |
| [in] | config | The configuration |
| [in] | fp_cache_file | The output cache file |
| [in] | fp_meta_file | The output meta data file |
- Returns
- A new runner struct state of the runner