- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten - svcTabCommon: Export-Header-Fix via Fallback-Target - TrainingAreaBase: Stub-Header für BUILD_RTI=OFF - ddsfts: Include-Pfad und Dependency-Fixes - BUILD_RTI=OFF Compilation vollständig unterstützt Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
81 lines
1.7 KiB
C
81 lines
1.7 KiB
C
/*
|
|
(c) Copyright, Real-Time Innovations, 2020.
|
|
All rights reserved.
|
|
|
|
No duplications, whole or partial, manual or electronic, may be made
|
|
without express written permission. Any such copies, or
|
|
revisions thereof, must display this notice unaltered.
|
|
This code contains trade secrets of Real-Time Innovations, Inc.
|
|
=========================================================================*/
|
|
|
|
#ifndef rtijson_parser_h
|
|
#define rtijson_parser_h
|
|
|
|
|
|
|
|
#ifndef osapi_type_h
|
|
#include "osapi/osapi_type.h"
|
|
#endif
|
|
|
|
#ifndef rtijson_dll_h
|
|
#include "rtijson/rtijson_dll.h"
|
|
#endif
|
|
|
|
#ifndef json_object_h
|
|
#include "rtijson/rtijson_object.h"
|
|
#endif
|
|
|
|
#include "rtijson/json.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
struct RTIJSONParserImpl {
|
|
json_settings _settings;
|
|
};
|
|
|
|
|
|
typedef struct RTIJSONParserImpl RTIJSONParser;
|
|
|
|
|
|
#define RTIJSONParser_INITIALIZER {{0}}
|
|
|
|
extern RTIJSONDllExport
|
|
void RTIJSONParser_finalize(RTIJSONParser *self);
|
|
|
|
extern RTIJSONDllExport
|
|
RTIBool RTIJSONParser_initialize(RTIJSONParser *self);
|
|
|
|
extern RTIJSONDllExport
|
|
RTIJSONParser * RTIJSONParser_new(void);
|
|
|
|
extern RTIJSONDllExport
|
|
void RTIJSONParser_delete(RTIJSONParser *self);
|
|
|
|
extern RTIJSONDllExport
|
|
RTIBool RTIJSONParser_parse_w_params(
|
|
RTIJSONParser *self,
|
|
RTIJSONObject *root,
|
|
const char *json,
|
|
size_t json_length);
|
|
|
|
extern RTIJSONDllExport
|
|
RTIJSONObject * RTIJSONParser_parse(
|
|
RTIJSONParser *self,
|
|
const char *json,
|
|
size_t json_length);
|
|
|
|
extern RTIJSONDllExport
|
|
RTIJSONObject * RTIJSONParser_parse_ex(
|
|
const char *json,
|
|
size_t json_length);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* rtijson_parser_h */
|