#ifndef _STELLAR_PRIV_H
#define _STELLAR_PRIV_H

#ifdef __cplusplus
extern "C"
{
#endif

#include "stellar/stellar.h"

#define STELLAR_LOG_STATE(format, ...) LOG_STATE("stellar", format, ##__VA_ARGS__)
#define STELLAR_LOG_ERROR(format, ...) LOG_ERROR("stellar", format, ##__VA_ARGS__)
#define STELLAR_LOG_DEBUG(format, ...) LOG_DEBUG("stellar", format, ##__VA_ARGS__)

struct packet_io *stellar_get_packet_io(const struct stellar *st);
struct session_manager *stellar_get_session_manager(const struct stellar *st);
struct plugin_manager_schema *stellar_get_plugin_manager(const struct stellar *st);
void stellar_set_plugin_manger(struct stellar *st, struct plugin_manager_schema *plug_mgr);

#ifdef __cplusplus
}
#endif

#endif
