ud3tn/include/agents/application_agent.h
Felix Walter 3cd89eb6a5 bundle, agents: Switch time unit to milliseconds
...to align with the general decision to make DTN timestamps
millisecond-based.

See: #53

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-11 16:59:13 +02:00

19 lines
544 B
C

// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
#ifndef APPLICATIONAGENT_H_INCLUDED
#define APPLICATIONAGENT_H_INCLUDED
#include "ud3tn/bundle_processor.h"
#include <stdint.h>
#define APPLICATION_AGENT_TASK_PRIORITY 2
#define APPLICATION_AGENT_BACKLOG 2
struct application_agent_config *application_agent_setup(
const struct bundle_agent_interface *bundle_agent_interface,
const char *socket_path,
const char *node, const char *service,
const uint8_t bp_version, uint64_t lifetime_ms);
#endif /* APPLICATIONAGENT_H_INCLUDED */