Electroneum
Loading...
Searching...
No Matches
levin_helper.h File Reference
#include "levin_base.h"
#include "serializeble_struct_helper.h"
#include "int-util.h"
Include dependency graph for levin_helper.h:

Go to the source code of this file.

Namespaces

namespace  epee
namespace  epee::levin

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "net"

Functions

template<class t_struct>
bool epee::levin::pack_struct_to_levin_message (const t_struct &t, std::string &buff, int command_id)
bool epee::levin::pack_data_to_levin_message (const std::string &data, std::string &buff, int command_id)
bool epee::levin::load_levin_data_from_levin_message (std::string &levin_data, const std::string &buff, int &command)
template<class t_struct>
bool epee::levin::load_struct_from_levin_message (t_struct &t, const std::string &buff, int &command)

Macro Definition Documentation

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "net"

Definition at line 36 of file levin_helper.h.