12 #ifndef __PTPMGMT_C_JSON_H
13 #define __PTPMGMT_C_JSON_H
41 const void *tlv,
int indent);
79 const char *(*loadLibrary)();
ptpmgmt_json ptpmgmt_json_alloc()
bool ptpmgmt_json_selectLib(const char *libName)
struct ptpmgmt_json_t * ptpmgmt_json
Definition: json.h:18
bool ptpmgmt_json_isLibShared()
const struct ptpmgmt_json_t * const_ptpmgmt_json
Definition: json.h:21
char * ptpmgmt_json_tlv2json(enum ptpmgmt_mng_vals_e managementId, const void *tlv, int indent)
const char * ptpmgmt_json_loadLibrary()
char * ptpmgmt_json_msg2json(const_ptpmgmt_msg message, int indent)
ptpmgmt_mng_vals_e
Management TLVs ID.
Definition: mngIds.h:24
Create and parse PTP management messages.
ptpmgmt_actionField_e
Definition: types.h:195
bool(* setAction)(const_ptpmgmt_json j, ptpmgmt_msg message)
Definition: json.h:233
bool(* haveDomainNumber)(const_ptpmgmt_json j)
Definition: json.h:155
bool(* havePTPProfileSpecific)(const_ptpmgmt_json j)
Definition: json.h:143
uint8_t(* versionPTP)(const_ptpmgmt_json j)
Definition: json.h:161
bool(* selectLib)(const char *libName)
Definition: json.h:72
uint32_t(* sdoId)(const_ptpmgmt_json j)
Definition: json.h:197
uint8_t(* domainNumber)(const_ptpmgmt_json j)
Definition: json.h:149
enum ptpmgmt_actionField_e(* actionField)(const_ptpmgmt_json j)
Definition: json.h:119
bool(* isUnicast)(const_ptpmgmt_json j)
Definition: json.h:125
bool(* isLibShared)()
Definition: json.h:84
bool(* haveSequenceId)(const_ptpmgmt_json j)
Definition: json.h:191
enum ptpmgmt_mng_vals_e(* managementId)(const_ptpmgmt_json j)
Definition: json.h:106
bool(* fromJson)(ptpmgmt_json j, const char *json)
Definition: json.h:90
void(* free)(ptpmgmt_json j)
Definition: json.h:60
bool(* haveSrcPort)(const_ptpmgmt_json j)
Definition: json.h:215
bool(* haveMinorVersionPTP)(const_ptpmgmt_json j)
Definition: json.h:179
bool(* haveIsUnicast)(const_ptpmgmt_json j)
Definition: json.h:131
bool(* haveSdoId)(const_ptpmgmt_json j)
Definition: json.h:203
uint8_t(* PTPProfileSpecific)(const_ptpmgmt_json j)
Definition: json.h:137
bool(* haveDstPort)(const_ptpmgmt_json j)
Definition: json.h:227
bool(* haveVersionPTP)(const_ptpmgmt_json j)
Definition: json.h:167
bool(* fromJsonObj)(ptpmgmt_json j, const void *jobj)
Definition: json.h:100
uint8_t(* minorVersionPTP)(const_ptpmgmt_json j)
Definition: json.h:173
uint16_t(* sequenceId)(const_ptpmgmt_json j)
Definition: json.h:185