ud3tn/include/agents/echo_agent.h
Felix Walter 26e91ad69e Remove config.h: Move all definitions to individual headers
This moves all definitions from config.h to individual header files and
makes them configurable (i.e., does not define when already defined).

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-09-29 14:43:21 +02:00

20 lines
479 B
C

// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
#ifndef ECHO_AGENT_H_
#define ECHO_AGENT_H_
#include "ud3tn/bundle_processor.h"
#include <stdint.h>
// Default Agent IDs.
#ifndef AGENT_ID_ECHO_DTN
#define AGENT_ID_ECHO_DTN "echo"
#endif // AGENT_ID_ECHO_DTN
#ifndef AGENT_ID_ECHO_IPN
#define AGENT_ID_ECHO_IPN "9002"
#endif // AGENT_ID_ECHO_IPN
int echo_agent_setup(struct bundle_agent_interface *const bai,
const uint64_t lifetime_ms);
#endif // ECHO_AGENT_H_