12 #ifndef __PTPMGMT_INIT_H
13 #define __PTPMGMT_INIT_H
20 __PTPMGMT_NAMESPACE_BEGIN
32 std::unique_ptr<SockBase> m_sk;
33 char m_net_select = 0;
34 bool m_use_uds =
false;
35 uint8_t m_allow_unauth = 0;
90 bool use_uds()
const {
return m_use_uds; }
101 __PTPMGMT_DEPRECATED_DEC(
int proccess(
const Options &opt));
105 __PTPMGMT_NAMESPACE_END
C interface to initialize a pmc application class.
Create and parse PTP management messages.
C interface to command line options parsing class.
C interface to sockets classes.
Hold configuration parameters.
Definition: cfg.h:89
uint8_t allow_unauth() const
Definition: init.h:96
int process(const Options &opt)
const ConfigFile & cfg() const
Definition: init.h:55
const SaFile & sa() const
Definition: init.h:61
bool use_uds() const
Definition: init.h:90
char getNetSelect()
Definition: init.h:84
SockBase * sk()
Definition: init.h:74
Message & msg()
Definition: init.h:67
Handle PTP management message.
Definition: msg.h:58
Hold and process options.
Definition: opt.h:47
authentication security association file
Definition: cfg.h:315
Base class for all sockets.
Definition: sock.h:44