libptpmgmt 2.0
libptpmgmt library that provides the functionality of linuxptp pmc
Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: LGPL-3.0-or-later
2 SPDX-FileCopyrightText: Copyright © 2023 Erez Geva <ErezGeva2@gmail.com> */
3
12#ifndef __PTPMGMT_C_INIT_H
13#define __PTPMGMT_C_INIT_H
14
15#include "c/opt.h"
16#include "c/sock.h"
17#include "c/msg.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
25
27typedef const struct ptpmgmt_init_t *const_ptpmgmt_init;
28
112
118
119#ifdef __cplusplus
120}
121#endif
122
123#endif /* __PTPMGMT_C_INIT_H */
struct ptpmgmt_cfg_t * ptpmgmt_cfg
Definition cfg.h:23
struct ptpmgmt_safile_t * ptpmgmt_safile
Definition cfg.h:35
const struct ptpmgmt_init_t * const_ptpmgmt_init
Definition init.h:27
struct ptpmgmt_init_t * ptpmgmt_init
Definition init.h:24
ptpmgmt_init ptpmgmt_init_alloc()
Create and parse PTP management messages.
struct ptpmgmt_msg_t * ptpmgmt_msg
Definition msg.h:26
C interface to command line options parsing class.
C interface to sockets classes.
struct ptpmgmt_sk_t * ptpmgmt_sk
Definition sock.h:31
Definition cfg.h:44
Definition init.h:33
void(* close)(ptpmgmt_init i)
Definition init.h:51
ptpmgmt_safile(* sa)(ptpmgmt_init i)
Definition init.h:71
uint8_t(* allow_unauth)(const_ptpmgmt_init i)
Definition init.h:110
char(* getNetSelect)(const_ptpmgmt_init i)
Definition init.h:96
ptpmgmt_msg(* msg)(ptpmgmt_init i)
Definition init.h:77
ptpmgmt_sk(* sk)(ptpmgmt_init i)
Definition init.h:84
bool(* use_uds)(const_ptpmgmt_init i)
Definition init.h:103
void(* free)(ptpmgmt_init i)
Definition init.h:46
int(* process)(ptpmgmt_init i, const_ptpmgmt_opt opt)
Definition init.h:59
ptpmgmt_cfg(* cfg)(ptpmgmt_init i)
Definition init.h:65
Definition msg.h:47
Definition opt.h:50
Definition cfg.h:295
Definition sock.h:40