ud3tn/include/agents/sqlite_agent.h
Maximilian Nitsch 611b67fb0e refactor: cleanup includes
Removes unused includes detected by the clangd LSP.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-20 16:16:35 +02:00

29 lines
700 B
C

// SPDX-License-Identifier: AGPL-3.0-or-later
#ifndef SQLITE_AGENT_H_INCLUDED
#define SQLITE_AGENT_H_INCLUDED
#include "platform/posix/hal_types.h"
#include "ud3tn/bundle_processor.h"
// Default Agent IDs.
#ifndef AGENT_ID_SQLITE_DTN
#define AGENT_ID_SQLITE_DTN "sqlite"
#endif // AGENT_ID_SQLITE_DTN
#ifndef AGENT_ID_SQLITE_IPN
#define AGENT_ID_SQLITE_IPN "9003"
#endif // AGENT_ID_SQLITE_IPN
struct sqlite_agent_params {
char *sink_identifier;
agent_no_t registered_agent_no;
struct sqlite3 *db;
QueueIdentifier_t cla_queue;
};
enum ud3tn_result sqlite_agent_setup(
const struct bundle_agent_interface *const bai,
struct sqlite_agent_params *params
);
#endif // SQLITE_AGENT_H_INCLUDED