12#ifndef __PTPMGMT_C_JSON_H
13#define __PTPMGMT_C_JSON_H
59 const void *tlv,
int indent);
ptpmgmt_json ptpmgmt_json_alloc()
struct ptpmgmt_json_str_t * ptpmgmt_json_str
Definition json.h:26
struct ptpmgmt_json_t * ptpmgmt_json
Definition json.h:22
const struct ptpmgmt_json_t * const_ptpmgmt_json
Definition json.h:24
ptpmgmt_json_str ptpmgmt_json_tlv2json(enum ptpmgmt_mng_vals_e managementId, const void *tlv, int indent)
ptpmgmt_json_str ptpmgmt_json_msg2json(const_ptpmgmt_msg message, int indent)
ptpmgmt_mng_vals_e
Management TLVs ID.
Definition mngIds.h:28
Create and parse PTP management messages.
ptpmgmt_actionField_e
Definition types.h:199
const char * json_string
Definition json.h:35
void(* free)(ptpmgmt_json_str obj)
Definition json.h:40
bool(* setAction)(const_ptpmgmt_json j, ptpmgmt_msg message)
Definition json.h:217
bool(* haveDomainNumber)(const_ptpmgmt_json j)
Definition json.h:139
bool(* havePTPProfileSpecific)(const_ptpmgmt_json j)
Definition json.h:127
uint8_t(* versionPTP)(const_ptpmgmt_json j)
Definition json.h:145
uint32_t(* sdoId)(const_ptpmgmt_json j)
Definition json.h:181
uint8_t(* domainNumber)(const_ptpmgmt_json j)
Definition json.h:133
enum ptpmgmt_actionField_e(* actionField)(const_ptpmgmt_json j)
Definition json.h:103
bool(* isUnicast)(const_ptpmgmt_json j)
Definition json.h:109
bool(* haveSequenceId)(const_ptpmgmt_json j)
Definition json.h:175
enum ptpmgmt_mng_vals_e(* managementId)(const_ptpmgmt_json j)
Definition json.h:90
bool(* fromJson)(ptpmgmt_json j, const char *json)
Definition json.h:84
void(* free)(ptpmgmt_json j)
Definition json.h:78
bool(* haveSrcPort)(const_ptpmgmt_json j)
Definition json.h:199
bool(* haveMinorVersionPTP)(const_ptpmgmt_json j)
Definition json.h:163
bool(* haveIsUnicast)(const_ptpmgmt_json j)
Definition json.h:115
bool(* haveSdoId)(const_ptpmgmt_json j)
Definition json.h:187
uint8_t(* PTPProfileSpecific)(const_ptpmgmt_json j)
Definition json.h:121
bool(* haveDstPort)(const_ptpmgmt_json j)
Definition json.h:211
bool(* haveVersionPTP)(const_ptpmgmt_json j)
Definition json.h:151
uint8_t(* minorVersionPTP)(const_ptpmgmt_json j)
Definition json.h:157
uint16_t(* sequenceId)(const_ptpmgmt_json j)
Definition json.h:169