Compare commits
2 Commits
disallow-c
...
json-c-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bae2f10c43 | ||
|
|
4824a38318 |
@@ -23,8 +23,6 @@ AllowShortFunctionsOnASingleLine: Empty
|
|||||||
BreakBeforeBraces: Custom
|
BreakBeforeBraces: Custom
|
||||||
# Control of individual brace wrapping cases.
|
# Control of individual brace wrapping cases.
|
||||||
BraceWrapping:
|
BraceWrapping:
|
||||||
# Wrap brackets inside of a case
|
|
||||||
AfterCaseLabel: true
|
|
||||||
# Wrap class definition.
|
# Wrap class definition.
|
||||||
AfterClass: true
|
AfterClass: true
|
||||||
# Wrap control statements
|
# Wrap control statements
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# EditorConfig
|
# EditorConfig
|
||||||
# https://EditorConfig.org
|
# http://EditorConfig.org
|
||||||
|
|
||||||
# top-most EditorConfig file
|
# top-most EditorConfig file
|
||||||
root = true
|
root = true
|
||||||
|
|||||||
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,23 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Note: for general questions and comments, please use the forums at:
|
|
||||||
https://groups.google.com/g/json-c
|
|
||||||
|
|
||||||
**Describe the bug**
|
|
||||||
A clear and concise description of what the bug is, and any information about where you're running into the bug that you feel might be relevant.
|
|
||||||
|
|
||||||
**Steps To Reproduce**
|
|
||||||
List the steps to reproduce the behavior.
|
|
||||||
If possible, please attach a sample json file and/or a minimal code example.
|
|
||||||
|
|
||||||
**Version and Platform**
|
|
||||||
- json-c version: [e.g. json-c-0.14, or a specific commit hash]
|
|
||||||
- OS: [e.g. Ubuntu 20.04, Debian Buster, NetBSD 9, etc...]
|
|
||||||
- Custom cmake/build flags, if any
|
|
||||||
8
.gitignore
vendored
@@ -27,7 +27,6 @@
|
|||||||
/tests/test_double_serializer
|
/tests/test_double_serializer
|
||||||
/tests/test_float
|
/tests/test_float
|
||||||
/tests/test_int_add
|
/tests/test_int_add
|
||||||
/tests/test_int_get
|
|
||||||
/tests/test_json_pointer
|
/tests/test_json_pointer
|
||||||
/tests/test_locale
|
/tests/test_locale
|
||||||
/tests/test_null
|
/tests/test_null
|
||||||
@@ -71,7 +70,6 @@
|
|||||||
# It's not good practice to build directly in the source tree
|
# It's not good practice to build directly in the source tree
|
||||||
# but ignore cmake auto-generated files anyway:
|
# but ignore cmake auto-generated files anyway:
|
||||||
/json_config.h
|
/json_config.h
|
||||||
/json.h
|
|
||||||
/config.h
|
/config.h
|
||||||
/json-c.pc
|
/json-c.pc
|
||||||
/Makefile
|
/Makefile
|
||||||
@@ -85,11 +83,7 @@
|
|||||||
/Testing/
|
/Testing/
|
||||||
|
|
||||||
# ...and build artifacts.
|
# ...and build artifacts.
|
||||||
/doc/html
|
/doc
|
||||||
/libjson-c.a
|
/libjson-c.a
|
||||||
/libjson-c.so
|
/libjson-c.so
|
||||||
/libjson-c.so.*
|
/libjson-c.so.*
|
||||||
|
|
||||||
# Benchmarking input and output
|
|
||||||
/bench/data
|
|
||||||
/bench/work
|
|
||||||
|
|||||||
58
.travis.yml
@@ -1,8 +1,8 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
# gcc
|
||||||
# ubuntu xenial 16.04
|
# xenial
|
||||||
# gcc 5 is the default on xenial
|
# gcc 5 is the default on xenial
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
@@ -15,37 +15,35 @@ matrix:
|
|||||||
- doxygen
|
- doxygen
|
||||||
- cmake
|
- cmake
|
||||||
env: CHECK="true"
|
env: CHECK="true"
|
||||||
|
# bionic
|
||||||
# ubuntu bionic 18.04
|
|
||||||
# gcc 7 is the default on bionic
|
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
addons:
|
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- valgrind
|
|
||||||
- cppcheck
|
|
||||||
- doxygen
|
|
||||||
- cmake
|
|
||||||
env: CHECK="true"
|
|
||||||
|
|
||||||
# ubuntu focal fossa 20.04
|
# gcc 7 is the default on bionic
|
||||||
# gcc 9 is the default on bionic
|
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: focal
|
dist: bionic
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- valgrind
|
|
||||||
- cppcheck
|
|
||||||
- doxygen
|
|
||||||
- cmake
|
|
||||||
env: CHECK="true"
|
env: CHECK="true"
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
compiler: gcc
|
||||||
|
env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
||||||
|
|
||||||
# clang
|
# clang
|
||||||
# xenial
|
# xenial
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
compiler: clang
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- llvm-toolchain-xenial-5.0
|
||||||
|
packages:
|
||||||
|
- clang-5.0
|
||||||
|
- cmake
|
||||||
|
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
compiler: clang
|
compiler: clang
|
||||||
@@ -58,9 +56,9 @@ matrix:
|
|||||||
- cmake
|
- cmake
|
||||||
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
|
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
|
||||||
|
|
||||||
# clang-7 is the default on focal, xenial and bionic
|
# clang-7 is the default on xenial and bionic
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: focal
|
dist: xenial
|
||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@@ -71,9 +69,17 @@ matrix:
|
|||||||
- cmake
|
- cmake
|
||||||
env: CHECK="true"
|
env: CHECK="true"
|
||||||
|
|
||||||
|
# bionic
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
compiler: clang
|
||||||
|
env: CHECK="true"
|
||||||
# osx
|
# osx
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode13.4
|
osx_image: xcode9.4
|
||||||
|
env: XCODE="true"
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode10.1
|
||||||
env: XCODE="true" CHECK="true"
|
env: XCODE="true" CHECK="true"
|
||||||
|
|
||||||
# run coveralls
|
# run coveralls
|
||||||
|
|||||||
41
AUTHORS
@@ -1,71 +1,30 @@
|
|||||||
Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
||||||
Alexander Dahl <post@lespocky.de>
|
Alexander Dahl <post@lespocky.de>
|
||||||
Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
||||||
An7ar35 <eadavison@protonmail.com>
|
|
||||||
andy5995 <andy400-dev@yahoo.com>
|
andy5995 <andy400-dev@yahoo.com>
|
||||||
Aram Poghosyan <Aram.Poghosyan@teamviewer.com>
|
|
||||||
Björn Esser <besser82@fedoraproject.org>
|
Björn Esser <besser82@fedoraproject.org>
|
||||||
BonsaY <bonsay@posteo.de>
|
|
||||||
changyong guo <guo1487@163.com>
|
changyong guo <guo1487@163.com>
|
||||||
chenguoping <chenguopingdota@163.com>
|
chenguoping <chenguopingdota@163.com>
|
||||||
Chris Lamb <lamby@debian.org>
|
|
||||||
Christopher Head <chead@chead.ca>
|
Christopher Head <chead@chead.ca>
|
||||||
Chris Wolfe <chriswwolfe@gmail.com>
|
Chris Wolfe <chriswwolfe@gmail.com>
|
||||||
C. Watford (christopher.watford@gmail.com)
|
C. Watford (christopher.watford@gmail.com)
|
||||||
Daniel Danzberger <daniel@dd-wrt.com>
|
|
||||||
Darjan Krijan <darjan_krijan@gmx.de>
|
Darjan Krijan <darjan_krijan@gmx.de>
|
||||||
David McCann <mccannd@uk.ibm.com>
|
|
||||||
DeX77 <dex@dragonslave.de>
|
|
||||||
Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
|
|
||||||
dota17 <chenguopingdota@163.com>
|
|
||||||
Eric Haszlakiewicz <erh+git@nimenees.com>
|
|
||||||
Eric Hawicz <erh+git@nimenees.com>
|
Eric Hawicz <erh+git@nimenees.com>
|
||||||
Even Rouault <even.rouault@spatialys.com>
|
|
||||||
Federico Francescon <federico.francescon@higeco.com>
|
|
||||||
Gianluigi Tiesi <sherpya@netfarm.it>
|
|
||||||
grdowns <grdowns@microsoft.com>
|
grdowns <grdowns@microsoft.com>
|
||||||
Hex052 <elijahiff@gmail.com>
|
|
||||||
hofnarr <hofnarr@hofnarr.fi>
|
|
||||||
ihsinme <61293369+ihsinme@users.noreply.github.com>
|
|
||||||
Ivan Romanov <drizt@land.ru>
|
Ivan Romanov <drizt@land.ru>
|
||||||
Jaap Keuter <jaap.keuter@xs4all.nl>
|
Jaap Keuter <jaap.keuter@xs4all.nl>
|
||||||
Jakov Smolic <jakov.smolic@sartura.hr>
|
|
||||||
janczer <menshikov.ivn@gmail.com>
|
janczer <menshikov.ivn@gmail.com>
|
||||||
JC (Jonathan Chen) <jc@dijonkitchen.org>
|
|
||||||
Jehan <jehan@girinstud.io>
|
Jehan <jehan@girinstud.io>
|
||||||
Jehiah Czebotar <jehiah@gmail.com>
|
Jehiah Czebotar <jehiah@gmail.com>
|
||||||
Jonathan Wiens <j.wiens@teles.com>
|
Jonathan Wiens <j.wiens@teles.com>
|
||||||
Jose Bollo <jose.bollo@iot.bzh>
|
Jose Bollo <jose.bollo@iot.bzh>
|
||||||
José Bollo <jose.bollo@iot.bzh>
|
|
||||||
Juuso Alasuutari <juuso.alasuutari@gmail.com>
|
|
||||||
Keith Holman <keith.holman@windriver.com>
|
Keith Holman <keith.holman@windriver.com>
|
||||||
Khem Raj <raj.khem@gmail.com>
|
|
||||||
Kizuna-Meraki <z9@kizunameraki.de>
|
|
||||||
Leon Gross <leon.gross@rub.de>
|
|
||||||
Liang, Gao <liang.gao@intel.com>
|
Liang, Gao <liang.gao@intel.com>
|
||||||
Luca Mannella <luca.mannella@studenti.polito.it>
|
|
||||||
Marc <34656315+MarcT512@users.noreply.github.com>
|
|
||||||
Matthias Gatto <matthias.gatto@protonmail.com>
|
|
||||||
max <mpano91@gmail.com>
|
max <mpano91@gmail.com>
|
||||||
Micah Snyder <micasnyd@cisco.com>
|
|
||||||
Michael Clark <michael@metaparadigm.com>
|
Michael Clark <michael@metaparadigm.com>
|
||||||
myd7349 <myd7349@gmail.com>
|
myd7349 <myd7349@gmail.com>
|
||||||
Pascal Cuoq <cuoq@trust-in-soft.com>
|
|
||||||
Pawday <pawday@mail.ru>
|
|
||||||
Philosoph228 <philosoph228@gmail.com>
|
|
||||||
Pierce Lopez <pierce.lopez@gmail.com>
|
Pierce Lopez <pierce.lopez@gmail.com>
|
||||||
Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
||||||
Ramiro Polla <ramiro.polla@gmail.com>
|
Ramiro Polla <ramiro.polla@gmail.com>
|
||||||
Rikard Falkeborn <rikard.falkeborn@gmail.com>
|
Rikard Falkeborn <rikard.falkeborn@gmail.com>
|
||||||
Robert Bielik <robert.bielik@dirac.com>
|
|
||||||
Robert <roby_p97@yahoo.com>
|
Robert <roby_p97@yahoo.com>
|
||||||
Rosen Penev <rosenp@gmail.com>
|
|
||||||
Rubasri Kalidas <rubasri.kalidas@intel.com>
|
Rubasri Kalidas <rubasri.kalidas@intel.com>
|
||||||
Sergey Sharshunov <s.sharshunov@gmail.com>
|
|
||||||
Simon McVittie <smcv@collabora.com>
|
|
||||||
ssrlive <30760636+ssrlive@users.noreply.github.com>
|
|
||||||
Tobias Nießen <tniessen@users.noreply.github.com>
|
|
||||||
Tobias Stoeckmann <tobias@stoeckmann.org>
|
|
||||||
Tudor Brindus <me@tbrindus.ca>
|
|
||||||
Unmanned Player <36690541+unmanned-player@users.noreply.github.com>
|
Unmanned Player <36690541+unmanned-player@users.noreply.github.com>
|
||||||
Yurii Rashkovskii <yrashk@gmail.com>
|
|
||||||
|
|||||||
332
CMakeLists.txt
@@ -1,13 +1,23 @@
|
|||||||
# CMake 3.9 was released in 2017/07
|
# Many projects still are stuck using CMake 2.8 is several places so it's good to provide backward support too. This is
|
||||||
# As of 2023, many versions of Linux, NetBSD and FreeBSD provide,
|
# specially true in old embedded systems (OpenWRT and friends) where CMake isn't necessarily upgraded.
|
||||||
# and many OpenWRT packages require, much newer CMake packages.
|
cmake_minimum_required(VERSION 2.8)
|
||||||
# We're stopping before 3.10 because that version starts requiring
|
|
||||||
# c++11, which isn't available on e.g HPUX.
|
if(POLICY CMP0048)
|
||||||
cmake_minimum_required(VERSION 3.9...3.12)
|
cmake_policy(SET CMP0048 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
# JSON-C library is C only project.
|
# JSON-C library is C only project.
|
||||||
# PROJECT_VERSION{,_MAJOR,_MINOR,_PATCH} set by project():
|
project(json-c LANGUAGES C VERSION 0.14)
|
||||||
project(json-c LANGUAGES C VERSION 0.17.99)
|
|
||||||
|
# If we've got 3.0 then it's good, let's provide support. Otherwise, leave it be.
|
||||||
|
if(POLICY CMP0038)
|
||||||
|
# Policy CMP0038 introduced was in CMake 3.0
|
||||||
|
cmake_policy(SET CMP0038 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
# set default build type if not specified by user
|
# set default build type if not specified by user
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
@@ -16,8 +26,20 @@ endif()
|
|||||||
|
|
||||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
|
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
|
||||||
|
|
||||||
|
# Include file check macros honor CMAKE_REQUIRED_LIBRARIES
|
||||||
|
# i.e. the check_include_file() calls will include -lm when checking.
|
||||||
|
if(POLICY CMP0075)
|
||||||
|
cmake_policy(SET CMP0075 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
|
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
|
||||||
|
(NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
|
||||||
|
)
|
||||||
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Set some packaging variables.
|
# Set some packaging variables.
|
||||||
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
|
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
|
||||||
set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
|
set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
|
||||||
@@ -43,11 +65,6 @@ include(GNUInstallDirs)
|
|||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
|
|
||||||
option(BUILD_SHARED_LIBS "Default to building shared libraries" ON)
|
option(BUILD_SHARED_LIBS "Default to building shared libraries" ON)
|
||||||
option(BUILD_STATIC_LIBS "Default to building static libraries" ON)
|
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
|
||||||
add_definitions(-D JSON_C_DLL)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Generate a release merge and test it to verify the correctness of republishing the package.
|
# Generate a release merge and test it to verify the correctness of republishing the package.
|
||||||
ADD_CUSTOM_TARGET(distcheck
|
ADD_CUSTOM_TARGET(distcheck
|
||||||
@@ -61,18 +78,10 @@ COMMAND make package_source
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Enable or disable features. By default, all features are turned off.
|
# Enable or disable features. By default, all features are turned off.
|
||||||
option(DISABLE_BSYMBOLIC "Avoid linking with -Bsymbolic-function." OFF)
|
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed" OFF)
|
||||||
option(DISABLE_THREAD_LOCAL_STORAGE "Disable using Thread-Local Storage (HAVE___THREAD)." OFF)
|
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
||||||
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors." OFF)
|
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors" OFF)
|
||||||
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed." OFF)
|
option(DISABLE_BSYMBOLIC "Avoid linking with -Bsymbolic-function" OFF)
|
||||||
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
|
||||||
option(OVERRIDE_GET_RANDOM_SEED "Override json_c_get_random_seed() with custom code." OFF)
|
|
||||||
option(DISABLE_EXTRA_LIBS "Avoid linking against extra libraries, such as libbsd." OFF)
|
|
||||||
option(DISABLE_JSON_POINTER "Disable JSON pointer (RFC6901) and JSON patch support." OFF)
|
|
||||||
option(DISABLE_JSON_PATCH "Disable JSON patch (RFC6902) support." OFF)
|
|
||||||
option(NEWLOCALE_NEEDS_FREELOCALE "Work around newlocale bugs in old FreeBSD by calling freelocale" OFF)
|
|
||||||
option(BUILD_APPS "Default to building apps" ON)
|
|
||||||
|
|
||||||
|
|
||||||
if (UNIX OR MINGW OR CYGWIN)
|
if (UNIX OR MINGW OR CYGWIN)
|
||||||
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
||||||
@@ -87,14 +96,6 @@ if (MSVC)
|
|||||||
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
|
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT DISABLE_STATIC_FPIC)
|
|
||||||
# Use '-fPIC'/'-fPIE' option.
|
|
||||||
# This will allow other libraries to statically link in libjson-c.a
|
|
||||||
# which in turn prevents crashes in downstream apps that may use
|
|
||||||
# a different JSON library with identical symbol names.
|
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
||||||
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
||||||
check_include_file(stdarg.h HAVE_STDARG_H)
|
check_include_file(stdarg.h HAVE_STDARG_H)
|
||||||
@@ -107,7 +108,6 @@ check_include_files("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
|
|||||||
|
|
||||||
check_include_file(unistd.h HAVE_UNISTD_H)
|
check_include_file(unistd.h HAVE_UNISTD_H)
|
||||||
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
||||||
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
|
|
||||||
|
|
||||||
check_include_file("dlfcn.h" HAVE_DLFCN_H)
|
check_include_file("dlfcn.h" HAVE_DLFCN_H)
|
||||||
check_include_file("endian.h" HAVE_ENDIAN_H)
|
check_include_file("endian.h" HAVE_ENDIAN_H)
|
||||||
@@ -119,18 +119,11 @@ check_include_file(stdint.h HAVE_STDINT_H)
|
|||||||
check_include_file(stdlib.h HAVE_STDLIB_H)
|
check_include_file(stdlib.h HAVE_STDLIB_H)
|
||||||
check_include_file(sys/cdefs.h HAVE_SYS_CDEFS_H)
|
check_include_file(sys/cdefs.h HAVE_SYS_CDEFS_H)
|
||||||
check_include_file(sys/param.h HAVE_SYS_PARAM_H)
|
check_include_file(sys/param.h HAVE_SYS_PARAM_H)
|
||||||
check_include_file(sys/random.h HAVE_SYS_RANDOM_H)
|
|
||||||
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
|
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
|
||||||
check_include_file(xlocale.h HAVE_XLOCALE_H)
|
check_include_file(xlocale.h HAVE_XLOCALE_H)
|
||||||
|
|
||||||
# Set json-c specific vars to stamp into json_config.h
|
if (HAVE_INTTYPES_H AND NOT MSVC)
|
||||||
# in a way that hopefully won't conflict with other
|
set(JSON_C_HAVE_INTTYPES_H 1)
|
||||||
# projects that use json-c.
|
|
||||||
if (HAVE_INTTYPES_H)
|
|
||||||
set(JSON_C_HAVE_INTTYPES_H 1)
|
|
||||||
endif()
|
|
||||||
if (HAVE_STDINT_H)
|
|
||||||
set(JSON_C_HAVE_STDINT_H 1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_symbol_exists(_isnan "float.h" HAVE_DECL__ISNAN)
|
check_symbol_exists(_isnan "float.h" HAVE_DECL__ISNAN)
|
||||||
@@ -151,19 +144,6 @@ check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF)
|
|||||||
check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF)
|
check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF)
|
||||||
check_symbol_exists(vprintf "stdio.h" HAVE_VPRINTF)
|
check_symbol_exists(vprintf "stdio.h" HAVE_VPRINTF)
|
||||||
|
|
||||||
check_symbol_exists(arc4random "stdlib.h" HAVE_ARC4RANDOM)
|
|
||||||
if (NOT HAVE_ARC4RANDOM AND DISABLE_EXTRA_LIBS STREQUAL "OFF")
|
|
||||||
check_include_file(bsd/stdlib.h HAVE_BSD_STDLIB_H)
|
|
||||||
if (HAVE_BSD_STDLIB_H)
|
|
||||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "bsd")
|
|
||||||
unset(HAVE_ARC4RANDOM CACHE)
|
|
||||||
check_symbol_exists(arc4random "bsd/stdlib.h" HAVE_ARC4RANDOM)
|
|
||||||
if (NOT HAVE_ARC4RANDOM)
|
|
||||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "bsd")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (HAVE_FCNTL_H)
|
if (HAVE_FCNTL_H)
|
||||||
check_symbol_exists(open "fcntl.h" HAVE_OPEN)
|
check_symbol_exists(open "fcntl.h" HAVE_OPEN)
|
||||||
endif()
|
endif()
|
||||||
@@ -174,19 +154,6 @@ if (HAVE_LOCALE_H)
|
|||||||
check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE)
|
check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE)
|
||||||
check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE)
|
check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# uClibc *intentionally* crashes in duplocale(), at least as of:
|
|
||||||
# https://github.com/ffainelli/uClibc/blob/266bdc1/libc/misc/locale/locale.c#L1322
|
|
||||||
# So, if it looks like we're compiling for a system like that just disable
|
|
||||||
# locale handling entirely.
|
|
||||||
execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpmachine ERROR_QUIET OUTPUT_VARIABLE CMAKE_GNU_C_MACHINE)
|
|
||||||
|
|
||||||
if (CMAKE_GNU_C_MACHINE MATCHES "uclibc")
|
|
||||||
message(STATUS "Detected uClibc compiler, disabling locale handling")
|
|
||||||
set(HAVE_SETLOCALE 0)
|
|
||||||
set(HAVE_USELOCALE 0)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (HAVE_STRINGS_H)
|
if (HAVE_STRINGS_H)
|
||||||
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
|
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
|
||||||
check_symbol_exists(strncasecmp "strings.h" HAVE_STRNCASECMP)
|
check_symbol_exists(strncasecmp "strings.h" HAVE_STRNCASECMP)
|
||||||
@@ -198,12 +165,6 @@ endif()
|
|||||||
if (HAVE_SYSLOG_H)
|
if (HAVE_SYSLOG_H)
|
||||||
check_symbol_exists(vsyslog "syslog.h" HAVE_VSYSLOG)
|
check_symbol_exists(vsyslog "syslog.h" HAVE_VSYSLOG)
|
||||||
endif()
|
endif()
|
||||||
if (HAVE_SYS_RANDOM_H)
|
|
||||||
check_symbol_exists(getrandom "sys/random.h" HAVE_GETRANDOM)
|
|
||||||
endif()
|
|
||||||
if (HAVE_SYS_RESOURCE_H)
|
|
||||||
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL)
|
check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL)
|
||||||
check_symbol_exists(strtoull "stdlib.h" HAVE_STRTOULL)
|
check_symbol_exists(strtoull "stdlib.h" HAVE_STRTOULL)
|
||||||
@@ -234,35 +195,27 @@ check_type_size(int64_t SIZEOF_INT64_T)
|
|||||||
check_type_size(long SIZEOF_LONG)
|
check_type_size(long SIZEOF_LONG)
|
||||||
check_type_size("long long" SIZEOF_LONG_LONG)
|
check_type_size("long long" SIZEOF_LONG_LONG)
|
||||||
check_type_size("size_t" SIZEOF_SIZE_T)
|
check_type_size("size_t" SIZEOF_SIZE_T)
|
||||||
if (MSVC)
|
|
||||||
list(APPEND CMAKE_EXTRA_INCLUDE_FILES BaseTsd.h)
|
|
||||||
check_type_size("SSIZE_T" SIZEOF_SSIZE_T)
|
|
||||||
else()
|
|
||||||
check_type_size("ssize_t" SIZEOF_SSIZE_T)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
"
|
[=[
|
||||||
extern void json_object_get();
|
extern void json_object_get();
|
||||||
__asm__(\".section .gnu.json_object_get\\n\\t.ascii \\\"Please link against libjson-c instead of libjson\\\"\\n\\t.text\");
|
__asm__(".section .gnu.json_object_get\\n\\t.ascii \\"Please link against libjson-c instead of libjson\\"\\n\\t.text");
|
||||||
int main(int c, char *v) { return 0;}
|
int main(int c, char *v) { return 0;}
|
||||||
"
|
]=]
|
||||||
HAS_GNU_WARNING_LONG)
|
HAS_GNU_WARNING_LONG)
|
||||||
|
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
"int main() { int i, x = 0; i = __sync_add_and_fetch(&x,1); return x; }"
|
"int main() { int i, x = 0; i = __sync_add_and_fetch(&x,1); return x; }"
|
||||||
HAVE_ATOMIC_BUILTINS)
|
HAVE_ATOMIC_BUILTINS)
|
||||||
|
|
||||||
if (NOT DISABLE_THREAD_LOCAL_STORAGE)
|
check_c_source_compiles(
|
||||||
check_c_source_compiles(
|
"__thread int x = 0; int main() { return 0; }"
|
||||||
"__thread int x = 0; int main() { return 0; }"
|
HAVE___THREAD)
|
||||||
HAVE___THREAD)
|
|
||||||
|
|
||||||
if (HAVE___THREAD)
|
if (HAVE___THREAD)
|
||||||
set(SPEC___THREAD __thread)
|
set(SPEC___THREAD __thread)
|
||||||
elseif (MSVC)
|
elseif (MSVC)
|
||||||
set(SPEC___THREAD __declspec(thread))
|
set(SPEC___THREAD __declspec(thread))
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Hardware random number is not available on Windows? Says, config.h.win32. Best to preserve compatibility.
|
# Hardware random number is not available on Windows? Says, config.h.win32. Best to preserve compatibility.
|
||||||
@@ -272,28 +225,11 @@ endif()
|
|||||||
|
|
||||||
# Once we've done basic symbol/header searches let's add them in.
|
# Once we've done basic symbol/header searches let's add them in.
|
||||||
configure_file(${PROJECT_SOURCE_DIR}/cmake/config.h.in ${PROJECT_BINARY_DIR}/config.h)
|
configure_file(${PROJECT_SOURCE_DIR}/cmake/config.h.in ${PROJECT_BINARY_DIR}/config.h)
|
||||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/config.h")
|
message(STATUS "Written ${PROJECT_BINARY_DIR}/config.h")
|
||||||
configure_file(${PROJECT_SOURCE_DIR}/cmake/json_config.h.in ${PROJECT_BINARY_DIR}/json_config.h)
|
configure_file(${PROJECT_SOURCE_DIR}/cmake/json_config.h.in ${PROJECT_BINARY_DIR}/json_config.h)
|
||||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/json_config.h")
|
message(STATUS "Written ${PROJECT_BINARY_DIR}/json_config.h")
|
||||||
|
|
||||||
if (NOT DEFINED CMAKE_C_COMPILER_FRONTEND_VARIANT OR "${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "") # only available in cmake 3.14+
|
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
||||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
|
||||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
|
|
||||||
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
|
||||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
|
||||||
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
|
||||||
# Detect clang-cl.exe, it is Clang but with MSVC compatible command line arguments
|
|
||||||
execute_process (COMMAND ${CMAKE_C_COMPILER} -? ERROR_QUIET OUTPUT_QUIET RESULT_VARIABLE _clang_result)
|
|
||||||
if (_clang_result EQUAL 0)
|
|
||||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
|
|
||||||
else()
|
|
||||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
|
||||||
message(STATUS, "clang result is NOT 0")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "Clang")
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
|
||||||
if ("${DISABLE_WERROR}" STREQUAL "OFF")
|
if ("${DISABLE_WERROR}" STREQUAL "OFF")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
||||||
@@ -309,12 +245,7 @@ if ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_definitions(-D_GNU_SOURCE)
|
add_definitions(-D_GNU_SOURCE)
|
||||||
|
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
||||||
if ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "Clang")
|
|
||||||
# Remove this for 1.0 when we can bump the ABI and actually fix these warnings.
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-shorten-64-to-32")
|
|
||||||
endif()
|
|
||||||
elseif ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC")
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /DEBUG")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /DEBUG")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4100")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4100")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4996")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4996")
|
||||||
@@ -325,9 +256,9 @@ elseif ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC")
|
|||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4701")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4701")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
|
if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
"
|
[=[
|
||||||
/* uClibc toolchains without threading barf when _REENTRANT is defined */
|
/* uClibc toolchains without threading barf when _REENTRANT is defined */
|
||||||
#define _REENTRANT 1
|
#define _REENTRANT 1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -335,7 +266,7 @@ if (NOT ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
"
|
]=]
|
||||||
REENTRANT_WORKS
|
REENTRANT_WORKS
|
||||||
)
|
)
|
||||||
if (REENTRANT_WORKS)
|
if (REENTRANT_WORKS)
|
||||||
@@ -346,12 +277,12 @@ if (NOT ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
|
|||||||
# Others may not support it, too.
|
# Others may not support it, too.
|
||||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
"
|
[=[
|
||||||
int main (void)
|
int main (void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
"
|
]=]
|
||||||
BSYMBOLIC_WORKS
|
BSYMBOLIC_WORKS
|
||||||
)
|
)
|
||||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||||
@@ -360,22 +291,6 @@ if (NOT ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
|
|||||||
# XXX need cmake>=3.13 for this:
|
# XXX need cmake>=3.13 for this:
|
||||||
#add_link_options("-Wl,-Bsymbolic-functions")
|
#add_link_options("-Wl,-Bsymbolic-functions")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym" "TEST { global: *; };")
|
|
||||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym")
|
|
||||||
check_c_source_compiles(
|
|
||||||
"
|
|
||||||
int main (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
"
|
|
||||||
VERSION_SCRIPT_WORKS
|
|
||||||
)
|
|
||||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym")
|
|
||||||
if (VERSION_SCRIPT_WORKS)
|
|
||||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/json-c.sym")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if ($ENV{VALGRIND})
|
if ($ENV{VALGRIND})
|
||||||
@@ -384,16 +299,17 @@ if ($ENV{VALGRIND})
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(JSON_C_PUBLIC_HEADERS
|
set(JSON_C_PUBLIC_HEADERS
|
||||||
# Note: config.h is _not_ included here
|
${PROJECT_BINARY_DIR}/config.h
|
||||||
${PROJECT_BINARY_DIR}/json_config.h
|
${PROJECT_BINARY_DIR}/json_config.h
|
||||||
|
|
||||||
${PROJECT_BINARY_DIR}/json.h
|
${PROJECT_SOURCE_DIR}/json.h
|
||||||
${PROJECT_SOURCE_DIR}/arraylist.h
|
${PROJECT_SOURCE_DIR}/arraylist.h
|
||||||
${PROJECT_SOURCE_DIR}/debug.h
|
${PROJECT_SOURCE_DIR}/debug.h
|
||||||
${PROJECT_SOURCE_DIR}/json_c_version.h
|
${PROJECT_SOURCE_DIR}/json_c_version.h
|
||||||
${PROJECT_SOURCE_DIR}/json_inttypes.h
|
${PROJECT_SOURCE_DIR}/json_inttypes.h
|
||||||
${PROJECT_SOURCE_DIR}/json_object.h
|
${PROJECT_SOURCE_DIR}/json_object.h
|
||||||
${PROJECT_SOURCE_DIR}/json_object_iterator.h
|
${PROJECT_SOURCE_DIR}/json_object_iterator.h
|
||||||
|
${PROJECT_SOURCE_DIR}/json_pointer.h
|
||||||
${PROJECT_SOURCE_DIR}/json_tokener.h
|
${PROJECT_SOURCE_DIR}/json_tokener.h
|
||||||
${PROJECT_SOURCE_DIR}/json_types.h
|
${PROJECT_SOURCE_DIR}/json_types.h
|
||||||
${PROJECT_SOURCE_DIR}/json_util.h
|
${PROJECT_SOURCE_DIR}/json_util.h
|
||||||
@@ -405,9 +321,9 @@ set(JSON_C_PUBLIC_HEADERS
|
|||||||
set(JSON_C_HEADERS
|
set(JSON_C_HEADERS
|
||||||
${JSON_C_PUBLIC_HEADERS}
|
${JSON_C_PUBLIC_HEADERS}
|
||||||
${PROJECT_SOURCE_DIR}/json_object_private.h
|
${PROJECT_SOURCE_DIR}/json_object_private.h
|
||||||
${PROJECT_SOURCE_DIR}/json_pointer_private.h
|
|
||||||
${PROJECT_SOURCE_DIR}/random_seed.h
|
${PROJECT_SOURCE_DIR}/random_seed.h
|
||||||
${PROJECT_SOURCE_DIR}/strerror_override.h
|
${PROJECT_SOURCE_DIR}/strerror_override.h
|
||||||
|
${PROJECT_SOURCE_DIR}/strerror_override_private.h
|
||||||
${PROJECT_SOURCE_DIR}/math_compat.h
|
${PROJECT_SOURCE_DIR}/math_compat.h
|
||||||
${PROJECT_SOURCE_DIR}/snprintf_compat.h
|
${PROJECT_SOURCE_DIR}/snprintf_compat.h
|
||||||
${PROJECT_SOURCE_DIR}/strdup_compat.h
|
${PROJECT_SOURCE_DIR}/strdup_compat.h
|
||||||
@@ -420,6 +336,7 @@ set(JSON_C_SOURCES
|
|||||||
${PROJECT_SOURCE_DIR}/json_c_version.c
|
${PROJECT_SOURCE_DIR}/json_c_version.c
|
||||||
${PROJECT_SOURCE_DIR}/json_object.c
|
${PROJECT_SOURCE_DIR}/json_object.c
|
||||||
${PROJECT_SOURCE_DIR}/json_object_iterator.c
|
${PROJECT_SOURCE_DIR}/json_object_iterator.c
|
||||||
|
${PROJECT_SOURCE_DIR}/json_pointer.c
|
||||||
${PROJECT_SOURCE_DIR}/json_tokener.c
|
${PROJECT_SOURCE_DIR}/json_tokener.c
|
||||||
${PROJECT_SOURCE_DIR}/json_util.c
|
${PROJECT_SOURCE_DIR}/json_util.c
|
||||||
${PROJECT_SOURCE_DIR}/json_visit.c
|
${PROJECT_SOURCE_DIR}/json_visit.c
|
||||||
@@ -429,38 +346,32 @@ set(JSON_C_SOURCES
|
|||||||
${PROJECT_SOURCE_DIR}/strerror_override.c
|
${PROJECT_SOURCE_DIR}/strerror_override.c
|
||||||
)
|
)
|
||||||
|
|
||||||
if (NOT DISABLE_JSON_POINTER)
|
|
||||||
set(JSON_C_PUBLIC_HEADERS ${JSON_C_PUBLIC_HEADERS} ${PROJECT_SOURCE_DIR}/json_pointer.h)
|
|
||||||
set(JSON_C_SOURCES ${JSON_C_SOURCES} ${PROJECT_SOURCE_DIR}/json_pointer.c)
|
|
||||||
set(JSON_H_JSON_POINTER "#include \"json_pointer.h\"")
|
|
||||||
|
|
||||||
if (NOT DISABLE_JSON_PATCH)
|
|
||||||
set(JSON_C_PUBLIC_HEADERS ${JSON_C_PUBLIC_HEADERS} ${PROJECT_SOURCE_DIR}/json_patch.h)
|
|
||||||
set(JSON_C_SOURCES ${JSON_C_SOURCES} ${PROJECT_SOURCE_DIR}/json_patch.c)
|
|
||||||
set(JSON_H_JSON_PATCH "#include \"json_patch.h\"")
|
|
||||||
endif()
|
|
||||||
else()
|
|
||||||
set(JSON_H_JSON_POINTER "")
|
|
||||||
set(JSON_H_JSON_PATCH "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
configure_file(json.h.cmakein ${PROJECT_BINARY_DIR}/json.h @ONLY)
|
|
||||||
|
|
||||||
include_directories(${PROJECT_SOURCE_DIR})
|
include_directories(${PROJECT_SOURCE_DIR})
|
||||||
include_directories(${PROJECT_BINARY_DIR})
|
include_directories(${PROJECT_BINARY_DIR})
|
||||||
|
|
||||||
add_subdirectory(doc)
|
# generate doxygen documentation for json-c API
|
||||||
|
|
||||||
# "uninstall" custom target for make generators in unix like operating systems
|
find_package(Doxygen)
|
||||||
# and if that target is not present
|
option(BUILD_DOCUMENTATION "Create and install the HTML based API documentation(requires Doxygen)" ${DOXYGEN_FOUND})
|
||||||
if (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
|
|
||||||
if(NOT TARGET uninstall)
|
if (DOXYGEN_FOUND)
|
||||||
add_custom_target(uninstall
|
|
||||||
COMMAND cat ${PROJECT_BINARY_DIR}/install_manifest.txt | xargs rm
|
add_custom_target(doc
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Doxyfile
|
||||||
)
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
|
||||||
endif()
|
|
||||||
endif()
|
# request to configure the file
|
||||||
|
configure_file(Doxyfile Doxyfile)
|
||||||
|
|
||||||
|
else (DOXYGEN_FOUND)
|
||||||
|
message("Warning: doxygen not found, the 'doc' target will not be included")
|
||||||
|
endif(DOXYGEN_FOUND)
|
||||||
|
|
||||||
|
# uninstall
|
||||||
|
add_custom_target(uninstall
|
||||||
|
COMMAND cat ${PROJECT_BINARY_DIR}/install_manifest.txt | xargs rm
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
# XXX for a normal full distribution we'll need to figure out
|
# XXX for a normal full distribution we'll need to figure out
|
||||||
# XXX how to build both shared and static libraries.
|
# XXX how to build both shared and static libraries.
|
||||||
@@ -470,9 +381,9 @@ add_library(${PROJECT_NAME}
|
|||||||
${JSON_C_HEADERS}
|
${JSON_C_HEADERS}
|
||||||
)
|
)
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
VERSION 5.3.0
|
VERSION 5.0.0
|
||||||
SOVERSION 5)
|
SOVERSION 5)
|
||||||
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
|
||||||
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
||||||
# to build external target without extra include_directories(...)
|
# to build external target without extra include_directories(...)
|
||||||
target_include_directories(${PROJECT_NAME}
|
target_include_directories(${PROJECT_NAME}
|
||||||
@@ -481,49 +392,12 @@ target_include_directories(${PROJECT_NAME}
|
|||||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
|
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${CMAKE_REQUIRED_LIBRARIES})
|
install(TARGETS ${PROJECT_NAME}
|
||||||
|
|
||||||
# Allow to build static and shared libraries at the same time
|
|
||||||
if (BUILD_STATIC_LIBS AND BUILD_SHARED_LIBS)
|
|
||||||
set(STATIC_LIB ${PROJECT_NAME}-static)
|
|
||||||
add_library(${STATIC_LIB} STATIC
|
|
||||||
${JSON_C_SOURCES}
|
|
||||||
${JSON_C_HEADERS}
|
|
||||||
)
|
|
||||||
target_include_directories(${PROJECT_NAME}-static
|
|
||||||
PUBLIC
|
|
||||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
|
||||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME}-static PUBLIC ${CMAKE_REQUIRED_LIBRARIES})
|
|
||||||
|
|
||||||
# rename the static library
|
|
||||||
if (NOT MSVC)
|
|
||||||
set_target_properties(${STATIC_LIB} PROPERTIES
|
|
||||||
OUTPUT_NAME ${PROJECT_NAME}
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
list(APPEND CMAKE_TARGETS ${STATIC_LIB})
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
# Always create new install dirs with 0755 permissions, regardless of umask
|
|
||||||
set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
|
|
||||||
OWNER_READ
|
|
||||||
OWNER_WRITE
|
|
||||||
OWNER_EXECUTE
|
|
||||||
GROUP_READ
|
|
||||||
GROUP_EXECUTE
|
|
||||||
WORLD_READ
|
|
||||||
WORLD_EXECUTE
|
|
||||||
)
|
|
||||||
|
|
||||||
install(TARGETS ${CMAKE_TARGETS}
|
|
||||||
EXPORT ${PROJECT_NAME}-targets
|
EXPORT ${PROJECT_NAME}-targets
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ${CMAKE_INSTALL_INCLUDEDIR}/json-c
|
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(EXPORT ${PROJECT_NAME}-targets
|
install(EXPORT ${PROJECT_NAME}-targets
|
||||||
@@ -543,6 +417,7 @@ install(
|
|||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (UNIX OR MINGW OR CYGWIN)
|
||||||
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
||||||
# exec_prefix is prefix by default and CMake does not have the
|
# exec_prefix is prefix by default and CMake does not have the
|
||||||
# concept.
|
# concept.
|
||||||
@@ -550,38 +425,9 @@ install(
|
|||||||
SET(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
|
SET(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
|
||||||
SET(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
SET(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
||||||
SET(VERSION ${PROJECT_VERSION})
|
SET(VERSION ${PROJECT_VERSION})
|
||||||
|
|
||||||
# Linking against the static json-c requires
|
|
||||||
# dependent packages to include additional libs:
|
|
||||||
SET(LIBS_LIST ${CMAKE_REQUIRED_LIBRARIES})
|
|
||||||
|
|
||||||
# Note: We would need cmake >= 3.12 in order to use list(TRANSFORM ...)
|
|
||||||
function(list_transform_prepend var prefix)
|
|
||||||
set(temp "")
|
|
||||||
foreach(f ${${var}})
|
|
||||||
list(APPEND temp "${prefix}${f}")
|
|
||||||
endforeach()
|
|
||||||
set(${var} "${temp}" PARENT_SCOPE)
|
|
||||||
endfunction()
|
|
||||||
list_transform_prepend(LIBS_LIST "-l")
|
|
||||||
|
|
||||||
string(REPLACE ";" " " LIBS "${LIBS_LIST}")
|
|
||||||
|
|
||||||
configure_file(json-c.pc.in json-c.pc @ONLY)
|
configure_file(json-c.pc.in json-c.pc @ONLY)
|
||||||
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
|
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
|
||||||
install(FILES ${PROJECT_BINARY_DIR}/json-c.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}")
|
install(FILES ${PROJECT_BINARY_DIR}/json-c.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}")
|
||||||
|
endif ()
|
||||||
|
|
||||||
install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/json-c)
|
install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/json-c)
|
||||||
|
|
||||||
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
|
|
||||||
(NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
|
|
||||||
)
|
|
||||||
add_subdirectory(tests)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_APPS)
|
|
||||||
# skip apps when we're included in someone else's build
|
|
||||||
if (NOT MSVC) # cmd line apps don't built on Windows currently.
|
|
||||||
add_subdirectory(apps)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|||||||
162
ChangeLog
@@ -1,160 +1,4 @@
|
|||||||
|
|
||||||
0.17 (up to commit 077661f, 2023-08-08)
|
|
||||||
========================================
|
|
||||||
|
|
||||||
Deprecated and removed features:
|
|
||||||
--------------------------------
|
|
||||||
* None
|
|
||||||
|
|
||||||
New features
|
|
||||||
------------
|
|
||||||
* json_patch: add first implementation only with patch application
|
|
||||||
* Add --disable-static and --disable-dynamic options to the cmake-configure script.
|
|
||||||
* Add -DBUILD_APPS=NO option to disable app build
|
|
||||||
* Minimum cmake version is now 3.9
|
|
||||||
|
|
||||||
Significant changes and bug fixes
|
|
||||||
---------------------------------
|
|
||||||
* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
|
|
||||||
closing curly or square braces on same line for empty objects or arrays.
|
|
||||||
* Disable locale handling when targeting a uClibc system due to problems
|
|
||||||
with its duplocale() function.
|
|
||||||
* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
|
|
||||||
now result in a json_tokener_error_parse_number. Without that flag
|
|
||||||
values are capped at INT64_MIN/UINT64_MAX.
|
|
||||||
* Fix memory leak with emtpy strings in json_object_set_string
|
|
||||||
* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
|
|
||||||
* Add back json_number_chars, but only because it's part of the public API.
|
|
||||||
* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
|
|
||||||
platforms.
|
|
||||||
* Specify dependent libraries, including -lbsd, in a more consistent way so
|
|
||||||
linking against a static json-c works better
|
|
||||||
* Fix a variety of build problems and add & improve tests
|
|
||||||
* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
0.16 (up to commit 66dcdf5, 2022-04-13)
|
|
||||||
========================================
|
|
||||||
|
|
||||||
Deprecated and removed features:
|
|
||||||
--------------------------------
|
|
||||||
* JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of
|
|
||||||
JSON_C_OBJECT_ADD_CONSTANT_KEY
|
|
||||||
* Direct access to lh_table and lh_entry structure members is deprecated.
|
|
||||||
Use access functions instead, lh_table_head(), lh_entry_next(), etc...
|
|
||||||
* Drop REFCOUNT_DEBUG code.
|
|
||||||
|
|
||||||
New features
|
|
||||||
------------
|
|
||||||
* The 0.16 release introduces no new features
|
|
||||||
|
|
||||||
Build changes
|
|
||||||
-------------
|
|
||||||
* Add a DISABLE_EXTRA_LIBS option to skip using libbsd
|
|
||||||
* Add a DISABLE_JSON_POINTER option to skip compiling in json_pointer support.
|
|
||||||
|
|
||||||
Significant changes and bug fixes
|
|
||||||
---------------------------------
|
|
||||||
* Cap string length at INT_MAX to avoid various issues with very long strings.
|
|
||||||
* json_object_deep_copy: fix deep copy of strings containing '\0'
|
|
||||||
* Fix read past end of buffer in the "json_parse" command
|
|
||||||
* Avoid out of memory accesses in the locally provided vasprintf() function
|
|
||||||
(for those platforms that use it)
|
|
||||||
* Handle allocation failure in json_tokener_new_ex
|
|
||||||
* Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL
|
|
||||||
* printbuf_memset(): set gaps to zero - areas within the print buffer which
|
|
||||||
have not been initialized by using printbuf_memset
|
|
||||||
* printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX)
|
|
||||||
* sprintbuf(): propagate printbuf_memappend errors back to the caller
|
|
||||||
|
|
||||||
Optimizations
|
|
||||||
--------------
|
|
||||||
* Speed up parsing by replacing ctype functions with simplified, faster
|
|
||||||
non-locale-sensitive ones in json_tokener and json_object_to_json_string.
|
|
||||||
* Neither vertical tab nor formfeed are considered whitespace per the JSON spec
|
|
||||||
* json_object: speed up creation of objects, calloc() -> malloc() + set fields
|
|
||||||
* Avoid needless extra strlen() call in json_c_shallow_copy_default() and
|
|
||||||
json_object_equal() when the object is known to be a json_type_string.
|
|
||||||
|
|
||||||
Other changes
|
|
||||||
-------------
|
|
||||||
* Validate size arguments in arraylist functions.
|
|
||||||
* Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c
|
|
||||||
very early during boot, such as part of cryptsetup.
|
|
||||||
* Use arc4random() if it's available.
|
|
||||||
* random_seed: on error, continue to next method instead of exiting the process
|
|
||||||
* Close file when unable to read from /dev/urandom in get_dev_random_seed()
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
0.15 (up to commit 870965e, 2020/07/26)
|
|
||||||
========================================
|
|
||||||
|
|
||||||
Deprecated and removed features:
|
|
||||||
--------------------------------
|
|
||||||
* Deprecate `array_list_new()` in favor of `array_list_new2()`
|
|
||||||
* Remove the THIS_FUNCTION_IS_DEPRECATED define.
|
|
||||||
* Remove config.h.win32
|
|
||||||
|
|
||||||
New features
|
|
||||||
------------
|
|
||||||
* Add a `JSON_TOKENER_ALLOW_TRAILING_CHARS` flag to allow multiple objects
|
|
||||||
to be parsed even when `JSON_TOKENER_STRICT` is set.
|
|
||||||
* Add `json_object_new_array_ext(int)` and `array_list_new_2(int)` to allow
|
|
||||||
arrays to be allocated with the exact size needed, when known.
|
|
||||||
* Add `json_object_array_shrink()` (and `array_list_shrink()`) and use it in
|
|
||||||
json_tokener to minimize the amount of memory used.
|
|
||||||
* Add a json_parse binary, for use in testing changes (not installed, but
|
|
||||||
available in the apps directory).
|
|
||||||
|
|
||||||
Build changes
|
|
||||||
-------------
|
|
||||||
* #639/#621 - Add symbol versions to all exported symbols
|
|
||||||
* #508/#634 - Always enable -fPIC to allow use of the json-c static library in
|
|
||||||
other libraries
|
|
||||||
* Build both static and shared libraries at the same time.
|
|
||||||
* #626 - Restore compatibility with cmake 2.8
|
|
||||||
* #471 - Always create directories with mode 0755, regardless of umask.
|
|
||||||
* #606/#604 - Improve support for OSes like AIX and IBM i, as well as for
|
|
||||||
MINGW32 and old versions of MSVC
|
|
||||||
* #451/#617 - Add a DISABLE_THREAD_LOCAL_STORAGE cmake option to disable
|
|
||||||
the use of thread-local storage.
|
|
||||||
|
|
||||||
Significant changes and bug fixes
|
|
||||||
---------------------------------
|
|
||||||
* Split the internal json_object structure into several sub-types, one for
|
|
||||||
each json_type (json_object_object, json_object_string, etc...).
|
|
||||||
This improves memory usage and speed, with the benchmark under
|
|
||||||
bench/ report 5.8% faster test time and 6%(max RSS)-12%(peak heap)
|
|
||||||
less memory usage.
|
|
||||||
Memory used just for json_object structures decreased 27%, so use cases
|
|
||||||
with fewer arrays and/or strings would benefit more.
|
|
||||||
* Minimize memory usage in array handling in json_tokener by shrinking
|
|
||||||
arrays to the exact number of elements parsed. On bench/ benchmark:
|
|
||||||
9% faster test time, 39%(max RSS)-50%(peak heap) less memory usage.
|
|
||||||
Add json_object_array_shrink() and array_list_shrink() functions.
|
|
||||||
* #616 - Parsing of surrogate pairs in unicode escapes now properly handles
|
|
||||||
incremental parsing.
|
|
||||||
* Fix incremental parsing of numbers, especially those with exponents, e.g.
|
|
||||||
so parsing "[0", "e+", "-]" now properly returns an error.
|
|
||||||
Strict mode now rejects missing exponents ("0e").
|
|
||||||
* Successfully return number objects at the top level even when they are
|
|
||||||
followed by a "-", "." or "e". This makes parsing things like "123-45"
|
|
||||||
behave consistently with things like "123xyz".
|
|
||||||
|
|
||||||
Other changes
|
|
||||||
-------------
|
|
||||||
* #589 - Detect broken RDRAND during initialization; also, fix segfault
|
|
||||||
in the CPUID check.
|
|
||||||
* #592 - Fix integer overflows to prevert out of bounds write on large input.
|
|
||||||
* Protect against division by zero in linkhash, when created with zero size.
|
|
||||||
* #602 - Fix json_parse_uint64() internal error checking, leaving the retval
|
|
||||||
untouched in more failure cases.
|
|
||||||
* #614 - Prevent truncation when custom double formatters insert extra \0's
|
|
||||||
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
0.14 (up to commit 9ed00a6, 2020/04/14)
|
0.14 (up to commit 9ed00a6, 2020/04/14)
|
||||||
=========================================
|
=========================================
|
||||||
@@ -274,7 +118,7 @@ Behavior changes:
|
|||||||
* Use size_t for array length and size. Platforms where sizeof(size_t) != sizeof(int) may not be backwards compatible
|
* Use size_t for array length and size. Platforms where sizeof(size_t) != sizeof(int) may not be backwards compatible
|
||||||
See commits 45c56b, 92e9a5 and others.
|
See commits 45c56b, 92e9a5 and others.
|
||||||
|
|
||||||
* Check for failure when allocating memory, returning NULL and errno=ENOMEM.
|
* Check for failue when allocating memory, returning NULL and errno=ENOMEM.
|
||||||
See commit 2149a04.
|
See commit 2149a04.
|
||||||
|
|
||||||
* Change json_object_object_add() return type from void to int, and will return -1 on failures, instead of exiting. (Note: this is not an ABI change)
|
* Change json_object_object_add() return type from void to int, and will return -1 on failures, instead of exiting. (Note: this is not an ABI change)
|
||||||
@@ -465,7 +309,7 @@ List of new functions added:
|
|||||||
* Add an alternative iterator implementation, see json_object_iterator.h
|
* Add an alternative iterator implementation, see json_object_iterator.h
|
||||||
* Make json_object_iter public to enable external use of the
|
* Make json_object_iter public to enable external use of the
|
||||||
json_object_object_foreachC macro.
|
json_object_object_foreachC macro.
|
||||||
* Add a printbuf_memset() function to provide an efficient way to set and
|
* Add a printbuf_memset() function to provide an effecient way to set and
|
||||||
append things like whitespace indentation.
|
append things like whitespace indentation.
|
||||||
* Adjust json_object_is_type and json_object_get_type so they return
|
* Adjust json_object_is_type and json_object_get_type so they return
|
||||||
json_type_null for NULL objects and handle NULL passed to
|
json_type_null for NULL objects and handle NULL passed to
|
||||||
@@ -551,7 +395,7 @@ List of new functions added:
|
|||||||
0.7
|
0.7
|
||||||
===
|
===
|
||||||
* Add escaping of backslash to json output
|
* Add escaping of backslash to json output
|
||||||
* Add escaping of forward slash on tokenizing and output
|
* Add escaping of foward slash on tokenizing and output
|
||||||
* Changes to internal tokenizer from using recursion to
|
* Changes to internal tokenizer from using recursion to
|
||||||
using a depth state structure to allow incremental parsing
|
using a depth state structure to allow incremental parsing
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
# This tag specifies the encoding used for all characters in the config file
|
# This tag specifies the encoding used for all characters in the config file
|
||||||
# that follow. The default is UTF-8 which is also the encoding used for all text
|
# that follow. The default is UTF-8 which is also the encoding used for all text
|
||||||
# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
|
# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
|
||||||
# built into libc) for the transcoding. See https://www.gnu.org/software/libiconv
|
# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
|
||||||
# for the list of possible encodings.
|
# for the list of possible encodings.
|
||||||
# The default value is: UTF-8.
|
# The default value is: UTF-8.
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ PROJECT_NAME = json-c
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = @PROJECT_VERSION@
|
PROJECT_NUMBER = 0.14
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
@@ -58,7 +58,7 @@ PROJECT_LOGO =
|
|||||||
# entered, it will be relative to the location where doxygen was started. If
|
# entered, it will be relative to the location where doxygen was started. If
|
||||||
# left blank the current directory will be used.
|
# left blank the current directory will be used.
|
||||||
|
|
||||||
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
|
OUTPUT_DIRECTORY = doc
|
||||||
|
|
||||||
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
||||||
# directories (in 2 levels) under the output directory of each output format and
|
# directories (in 2 levels) under the output directory of each output format and
|
||||||
@@ -152,7 +152,7 @@ FULL_PATH_NAMES = YES
|
|||||||
# will be relative from the directory where doxygen is started.
|
# will be relative from the directory where doxygen is started.
|
||||||
# This tag requires that the tag FULL_PATH_NAMES is set to YES.
|
# This tag requires that the tag FULL_PATH_NAMES is set to YES.
|
||||||
|
|
||||||
STRIP_FROM_PATH = @CMAKE_SOURCE_DIR@
|
STRIP_FROM_PATH =
|
||||||
|
|
||||||
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
|
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
|
||||||
# path mentioned in the documentation of a class, which tells the reader which
|
# path mentioned in the documentation of a class, which tells the reader which
|
||||||
@@ -285,7 +285,7 @@ EXTENSION_MAPPING =
|
|||||||
|
|
||||||
# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
|
# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
|
||||||
# according to the Markdown format, which allows for more readable
|
# according to the Markdown format, which allows for more readable
|
||||||
# documentation. See https://daringfireball.net/projects/markdown/ for details.
|
# documentation. See http://daringfireball.net/projects/markdown/ for details.
|
||||||
# The output of markdown processing is further processed by doxygen, so you can
|
# The output of markdown processing is further processed by doxygen, so you can
|
||||||
# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
|
# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
|
||||||
# case of backward compatibilities issues.
|
# case of backward compatibilities issues.
|
||||||
@@ -318,7 +318,7 @@ BUILTIN_STL_SUPPORT = NO
|
|||||||
CPP_CLI_SUPPORT = NO
|
CPP_CLI_SUPPORT = NO
|
||||||
|
|
||||||
# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
|
# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
|
||||||
# https://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
|
# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
|
||||||
# will parse them like normal C++ but will assume all classes use public instead
|
# will parse them like normal C++ but will assume all classes use public instead
|
||||||
# of private inheritance when no explicit protection keyword is present.
|
# of private inheritance when no explicit protection keyword is present.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
@@ -427,7 +427,7 @@ EXTRACT_PACKAGE = NO
|
|||||||
# included in the documentation.
|
# included in the documentation.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_STATIC = YES
|
EXTRACT_STATIC = NO
|
||||||
|
|
||||||
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
|
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
|
||||||
# locally in source files will be included in the documentation. If set to NO
|
# locally in source files will be included in the documentation. If set to NO
|
||||||
@@ -677,7 +677,7 @@ LAYOUT_FILE =
|
|||||||
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
|
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
|
||||||
# the reference definitions. This must be a list of .bib files. The .bib
|
# the reference definitions. This must be a list of .bib files. The .bib
|
||||||
# extension is automatically appended if omitted. This requires the bibtex tool
|
# extension is automatically appended if omitted. This requires the bibtex tool
|
||||||
# to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info.
|
# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
|
||||||
# For LaTeX the style of the bibliography can be controlled using
|
# For LaTeX the style of the bibliography can be controlled using
|
||||||
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
|
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
|
||||||
# search path. See also \cite for info how to create references.
|
# search path. See also \cite for info how to create references.
|
||||||
@@ -753,12 +753,12 @@ WARN_LOGFILE =
|
|||||||
# spaces.
|
# spaces.
|
||||||
# Note: If this tag is empty the current directory is searched.
|
# Note: If this tag is empty the current directory is searched.
|
||||||
|
|
||||||
INPUT = @CMAKE_SOURCE_DIR@ @CMAKE_BINARY_DIR@
|
INPUT =
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||||
# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
|
# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
|
||||||
# documentation (see: https://www.gnu.org/software/libiconv) for the list of
|
# documentation (see: http://www.gnu.org/software/libiconv) for the list of
|
||||||
# possible encodings.
|
# possible encodings.
|
||||||
# The default value is: UTF-8.
|
# The default value is: UTF-8.
|
||||||
|
|
||||||
@@ -805,13 +805,7 @@ EXCLUDE_SYMLINKS = NO
|
|||||||
# Note that the wildcards are matched against the file with absolute path, so to
|
# Note that the wildcards are matched against the file with absolute path, so to
|
||||||
# exclude all test directories for example use the pattern */test/*
|
# exclude all test directories for example use the pattern */test/*
|
||||||
|
|
||||||
EXCLUDE_PATTERNS = \
|
EXCLUDE_PATTERNS =
|
||||||
*/json_object_private.h \
|
|
||||||
*/debug.h \
|
|
||||||
*/*config.h \
|
|
||||||
*/random_seed.h \
|
|
||||||
*/strerror_*h \
|
|
||||||
*/*compat.h
|
|
||||||
|
|
||||||
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
||||||
# (namespaces, classes, functions, etc.) that should be excluded from the
|
# (namespaces, classes, functions, etc.) that should be excluded from the
|
||||||
@@ -822,11 +816,7 @@ EXCLUDE_PATTERNS = \
|
|||||||
# Note that the wildcards are matched against the file with absolute path, so to
|
# Note that the wildcards are matched against the file with absolute path, so to
|
||||||
# exclude all test directories use the pattern */test/*
|
# exclude all test directories use the pattern */test/*
|
||||||
|
|
||||||
EXCLUDE_SYMBOLS = \
|
EXCLUDE_SYMBOLS =
|
||||||
_json_c_* \
|
|
||||||
_LH_* \
|
|
||||||
_printbuf_* \
|
|
||||||
__STRING
|
|
||||||
|
|
||||||
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
|
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
|
||||||
# that contain example code fragments that are included (see the \include
|
# that contain example code fragments that are included (see the \include
|
||||||
@@ -869,7 +859,7 @@ IMAGE_PATH =
|
|||||||
# code is scanned, but not when the output code is generated. If lines are added
|
# code is scanned, but not when the output code is generated. If lines are added
|
||||||
# or removed, the anchors will not be placed correctly.
|
# or removed, the anchors will not be placed correctly.
|
||||||
|
|
||||||
INPUT_FILTER = @CMAKE_CURRENT_SOURCE_DIR@/fixup_markdown.sh
|
INPUT_FILTER =
|
||||||
|
|
||||||
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
|
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
|
||||||
# basis. Doxygen will compare the file name with each pattern and apply the
|
# basis. Doxygen will compare the file name with each pattern and apply the
|
||||||
@@ -961,7 +951,7 @@ SOURCE_TOOLTIPS = YES
|
|||||||
# If the USE_HTAGS tag is set to YES then the references to source code will
|
# If the USE_HTAGS tag is set to YES then the references to source code will
|
||||||
# point to the HTML generated by the htags(1) tool instead of doxygen built-in
|
# point to the HTML generated by the htags(1) tool instead of doxygen built-in
|
||||||
# source browser. The htags tool is part of GNU's global source tagging system
|
# source browser. The htags tool is part of GNU's global source tagging system
|
||||||
# (see https://www.gnu.org/software/global/global.html). You will need version
|
# (see http://www.gnu.org/software/global/global.html). You will need version
|
||||||
# 4.8.6 or higher.
|
# 4.8.6 or higher.
|
||||||
#
|
#
|
||||||
# To use it do the following:
|
# To use it do the following:
|
||||||
@@ -989,7 +979,7 @@ USE_HTAGS = NO
|
|||||||
VERBATIM_HEADERS = NO
|
VERBATIM_HEADERS = NO
|
||||||
|
|
||||||
# If the CLANG_ASSISTED_PARSING tag is set to YES, then doxygen will use the
|
# If the CLANG_ASSISTED_PARSING tag is set to YES, then doxygen will use the
|
||||||
# clang parser (see: https://clang.llvm.org/) for more accurate parsing at the
|
# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
|
||||||
# cost of reduced performance. This can be particularly helpful with template
|
# cost of reduced performance. This can be particularly helpful with template
|
||||||
# rich C++ code for which doxygen's built-in parser lacks the necessary type
|
# rich C++ code for which doxygen's built-in parser lacks the necessary type
|
||||||
# information.
|
# information.
|
||||||
@@ -1103,7 +1093,7 @@ HTML_STYLESHEET =
|
|||||||
# cascading style sheets that are included after the standard style sheets
|
# cascading style sheets that are included after the standard style sheets
|
||||||
# created by doxygen. Using this option one can overrule certain style aspects.
|
# created by doxygen. Using this option one can overrule certain style aspects.
|
||||||
# This is preferred over using HTML_STYLESHEET since it does not replace the
|
# This is preferred over using HTML_STYLESHEET since it does not replace the
|
||||||
# standard style sheet and is therefore more robust against future updates.
|
# standard style sheet and is therefor more robust against future updates.
|
||||||
# Doxygen will copy the style sheet files to the output directory.
|
# Doxygen will copy the style sheet files to the output directory.
|
||||||
# Note: The order of the extra stylesheet files is of importance (e.g. the last
|
# Note: The order of the extra stylesheet files is of importance (e.g. the last
|
||||||
# stylesheet in the list overrules the setting of the previous ones in the
|
# stylesheet in the list overrules the setting of the previous ones in the
|
||||||
@@ -1125,7 +1115,7 @@ HTML_EXTRA_FILES =
|
|||||||
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
|
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
|
||||||
# will adjust the colors in the stylesheet and background images according to
|
# will adjust the colors in the stylesheet and background images according to
|
||||||
# this color. Hue is specified as an angle on a colorwheel, see
|
# this color. Hue is specified as an angle on a colorwheel, see
|
||||||
# https://en.wikipedia.org/wiki/Hue for more information. For instance the value
|
# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
|
||||||
# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
|
# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
|
||||||
# purple, and 360 is red again.
|
# purple, and 360 is red again.
|
||||||
# Minimum value: 0, maximum value: 359, default value: 220.
|
# Minimum value: 0, maximum value: 359, default value: 220.
|
||||||
@@ -1183,13 +1173,12 @@ HTML_INDEX_NUM_ENTRIES = 100
|
|||||||
|
|
||||||
# If the GENERATE_DOCSET tag is set to YES, additional index files will be
|
# If the GENERATE_DOCSET tag is set to YES, additional index files will be
|
||||||
# generated that can be used as input for Apple's Xcode 3 integrated development
|
# generated that can be used as input for Apple's Xcode 3 integrated development
|
||||||
# environment (see: https://developer.apple.com/tools/xcode/), introduced with
|
# environment (see: http://developer.apple.com/tools/xcode/), introduced with
|
||||||
# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
|
# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
|
||||||
# Makefile in the HTML output directory. Running make will produce the docset in
|
# Makefile in the HTML output directory. Running make will produce the docset in
|
||||||
# that directory and running make install will install the docset in
|
# that directory and running make install will install the docset in
|
||||||
# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
|
# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
|
||||||
# startup. See
|
# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
|
||||||
# https://developer.apple.com/library/archive/featuredarticles/DoxygenXcode/
|
|
||||||
# for more information.
|
# for more information.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
@@ -1305,7 +1294,7 @@ QCH_FILE =
|
|||||||
|
|
||||||
# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
|
# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
|
||||||
# Project output. For more information please see Qt Help Project / Namespace
|
# Project output. For more information please see Qt Help Project / Namespace
|
||||||
# (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#namespace).
|
# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
|
||||||
# The default value is: org.doxygen.Project.
|
# The default value is: org.doxygen.Project.
|
||||||
# This tag requires that the tag GENERATE_QHP is set to YES.
|
# This tag requires that the tag GENERATE_QHP is set to YES.
|
||||||
|
|
||||||
@@ -1313,8 +1302,8 @@ QHP_NAMESPACE = org.doxygen.Project
|
|||||||
|
|
||||||
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
|
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
|
||||||
# Help Project output. For more information please see Qt Help Project / Virtual
|
# Help Project output. For more information please see Qt Help Project / Virtual
|
||||||
# Folders (see:
|
# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
|
||||||
# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#virtual-folders).
|
# folders).
|
||||||
# The default value is: doc.
|
# The default value is: doc.
|
||||||
# This tag requires that the tag GENERATE_QHP is set to YES.
|
# This tag requires that the tag GENERATE_QHP is set to YES.
|
||||||
|
|
||||||
@@ -1322,23 +1311,23 @@ QHP_VIRTUAL_FOLDER = doc
|
|||||||
|
|
||||||
# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
|
# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
|
||||||
# filter to add. For more information please see Qt Help Project / Custom
|
# filter to add. For more information please see Qt Help Project / Custom
|
||||||
# Filters (see:
|
# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
|
||||||
# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom-filters).
|
# filters).
|
||||||
# This tag requires that the tag GENERATE_QHP is set to YES.
|
# This tag requires that the tag GENERATE_QHP is set to YES.
|
||||||
|
|
||||||
QHP_CUST_FILTER_NAME =
|
QHP_CUST_FILTER_NAME =
|
||||||
|
|
||||||
# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
|
# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
|
||||||
# custom filter to add. For more information please see Qt Help Project / Custom
|
# custom filter to add. For more information please see Qt Help Project / Custom
|
||||||
# Filters (see:
|
# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
|
||||||
# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom-filters).
|
# filters).
|
||||||
# This tag requires that the tag GENERATE_QHP is set to YES.
|
# This tag requires that the tag GENERATE_QHP is set to YES.
|
||||||
|
|
||||||
QHP_CUST_FILTER_ATTRS =
|
QHP_CUST_FILTER_ATTRS =
|
||||||
|
|
||||||
# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
|
# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
|
||||||
# project's filter section matches. Qt Help Project / Filter Attributes (see:
|
# project's filter section matches. Qt Help Project / Filter Attributes (see:
|
||||||
# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#filter-attributes).
|
# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
|
||||||
# This tag requires that the tag GENERATE_QHP is set to YES.
|
# This tag requires that the tag GENERATE_QHP is set to YES.
|
||||||
|
|
||||||
QHP_SECT_FILTER_ATTRS =
|
QHP_SECT_FILTER_ATTRS =
|
||||||
@@ -1443,7 +1432,7 @@ FORMULA_FONTSIZE = 10
|
|||||||
FORMULA_TRANSPARENT = YES
|
FORMULA_TRANSPARENT = YES
|
||||||
|
|
||||||
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
|
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
|
||||||
# https://www.mathjax.org) which uses client side Javascript for the rendering
|
# http://www.mathjax.org) which uses client side Javascript for the rendering
|
||||||
# instead of using prerendered bitmaps. Use this if you do not have LaTeX
|
# instead of using prerendered bitmaps. Use this if you do not have LaTeX
|
||||||
# installed or if you want to formulas look prettier in the HTML output. When
|
# installed or if you want to formulas look prettier in the HTML output. When
|
||||||
# enabled you may also need to install MathJax separately and configure the path
|
# enabled you may also need to install MathJax separately and configure the path
|
||||||
@@ -1455,7 +1444,7 @@ USE_MATHJAX = NO
|
|||||||
|
|
||||||
# When MathJax is enabled you can set the default output format to be used for
|
# When MathJax is enabled you can set the default output format to be used for
|
||||||
# the MathJax output. See the MathJax site (see:
|
# the MathJax output. See the MathJax site (see:
|
||||||
# https://docs.mathjax.org/en/latest/output/) for more details.
|
# http://docs.mathjax.org/en/latest/output.html) for more details.
|
||||||
# Possible values are: HTML-CSS (which is slower, but has the best
|
# Possible values are: HTML-CSS (which is slower, but has the best
|
||||||
# compatibility), NativeMML (i.e. MathML) and SVG.
|
# compatibility), NativeMML (i.e. MathML) and SVG.
|
||||||
# The default value is: HTML-CSS.
|
# The default value is: HTML-CSS.
|
||||||
@@ -1470,11 +1459,11 @@ MATHJAX_FORMAT = HTML-CSS
|
|||||||
# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
|
# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
|
||||||
# Content Delivery Network so you can quickly see the result without installing
|
# Content Delivery Network so you can quickly see the result without installing
|
||||||
# MathJax. However, it is strongly recommended to install a local copy of
|
# MathJax. However, it is strongly recommended to install a local copy of
|
||||||
# MathJax from https://www.mathjax.org before deployment.
|
# MathJax from http://www.mathjax.org before deployment.
|
||||||
# The default value is: https://cdn.mathjax.org/mathjax/latest.
|
# The default value is: http://cdn.mathjax.org/mathjax/latest.
|
||||||
# This tag requires that the tag USE_MATHJAX is set to YES.
|
# This tag requires that the tag USE_MATHJAX is set to YES.
|
||||||
|
|
||||||
MATHJAX_RELPATH = https://cdn.mathjax.org/mathjax/latest
|
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
|
||||||
|
|
||||||
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
|
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
|
||||||
# extension names that should be enabled during MathJax rendering. For example
|
# extension names that should be enabled during MathJax rendering. For example
|
||||||
@@ -1485,7 +1474,7 @@ MATHJAX_EXTENSIONS =
|
|||||||
|
|
||||||
# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
|
# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
|
||||||
# of code that will be used on startup of the MathJax code. See the MathJax site
|
# of code that will be used on startup of the MathJax code. See the MathJax site
|
||||||
# (see: https://docs.mathjax.org/en/latest/output/) for more details. For an
|
# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
|
||||||
# example see the documentation.
|
# example see the documentation.
|
||||||
# This tag requires that the tag USE_MATHJAX is set to YES.
|
# This tag requires that the tag USE_MATHJAX is set to YES.
|
||||||
|
|
||||||
@@ -1532,7 +1521,7 @@ SERVER_BASED_SEARCH = NO
|
|||||||
#
|
#
|
||||||
# Doxygen ships with an example indexer ( doxyindexer) and search engine
|
# Doxygen ships with an example indexer ( doxyindexer) and search engine
|
||||||
# (doxysearch.cgi) which are based on the open source search engine library
|
# (doxysearch.cgi) which are based on the open source search engine library
|
||||||
# Xapian (see: https://xapian.org/).
|
# Xapian (see: http://xapian.org/).
|
||||||
#
|
#
|
||||||
# See the section "External Indexing and Searching" for details.
|
# See the section "External Indexing and Searching" for details.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
@@ -1545,7 +1534,7 @@ EXTERNAL_SEARCH = NO
|
|||||||
#
|
#
|
||||||
# Doxygen ships with an example indexer ( doxyindexer) and search engine
|
# Doxygen ships with an example indexer ( doxyindexer) and search engine
|
||||||
# (doxysearch.cgi) which are based on the open source search engine library
|
# (doxysearch.cgi) which are based on the open source search engine library
|
||||||
# Xapian (see: https://xapian.org/). See the section "External Indexing and
|
# Xapian (see: http://xapian.org/). See the section "External Indexing and
|
||||||
# Searching" for details.
|
# Searching" for details.
|
||||||
# This tag requires that the tag SEARCHENGINE is set to YES.
|
# This tag requires that the tag SEARCHENGINE is set to YES.
|
||||||
|
|
||||||
@@ -1647,8 +1636,8 @@ EXTRA_PACKAGES =
|
|||||||
# Note: Only use a user-defined header if you know what you are doing! The
|
# Note: Only use a user-defined header if you know what you are doing! The
|
||||||
# following commands have a special meaning inside the header: $title,
|
# following commands have a special meaning inside the header: $title,
|
||||||
# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
|
# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
|
||||||
# $projectbrief, $projectlogo. Doxygen will replace $title with the empty string,
|
# $projectbrief, $projectlogo. Doxygen will replace $title with the empy string,
|
||||||
# for the replacement values of the other commands the user is referred to
|
# for the replacement values of the other commands the user is refered to
|
||||||
# HTML_HEADER.
|
# HTML_HEADER.
|
||||||
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
||||||
|
|
||||||
@@ -1718,7 +1707,7 @@ LATEX_SOURCE_CODE = NO
|
|||||||
|
|
||||||
# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
|
# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
|
||||||
# bibliography, e.g. plainnat, or ieeetr. See
|
# bibliography, e.g. plainnat, or ieeetr. See
|
||||||
# https://en.wikipedia.org/wiki/BibTeX and \cite for more info.
|
# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
|
||||||
# The default value is: plain.
|
# The default value is: plain.
|
||||||
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
||||||
|
|
||||||
@@ -1985,9 +1974,7 @@ INCLUDE_FILE_PATTERNS =
|
|||||||
# recursively expanded use the := operator instead of the = operator.
|
# recursively expanded use the := operator instead of the = operator.
|
||||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||||
|
|
||||||
PREDEFINED = \
|
PREDEFINED = THIS_FUNCTION_IS_DEPRECATED(f)=f
|
||||||
_LH_INLINE=inline \
|
|
||||||
JSON_C_CONST_FUNCTION(func)=func
|
|
||||||
|
|
||||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||||
# tag can be used to specify a list of macro names that should be expanded. The
|
# tag can be used to specify a list of macro names that should be expanded. The
|
||||||
@@ -2074,7 +2061,7 @@ CLASS_DIAGRAMS = YES
|
|||||||
|
|
||||||
# You can define message sequence charts within doxygen comments using the \msc
|
# You can define message sequence charts within doxygen comments using the \msc
|
||||||
# command. Doxygen will then run the mscgen tool (see:
|
# command. Doxygen will then run the mscgen tool (see:
|
||||||
# https://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
|
# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
|
||||||
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
|
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
|
||||||
# the mscgen tool resides. If left empty the tool is assumed to be found in the
|
# the mscgen tool resides. If left empty the tool is assumed to be found in the
|
||||||
# default search path.
|
# default search path.
|
||||||
@@ -2096,7 +2083,7 @@ HIDE_UNDOC_RELATIONS = YES
|
|||||||
|
|
||||||
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
|
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
|
||||||
# available from the path. This tool is part of Graphviz (see:
|
# available from the path. This tool is part of Graphviz (see:
|
||||||
# https://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
|
# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
|
||||||
# Bell Labs. The other options in this section have no effect if this option is
|
# Bell Labs. The other options in this section have no effect if this option is
|
||||||
# set to NO
|
# set to NO
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
@@ -26,12 +26,12 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>Documentation</h3>
|
<h3>Documentation</h3>
|
||||||
<P>Doxygen generated documentation exists <a href="https://json-c.github.io/json-c/">here</a>.</P>
|
<P>Doxygen generated documentation exists <a href="http://json-c.github.io/json-c/">here</a>.</P>
|
||||||
|
|
||||||
<h3><a href="https://github.com/json-c/json-c">GIT Reposository</a></h3>
|
<h3><a href="https://github.com/json-c/json-c">GIT Reposository</a></h3>
|
||||||
<p><strong><code>git clone https://github.com/json-c/json-c.git</code></strong></p>
|
<p><strong><code>git clone https://github.com/json-c/json-c.git</code></strong></p>
|
||||||
|
|
||||||
<h3><a href="https://groups.google.com/group/json-c">Mailing List</a></h3>
|
<h3><a href="http://groups.google.com/group/json-c">Mailing List</a></h3>
|
||||||
<pi>Send email to <strong><code>json-c <i><at></i> googlegroups <i><dot></i> com</code></strong></p>
|
<pi>Send email to <strong><code>json-c <i><at></i> googlegroups <i><dot></i> com</code></strong></p>
|
||||||
|
|
||||||
<h3><a href="COPYING">License</a></h3>
|
<h3><a href="COPYING">License</a></h3>
|
||||||
|
|||||||
207
README.md
@@ -1,74 +1,41 @@
|
|||||||
\mainpage
|
`json-c`
|
||||||
|
|
||||||
json-c
|
|
||||||
========
|
========
|
||||||
|
|
||||||
1. [Overview and Build Status](#overview)
|
1. [Overview and Build Status](#overview)
|
||||||
2. [Getting Help](#gettinghelp)
|
2. [Building on Unix](#buildunix)
|
||||||
3. [Building on Unix](#buildunix)
|
|
||||||
* [Prerequisites](#installprereq)
|
* [Prerequisites](#installprereq)
|
||||||
* [Build commands](#buildcmds)
|
* [Build commands](#buildcmds)
|
||||||
4. [CMake options](#CMake)
|
3. [CMake options](#CMake)
|
||||||
5. [Testing](#testing)
|
4. [Testing](#testing)
|
||||||
6. [Building with `vcpkg`](#buildvcpkg)
|
5. [Building with `vcpkg`](#buildvcpkg)
|
||||||
7. [Building for Android](#android)
|
6. [Linking to libjson-c](#linking)
|
||||||
7. [Linking to libjson-c](#linking)
|
7. [Using json-c](#using)
|
||||||
8. [Using json-c](#using)
|
|
||||||
|
|
||||||
<a name="overview"></a>
|
JSON-C - A JSON implementation in C <a name="overview"></a>
|
||||||
JSON-C - A JSON implementation in C
|
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
JSON-C implements a reference counting object model that allows you to easily
|
|
||||||
construct JSON objects in C, output them as JSON formatted strings and parse
|
|
||||||
JSON formatted strings back into the C representation of JSON objects.
|
|
||||||
It aims to conform to [RFC 8259](https://www.rfc-editor.org/rfc/rfc8259).
|
|
||||||
|
|
||||||
Skip down to [Using json-c](#using)
|
|
||||||
or check out the [API docs](https://json-c.github.io/json-c/),
|
|
||||||
if you already have json-c installed and ready to use.
|
|
||||||
|
|
||||||
Home page for json-c: https://github.com/json-c/json-c/wiki
|
|
||||||
|
|
||||||
<a name="gettinghelp"></a>
|
|
||||||
Getting Help
|
|
||||||
------------
|
|
||||||
|
|
||||||
If you have questions about using json-c, please start a thread on
|
|
||||||
our forums at: https://groups.google.com/forum/#!forum/json-c
|
|
||||||
|
|
||||||
If you believe you've discovered a bug, report it at
|
|
||||||
(https://github.com/json-c/json-c/issues). Please be sure to include
|
|
||||||
the version of json-c you're using, the OS you're running on, and any
|
|
||||||
other relevant details. Fully reproducible test cases and/or patches
|
|
||||||
to fix problems are greatly appreciated.
|
|
||||||
|
|
||||||
Fixes for bugs, or small new features can be directly submitted as a
|
|
||||||
[pull request](https://github.com/json-c/json-c/pulls). For major new
|
|
||||||
features or large changes of any kind, please first start a discussion
|
|
||||||
on the [forums](https://groups.google.com/forum/#!forum/json-c).
|
|
||||||
|
|
||||||
|
|
||||||
<a name="buildunix"></a>
|
|
||||||
Building on Unix with `git`, `gcc` and `cmake`
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
If you already have json-c installed, see [Linking to `libjson-c`](#linking)
|
|
||||||
for how to build and link your program against it.
|
|
||||||
|
|
||||||
Build Status
|
Build Status
|
||||||
* [AppVeyor Build](https://ci.appveyor.com/project/hawicz/json-c) 
|
* [AppVeyor Build](https://ci.appveyor.com/project/hawicz/json-c) 
|
||||||
* [Travis Build](https://app.travis-ci.com/github/json-c/json-c) 
|
* [Travis Build](https://travis-ci.org/json-c/json-c) 
|
||||||
|
|
||||||
Test Status
|
Test Status
|
||||||
* [Coveralls](https://coveralls.io/github/json-c/json-c?branch=master) [](https://coveralls.io/github/json-c/json-c?branch=master)
|
* [Coveralls](https://coveralls.io/github/json-c/json-c?branch=master) [](https://coveralls.io/github/json-c/json-c?branch=master)
|
||||||
|
|
||||||
<a name="installprereq"></a>
|
JSON-C implements a reference counting object model that allows you to easily
|
||||||
### Prerequisites:
|
construct JSON objects in C, output them as JSON formatted strings and parse
|
||||||
|
JSON formatted strings back into the C representation of JSON objects.
|
||||||
|
It aims to conform to [RFC 7159](https://tools.ietf.org/html/rfc7159).
|
||||||
|
|
||||||
|
Building on Unix with `git`, `gcc` and `cmake` <a name="buildunix"></a>
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
|
Home page for json-c: https://github.com/json-c/json-c/wiki
|
||||||
|
|
||||||
|
### Prerequisites: <a name="installprereq"></a>
|
||||||
|
|
||||||
- `gcc`, `clang`, or another C compiler
|
- `gcc`, `clang`, or another C compiler
|
||||||
|
|
||||||
- `cmake>=2.8`, `>=3.16` recommended, `cmake=>3.1` for tests
|
- cmake>=2.8, >=3.16 recommended
|
||||||
|
|
||||||
To generate docs you'll also need:
|
To generate docs you'll also need:
|
||||||
- `doxygen>=1.8.13`
|
- `doxygen>=1.8.13`
|
||||||
@@ -84,8 +51,7 @@ sudo apt install doxygen # optional
|
|||||||
sudo apt install valgrind # optional
|
sudo apt install valgrind # optional
|
||||||
```
|
```
|
||||||
|
|
||||||
<a name="buildcmds"></a>
|
### Build instructions: <a name="buildcmds"></a>
|
||||||
### Build instructions:
|
|
||||||
|
|
||||||
`json-c` GitHub repo: https://github.com/json-c/json-c
|
`json-c` GitHub repo: https://github.com/json-c/json-c
|
||||||
|
|
||||||
@@ -106,13 +72,13 @@ Then:
|
|||||||
$ make
|
$ make
|
||||||
$ make test
|
$ make test
|
||||||
$ make USE_VALGRIND=0 test # optionally skip using valgrind
|
$ make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||||
$ sudo make install # it could be necessary to execute make install
|
$ make install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Generating documentation with Doxygen:
|
### Generating documentation with Doxygen:
|
||||||
|
|
||||||
The library documentation can be generated directly from the source code using Doxygen tool:
|
The libray documentation can be generated directly from the source codes using Doxygen tool:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# in build directory
|
# in build directory
|
||||||
@@ -121,34 +87,26 @@ google-chrome doc/html/index.html
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
<a name="CMake"></a>
|
CMake Options <a name="CMake"></a>
|
||||||
CMake Options
|
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
The json-c library is built with [CMake](https://cmake.org/cmake-tutorial/),
|
The json-c library is built with [CMake](https://cmake.org/cmake-tutorial/),
|
||||||
which can take a few options.
|
which can take a few options.
|
||||||
|
|
||||||
Variable | Type | Description
|
Variable | Type | Description
|
||||||
-----------------------------|--------|--------------
|
---------------------|--------|--------------
|
||||||
CMAKE_INSTALL_PREFIX | String | The install location.
|
CMAKE_INSTALL_PREFIX | String | The install location.
|
||||||
CMAKE_BUILD_TYPE | String | Defaults to "debug".
|
CMAKE_BUILD_TYPE | String | Defaults to "debug"
|
||||||
BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only.
|
BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library instead.
|
||||||
BUILD_STATIC_LIBS | Bool | The default build generates a static (lib/a) library. Set this to OFF to create a shared library only.
|
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed
|
||||||
DISABLE_STATIC_FPIC | Bool | The default builds position independent code. Set this to OFF to create a shared library only.
|
ENABLE_THREADING | Bool | Enable partial threading support
|
||||||
DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions.
|
DISABLE_WERROR | Bool | Disable use of -Werror
|
||||||
DISABLE_THREAD_LOCAL_STORAGE | Bool | Disable use of Thread-Local Storage (HAVE___THREAD).
|
DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions
|
||||||
DISABLE_WERROR | Bool | Disable use of -Werror.
|
|
||||||
DISABLE_EXTRA_LIBS | Bool | Disable use of extra libraries, libbsd
|
|
||||||
DISABLE_JSON_POINTER | Bool | Omit json_pointer support from the build.
|
|
||||||
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed.
|
|
||||||
ENABLE_THREADING | Bool | Enable partial threading support.
|
|
||||||
OVERRIDE_GET_RANDOM_SEED | String | A block of code to use instead of the default implementation of json_c_get_random_seed(), e.g. on embedded platforms where not even the fallback to time() works. Must be a single line.
|
|
||||||
|
|
||||||
Pass these options as `-D` on CMake's command-line.
|
Pass these options as `-D` on CMake's command-line.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# build a static library only
|
cmake -DBUILD_SHARED_LIBS=OFF ...
|
||||||
cmake -DBUILD_SHARED_LIBS=OFF ..
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Building with partial threading support
|
### Building with partial threading support
|
||||||
@@ -194,8 +152,7 @@ cmake-configure can take a few options.
|
|||||||
| disable-werror | Avoid treating compiler warnings as fatal errors |
|
| disable-werror | Avoid treating compiler warnings as fatal errors |
|
||||||
|
|
||||||
|
|
||||||
<a name="testing"></a>
|
Testing: <a name="testing"></a>
|
||||||
Testing:
|
|
||||||
----------
|
----------
|
||||||
|
|
||||||
By default, if valgrind is available running tests uses it.
|
By default, if valgrind is available running tests uses it.
|
||||||
@@ -222,7 +179,7 @@ If a test fails, check `Testing/Temporary/LastTest.log`,
|
|||||||
`tests/testSubDir/${testname}/${testname}.vg.out`, and other similar files.
|
`tests/testSubDir/${testname}/${testname}.vg.out`, and other similar files.
|
||||||
If there is insufficient output try:
|
If there is insufficient output try:
|
||||||
```sh
|
```sh
|
||||||
VERBOSE=1 CTEST_OUTPUT_ON_FAILURE=1 make test
|
VERBOSE=1 make test
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```sh
|
```sh
|
||||||
@@ -231,8 +188,7 @@ JSONC_TEST_TRACE=1 make test
|
|||||||
and check the log files again.
|
and check the log files again.
|
||||||
|
|
||||||
|
|
||||||
<a name="buildvcpkg"></a>
|
Building on Unix and Windows with `vcpkg` <a name="buildvcpkg"></a>
|
||||||
Building on Unix and Windows with `vcpkg`
|
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
You can download and install JSON-C using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
|
You can download and install JSON-C using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
|
||||||
@@ -245,33 +201,8 @@ You can download and install JSON-C using the [vcpkg](https://github.com/Microso
|
|||||||
|
|
||||||
The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
||||||
|
|
||||||
<a name="android">
|
|
||||||
Building for Android
|
|
||||||
----------------------
|
|
||||||
|
|
||||||
Building on Android is now particularly well supported, but there
|
Linking to `libjson-c` <a name="linking">
|
||||||
have been some reports of success using
|
|
||||||
https://developer.android.com/ndk/guides/cmake
|
|
||||||
|
|
||||||
```
|
|
||||||
mkdir json-c-build
|
|
||||||
cd json-c-build/
|
|
||||||
export NDK_HOME=~/Library/Android/sdk/ndk/22.1.7171670/
|
|
||||||
cmake \
|
|
||||||
--toolchain=$NDK_HOME/build/cmake/android.toolchain.cmake \
|
|
||||||
-DANDROID_STL=none \
|
|
||||||
-DANDROID_ABI=arm64-v8a \
|
|
||||||
-DANDROID_PLATFORM=android-29 \
|
|
||||||
-DANDROID_LD=lld \
|
|
||||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=<install prefix> \
|
|
||||||
-DENABLE_THREADING=true \
|
|
||||||
..
|
|
||||||
make install
|
|
||||||
```
|
|
||||||
|
|
||||||
<a name="linking">
|
|
||||||
Linking to `libjson-c`
|
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
If your system has `pkgconfig`,
|
If your system has `pkgconfig`,
|
||||||
@@ -282,75 +213,27 @@ CFLAGS += $(shell pkg-config --cflags json-c)
|
|||||||
LDFLAGS += $(shell pkg-config --libs json-c)
|
LDFLAGS += $(shell pkg-config --libs json-c)
|
||||||
```
|
```
|
||||||
|
|
||||||
Without `pkgconfig`, you might do something like this:
|
Without `pkgconfig`, you would do something like this:
|
||||||
|
|
||||||
```make
|
```make
|
||||||
JSON_C_DIR=/path/to/json_c/install
|
JSON_C_DIR=/path/to/json_c/install
|
||||||
CFLAGS += -I$(JSON_C_DIR)/include/json-c
|
CFLAGS += -I$(JSON_C_DIR)/include/json-c
|
||||||
# Or to use lines like: #include <json-c/json_object.h>
|
|
||||||
#CFLAGS += -I$(JSON_C_DIR)/include
|
|
||||||
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
|
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
|
||||||
```
|
```
|
||||||
|
|
||||||
If your project uses cmake:
|
|
||||||
|
|
||||||
* Add to your CMakeLists.txt file:
|
Using json-c <a name="using">
|
||||||
|
|
||||||
```cmake
|
|
||||||
find_package(json-c CONFIG)
|
|
||||||
target_link_libraries(${PROJECT_NAME} PRIVATE json-c::json-c)
|
|
||||||
```
|
|
||||||
|
|
||||||
* Then you might run in your project:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cd build
|
|
||||||
cmake -DCMAKE_PREFIX_PATH=/path/to/json_c/install/lib64/cmake ..
|
|
||||||
```
|
|
||||||
|
|
||||||
<a name="using">
|
|
||||||
Using json-c
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
To use json-c you can either include json.h, or preferably, one of the
|
To use json-c you can either include json.h, or preferrably, one of the
|
||||||
following more specific header files:
|
following more specific header files:
|
||||||
|
|
||||||
* json_object.h - Core types and methods.
|
* json_object.h - Core types and methods.
|
||||||
* json_tokener.h - Methods for parsing and serializing json-c object trees.
|
* json_tokener.h - Methods for parsing and serializing json-c object trees.
|
||||||
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
|
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
|
||||||
objects from a json-c object tree.
|
objects from a json-c object tree.
|
||||||
* json_object_iterator.h - Methods for iterating over single json_object instances. (See also `json_object_object_foreach()` in json_object.h)
|
* json_object_iterator.h - Methods for iterating over single json_object instances.
|
||||||
* json_visit.h - Methods for walking a tree of json-c objects.
|
* json_visit.h - Methods for walking a tree of json-c objects.
|
||||||
* json_util.h - Miscellaneous utility functions.
|
* json_util.h - Miscelleanous utility functions.
|
||||||
|
|
||||||
For a full list of headers see [files.html](https://json-c.github.io/json-c/json-c-current-release/doc/html/files.html)
|
|
||||||
|
|
||||||
The primary type in json-c is json_object. It describes a reference counted
|
|
||||||
tree of json objects which are created by either parsing text with a
|
|
||||||
json_tokener (i.e. `json_tokener_parse_ex()`), or by creating
|
|
||||||
(with `json_object_new_object()`, `json_object_new_int()`, etc...) and adding
|
|
||||||
(with `json_object_object_add()`, `json_object_array_add()`, etc...) them
|
|
||||||
individually.
|
|
||||||
Typically, every object in the tree will have one reference, from its parent.
|
|
||||||
When you are done with the tree of objects, you call json_object_put() on just
|
|
||||||
the root object to free it, which recurses down through any child objects
|
|
||||||
calling json_object_put() on each one of those in turn.
|
|
||||||
|
|
||||||
You can get a reference to a single child
|
|
||||||
(`json_object_object_get()` or `json_object_array_get_idx()`)
|
|
||||||
and use that object as long as its parent is valid.
|
|
||||||
If you need a child object to live longer than its parent, you can
|
|
||||||
increment the child's refcount (`json_object_get()`) to allow it to survive
|
|
||||||
the parent being freed or it being removed from its parent
|
|
||||||
(`json_object_object_del()` or `json_object_array_del_idx()`)
|
|
||||||
|
|
||||||
When parsing text, the json_tokener object is independent from the json_object
|
|
||||||
that it returns. It can be allocated (`json_tokener_new()`)
|
|
||||||
used one or multiple times (`json_tokener_parse_ex()`, and
|
|
||||||
freed (`json_tokener_free()`) while the json_object objects live on.
|
|
||||||
|
|
||||||
A json_object tree can be serialized back into a string with
|
|
||||||
`json_object_to_json_string_ext()`. The string that is returned
|
|
||||||
is only valid until the next "to_json_string" call on that same object.
|
|
||||||
Also, it is freed when the json_object is freed.
|
|
||||||
|
|
||||||
|
For a full list of headers see [files.html](http://json-c.github.io/json-c/json-c-0.13.1/doc/html/files.html)
|
||||||
|
|||||||
@@ -16,19 +16,9 @@
|
|||||||
changes (added/removed/updated funcs, etc...), and detect backwards compat
|
changes (added/removed/updated funcs, etc...), and detect backwards compat
|
||||||
issues.
|
issues.
|
||||||
* https://github.com/lvc/abi-compliance-checker
|
* https://github.com/lvc/abi-compliance-checker
|
||||||
* See also `abi-check.sh`
|
|
||||||
* If the new release is not backwards compatible, then this is a MAJOR release.
|
* If the new release is not backwards compatible, then this is a MAJOR release.
|
||||||
* Mention removed features in ChangeLog
|
* Mention removed features in ChangeLog
|
||||||
* Consider re-adding backwards compatible support, through symbol
|
|
||||||
aliases and appropriate entries in json-c.sym
|
|
||||||
* Be sure any new symbols are listed in json-c.sym as part of
|
|
||||||
the _new_ release version.
|
|
||||||
* Update the AUTHORS file
|
* Update the AUTHORS file
|
||||||
|
|
||||||
PREV=$(git tag | tail -1)
|
|
||||||
( git log -r ${PREV}..HEAD | grep Author: | sed -e's/Author: //' ; cat AUTHORS ) | sort -u > A1
|
|
||||||
mv A1 AUTHORS
|
|
||||||
|
|
||||||
* Exclude mentioning changes that have already been included in a point
|
* Exclude mentioning changes that have already been included in a point
|
||||||
release of the previous release branch.
|
release of the previous release branch.
|
||||||
|
|
||||||
@@ -41,33 +31,30 @@
|
|||||||
## Release creation
|
## Release creation
|
||||||
|
|
||||||
Start creating the new release:
|
Start creating the new release:
|
||||||
|
release=0.14
|
||||||
PREV=$(git tag | tail -1)
|
|
||||||
PREV=${PREV#json-c-}
|
|
||||||
PREV=${PREV%-*}
|
|
||||||
release=0.$((${PREV#*.} + 1))
|
|
||||||
cd ~
|
|
||||||
git clone https://github.com/json-c/json-c json-c-${release}
|
git clone https://github.com/json-c/json-c json-c-${release}
|
||||||
|
|
||||||
rm -rf distcheck
|
|
||||||
mkdir distcheck
|
mkdir distcheck
|
||||||
cd distcheck
|
cd distcheck
|
||||||
# Note, the build directory *must* be entirely separate from
|
# Note, the build directory *must* be entirely separate from
|
||||||
# the source tree for distcheck to work properly.
|
# the source tree for distcheck to work properly.
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release ../json-c-${release}
|
cmake ../json-c-${release}
|
||||||
make distcheck
|
make distcheck
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
Make any fixes/changes *before* branching.
|
Make any fixes/changes *before* branching.
|
||||||
|
|
||||||
cd json-c-${release}
|
cd json-c-${release}
|
||||||
git checkout -b json-c-${release}
|
git branch json-c-${release}
|
||||||
|
git checkout json-c-${release}
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Using ${release}:
|
Using ${release}:
|
||||||
Update the version in json_c_version.h
|
Update the version in json_c_version.h
|
||||||
|
Update the version in Doxyfile (PROJECT_NUMBER)
|
||||||
Update the version in CMakeLists.txt (VERSION in the project(...) line)
|
Update the version in CMakeLists.txt (VERSION in the project(...) line)
|
||||||
|
Update the version in config.h.win32 (several places)
|
||||||
|
|
||||||
Update the set_target_properties() line in CmakeLists.txt to set the shared
|
Update the set_target_properties() line in CmakeLists.txt to set the shared
|
||||||
library version. Generally, unless we're doing a major release, change:
|
library version. Generally, unless we're doing a major release, change:
|
||||||
@@ -77,20 +64,13 @@ to
|
|||||||
|
|
||||||
git commit -a -m "Bump version to ${release}"
|
git commit -a -m "Bump version to ${release}"
|
||||||
|
|
||||||
If we're doing a major release (SONAME bump), also bump the version
|
|
||||||
of ALL symbols in json-c.sym.
|
|
||||||
See explanation at https://github.com/json-c/json-c/issues/621
|
|
||||||
More info at: https://software.intel.com/sites/default/files/m/a/1/e/dsohowto.pdf
|
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Generate the doxygen documentation:
|
Generate the doxygen documentation:
|
||||||
|
|
||||||
(cd ../distcheck && make doc)
|
doxygen
|
||||||
cp -r -p ../distcheck/doc/{html,Doxyfile} doc/.
|
|
||||||
rm doc/Doxyfile # Remove generated file w/ hardcoded paths
|
|
||||||
git add -f doc
|
git add -f doc
|
||||||
git commit doc -m "Generate docs for the ${release} release"
|
git commit doc
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
@@ -100,11 +80,7 @@ Create the release tarballs:
|
|||||||
echo .git > excludes
|
echo .git > excludes
|
||||||
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
|
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
|
||||||
|
|
||||||
echo 'doc/*.cmake' >> excludes
|
echo doc >> excludes
|
||||||
echo 'doc/CMakeFiles' >> excludes
|
|
||||||
echo 'doc/Makefile' >> excludes
|
|
||||||
echo 'doc/Doxyfile' >> excludes
|
|
||||||
echo 'doc/html' >> excludes
|
|
||||||
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
|
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
|
||||||
|
|
||||||
------------
|
------------
|
||||||
@@ -122,9 +98,8 @@ Tag the branch:
|
|||||||
Go to Amazon S3 service at:
|
Go to Amazon S3 service at:
|
||||||
https://console.aws.amazon.com/s3/
|
https://console.aws.amazon.com/s3/
|
||||||
|
|
||||||
Upload the two tarballs in the json-c_releases/releases folder.
|
Upload the two tarballs in the json-c_releases folder.
|
||||||
* Expand "Permissions", pick "Grant public-read access"
|
When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
|
||||||
* Expand "Properties", ensure "Standard" storage class is picked.
|
|
||||||
|
|
||||||
Logout of Amazon S3, and verify that the files are visible.
|
Logout of Amazon S3, and verify that the files are visible.
|
||||||
https://s3.amazonaws.com/json-c_releases/releases/index.html
|
https://s3.amazonaws.com/json-c_releases/releases/index.html
|
||||||
@@ -139,15 +114,14 @@ Add new section to ChangeLog for ${release}+1
|
|||||||
|
|
||||||
Use ${release}.99 to indicate a version "newer" than anything on the branch:
|
Use ${release}.99 to indicate a version "newer" than anything on the branch:
|
||||||
Update the version in json_c_version.h
|
Update the version in json_c_version.h
|
||||||
|
Update the version in Doxyfile
|
||||||
Update the version in CMakeLists.txt
|
Update the version in CMakeLists.txt
|
||||||
|
Update the version in config.h.win32
|
||||||
|
|
||||||
|
Update RELEASE_CHECKLIST.txt, set release=${release}+1
|
||||||
|
|
||||||
Update the set_target_properties() line in CmakeLists.txt to match the release branch.
|
Update the set_target_properties() line in CmakeLists.txt to match the release branch.
|
||||||
|
|
||||||
Add a new empty section to the json-c.sym file, for ${release}+1
|
|
||||||
|
|
||||||
git commit -a -m "Update the master branch to version ${release}.99"
|
|
||||||
git push
|
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Update the gh-pages branch with new docs:
|
Update the gh-pages branch with new docs:
|
||||||
@@ -161,14 +135,12 @@ Update the gh-pages branch with new docs:
|
|||||||
mkdir json-c-${release}
|
mkdir json-c-${release}
|
||||||
cp -R ../json-c-${release}/doc json-c-${release}/.
|
cp -R ../json-c-${release}/doc json-c-${release}/.
|
||||||
git add json-c-${release}
|
git add json-c-${release}
|
||||||
rm json-c-current-release
|
git commit
|
||||||
ln -s json-c-${release} json-c-current-release
|
|
||||||
git commit -a -m "Add the ${release} docs."
|
|
||||||
|
|
||||||
vi index.html
|
vi index.html
|
||||||
# Add/change links to current release.
|
# Add/change links to current release.
|
||||||
|
|
||||||
git commit -a -m "Update the doc links to point at ${release}"
|
git commit index.html
|
||||||
|
|
||||||
git push
|
git push
|
||||||
|
|
||||||
@@ -181,8 +153,7 @@ Update checksums on wiki page.
|
|||||||
openssl md5 json-c*gz
|
openssl md5 json-c*gz
|
||||||
|
|
||||||
Copy and paste this output into the wiki page at:
|
Copy and paste this output into the wiki page at:
|
||||||
* https://github.com/json-c/json-c/wiki
|
https://github.com/json-c/json-c/wiki
|
||||||
* https://github.com/json-c/json-c/wiki/Old-Releases
|
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|||||||
42
abi-check.sh
@@ -1,42 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
prev=0.16
|
|
||||||
release=0.17
|
|
||||||
|
|
||||||
# ... clone json-c, abi-compliance-checker, abi-dumper
|
|
||||||
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
|
|
||||||
make && make test && make install
|
|
||||||
|
|
||||||
# Assume the old version has already been built
|
|
||||||
|
|
||||||
cd ~/abi-compliance-checker
|
|
||||||
mkxml()
|
|
||||||
{
|
|
||||||
ver="$1"
|
|
||||||
cat <<EOF > json-c-${ver}.xml
|
|
||||||
<foo>
|
|
||||||
<version>
|
|
||||||
${ver}
|
|
||||||
</version>
|
|
||||||
|
|
||||||
<headers>
|
|
||||||
../json-c-installs/json-c-${ver}/include/json-c
|
|
||||||
</headers>
|
|
||||||
|
|
||||||
<libs>
|
|
||||||
../json-c-installs/json-c-${ver}/lib64/libjson-c.so
|
|
||||||
</libs>
|
|
||||||
</foo>
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
mkxml ${release}
|
|
||||||
mkxml ${prev}
|
|
||||||
|
|
||||||
perl abi-compliance-checker.pl -lib json-c -dump json-c-${prev}.xml -dump-path ./ABI-${prev}.dump
|
|
||||||
perl abi-compliance-checker.pl -lib json-c -dump json-c-${release}.xml -dump-path ./ABI-${release}.dump
|
|
||||||
perl abi-compliance-checker.pl -l json-c -old ABI-${prev}.dump -new ABI-${release}.dump
|
|
||||||
|
|
||||||
echo "look in compat_reports/json-c/..."
|
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8) # see ../CMakeLists.txt for why 2.8
|
|
||||||
|
|
||||||
if(POLICY CMP0075)
|
|
||||||
cmake_policy(SET CMP0075 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(CheckSymbolExists)
|
|
||||||
include(CheckIncludeFile)
|
|
||||||
include(CMakePackageConfigHelpers)
|
|
||||||
|
|
||||||
# First, sort out whether we're running inside a json-c build,
|
|
||||||
# or standalone, such as part of a benchmark build.
|
|
||||||
|
|
||||||
if ("${PROJECT_NAME}" STREQUAL "json-c")
|
|
||||||
# Part of an overall json-c build
|
|
||||||
set(APPS_LINK_LIBS "${PROJECT_NAME}")
|
|
||||||
|
|
||||||
# We know we have this in our current sources:
|
|
||||||
set(HAVE_JSON_TOKENER_GET_PARSE_END)
|
|
||||||
|
|
||||||
else()
|
|
||||||
|
|
||||||
# Standalone mode, using an already installed json-c library, somewhere.
|
|
||||||
# The path to the json-c install must be specified with -DCMAKE_PREFIX_PATH=...
|
|
||||||
|
|
||||||
project(apps)
|
|
||||||
find_package(PkgConfig)
|
|
||||||
|
|
||||||
# PkgConfig is supposed to include CMAKE_PREFIX_PATH in the PKG_CONFIG_PATH
|
|
||||||
# that's used when running pkg-config, but it just doesn't work :(
|
|
||||||
# https://gitlab.kitware.com/cmake/cmake/issues/18150
|
|
||||||
#set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH True)
|
|
||||||
|
|
||||||
# Instead, we handle it explicitly here and update PKG_CONFIG_PATH ourselves.
|
|
||||||
if (NOT CMAKE_PREFIX_PATH)
|
|
||||||
message(FATAL_ERROR "Please specify -DCMAKE_PREFIX_PATH=... when running cmake.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Note: find_file isn't recursive :(
|
|
||||||
find_file(PC_FILE_PATH "json-c.pc"
|
|
||||||
PATHS "${CMAKE_PREFIX_PATH}/lib64" "${CMAKE_PREFIX_PATH}/lib"
|
|
||||||
PATH_SUFFIXES "pkgconfig"
|
|
||||||
NO_DEFAULT_PATH)
|
|
||||||
get_filename_component(PC_DIR_PATH "${PC_FILE_PATH}" DIRECTORY)
|
|
||||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${PC_DIR_PATH}")
|
|
||||||
message(STATUS "PC_FILE_PATH=${PC_FILE_PATH}")
|
|
||||||
message(STATUS "PC_DIR_PATH=${PC_DIR_PATH}")
|
|
||||||
|
|
||||||
pkg_check_modules(PC_JSONC json-c)
|
|
||||||
if (PC_JSONC_FOUND)
|
|
||||||
message(STATUS "Found json-c using pkg-config: ${PC_JSONC_PREFIX}")
|
|
||||||
message(STATUS " PC_JSONC_INCLUDE_DIRS=${PC_JSONC_INCLUDE_DIRS}")
|
|
||||||
message(STATUS " PC_JSONC_LIBRARIES=${PC_JSONC_LIBRARIES}")
|
|
||||||
message(STATUS " PC_JSONC_LIBRARY_DIRS=${PC_JSONC_LIBRARY_DIRS}")
|
|
||||||
link_directories(${PC_JSONC_LIBRARY_DIRS})
|
|
||||||
include_directories(${PC_JSONC_INCLUDE_DIRS})
|
|
||||||
# for target_link_libraries(...)
|
|
||||||
set(APPS_INCLUDE_DIRS ${PC_JSONC_INCLUDE_DIRS})
|
|
||||||
set(APPS_LINK_DIRS ${PC_JSONC_LIBRARY_DIRS})
|
|
||||||
set(APPS_LINK_LIBS ${PC_JSONC_LIBRARIES})
|
|
||||||
else()
|
|
||||||
message(STATUS "Using find_package to locate json-c")
|
|
||||||
|
|
||||||
# Note: find_package needs CMAKE_PREFIX_PATH set appropriately.
|
|
||||||
# XXX json-c's installed cmake files don't actually set up what's
|
|
||||||
# needed to use find_package() by itself, so we're just using it
|
|
||||||
# to confirm the top of the install location.
|
|
||||||
find_package(json-c CONFIG) # sets json-c_DIR
|
|
||||||
|
|
||||||
# Assume json-c-config.cmake is in lib64/cmake/json-c/
|
|
||||||
get_filename_component(json-c_TOP "${json-c_DIR}/../../.." ABSOLUTE)
|
|
||||||
get_filename_component(json-c_LIBDIR "${json-c_DIR}/../.." ABSOLUTE)
|
|
||||||
|
|
||||||
message(STATUS " json-c_TOP=${json-c_TOP}")
|
|
||||||
message(STATUS " json-c_DIR=${json-c_DIR}")
|
|
||||||
message(STATUS " json-c_LIBDIR=${json-c_LIBDIR}")
|
|
||||||
|
|
||||||
link_directories(${json-c_LIBDIR})
|
|
||||||
include_directories(${json-c_TOP}/include)
|
|
||||||
include_directories(${json-c_TOP}/include/json-c)
|
|
||||||
set(APPS_LINK_DIRS "${json-c_LIBDIR}")
|
|
||||||
set(APPS_INCLUDE_DIRS "${json-c_TOP}/include;${json-c_TOP}/include/json-c")
|
|
||||||
|
|
||||||
set(APPS_LINK_LIBS json-c)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_LINK_OPTIONS "-L${APPS_LINK_DIRS}")
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${APPS_LINK_LIBS})
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${APPS_INCLUDE_DIRS})
|
|
||||||
check_symbol_exists(json_tokener_get_parse_end "json_tokener.h" HAVE_JSON_TOKENER_GET_PARSE_END)
|
|
||||||
|
|
||||||
endif() # end "standalone mode" block
|
|
||||||
|
|
||||||
# ---------------------------------
|
|
||||||
|
|
||||||
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
|
|
||||||
if (HAVE_SYS_RESOURCE_H)
|
|
||||||
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/apps_config.h.in
|
|
||||||
${PROJECT_BINARY_DIR}/apps_config.h)
|
|
||||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/apps_config.h")
|
|
||||||
|
|
||||||
# ---------------------------------
|
|
||||||
|
|
||||||
include_directories(PUBLIC ${CMAKE_SOURCE_DIR})
|
|
||||||
include_directories(${PROJECT_SOURCE_DIR})
|
|
||||||
include_directories(${PROJECT_BINARY_DIR})
|
|
||||||
|
|
||||||
# ---------------------------------
|
|
||||||
|
|
||||||
# Now, finally, the actual executables we're building:
|
|
||||||
|
|
||||||
add_executable(json_parse json_parse.c)
|
|
||||||
target_link_libraries(json_parse PRIVATE ${APPS_LINK_LIBS})
|
|
||||||
|
|
||||||
# Note: it is intentional that there are no install instructions here yet.
|
|
||||||
# When/if the interface of the app(s) listed here settles down enough to
|
|
||||||
# publish as part of a regular build that will be added.
|
|
||||||
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
||||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
|
||||||
|
|
||||||
/* Define if you have the `getrusage' function. */
|
|
||||||
#cmakedefine HAVE_GETRUSAGE
|
|
||||||
|
|
||||||
#cmakedefine HAVE_JSON_TOKENER_GET_PARSE_END
|
|
||||||
@@ -1,204 +0,0 @@
|
|||||||
#include <assert.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <getopt.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include "apps_config.h"
|
|
||||||
|
|
||||||
/* XXX for a regular program, these should be <json-c/foo.h>
|
|
||||||
* but that's inconvenient when building in the json-c source tree.
|
|
||||||
*/
|
|
||||||
#include "json_object.h"
|
|
||||||
#include "json_tokener.h"
|
|
||||||
#include "json_util.h"
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_RESOURCE_H
|
|
||||||
#include <sys/resource.h>
|
|
||||||
#include <sys/time.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef JSON_NORETURN
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#define JSON_NORETURN __declspec(noreturn)
|
|
||||||
#elif defined(__OS400__)
|
|
||||||
#define JSON_NORETURN
|
|
||||||
#else
|
|
||||||
/* 'cold' attribute is for optimization, telling the computer this code
|
|
||||||
* path is unlikely.
|
|
||||||
*/
|
|
||||||
#define JSON_NORETURN __attribute__((noreturn, cold))
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int formatted_output = JSON_C_TO_STRING_SPACED;
|
|
||||||
static int show_output = 1;
|
|
||||||
static int strict_mode = 0;
|
|
||||||
static int color = 0;
|
|
||||||
static const char *fname = NULL;
|
|
||||||
|
|
||||||
#ifndef HAVE_JSON_TOKENER_GET_PARSE_END
|
|
||||||
#define json_tokener_get_parse_end(tok) ((tok)->char_offset)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
JSON_NORETURN static void usage(const char *argv0, int exitval, const char *errmsg);
|
|
||||||
static void showmem(void);
|
|
||||||
static int parseit(int fd, int (*callback)(struct json_object *));
|
|
||||||
static int showobj(struct json_object *new_obj);
|
|
||||||
|
|
||||||
static void showmem(void)
|
|
||||||
{
|
|
||||||
#ifdef HAVE_GETRUSAGE
|
|
||||||
struct rusage rusage;
|
|
||||||
memset(&rusage, 0, sizeof(rusage));
|
|
||||||
getrusage(RUSAGE_SELF, &rusage);
|
|
||||||
fprintf(stderr, "maxrss: %ld KB\n", rusage.ru_maxrss);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
static int parseit(int fd, int (*callback)(struct json_object *))
|
|
||||||
{
|
|
||||||
struct json_object *obj;
|
|
||||||
char buf[32768];
|
|
||||||
ssize_t ret;
|
|
||||||
int depth = JSON_TOKENER_DEFAULT_DEPTH;
|
|
||||||
json_tokener *tok;
|
|
||||||
|
|
||||||
tok = json_tokener_new_ex(depth);
|
|
||||||
if (!tok)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "unable to allocate json_tokener: %s\n", strerror(errno));
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
json_tokener_set_flags(tok, JSON_TOKENER_STRICT
|
|
||||||
#ifdef JSON_TOKENER_ALLOW_TRAILING_CHARS
|
|
||||||
| JSON_TOKENER_ALLOW_TRAILING_CHARS
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
|
|
||||||
// XXX push this into some kind of json_tokener_parse_fd API?
|
|
||||||
// json_object_from_fd isn't flexible enough, and mirroring
|
|
||||||
// everything you can do with a tokener into json_util.c seems
|
|
||||||
// like the wrong approach.
|
|
||||||
size_t total_read = 0;
|
|
||||||
while ((ret = read(fd, buf, sizeof(buf))) > 0)
|
|
||||||
{
|
|
||||||
size_t retu = (size_t)ret; // We know it's positive
|
|
||||||
total_read += retu;
|
|
||||||
size_t start_pos = 0;
|
|
||||||
while (start_pos != retu)
|
|
||||||
{
|
|
||||||
obj = json_tokener_parse_ex(tok, &buf[start_pos], retu - start_pos);
|
|
||||||
enum json_tokener_error jerr = json_tokener_get_error(tok);
|
|
||||||
size_t parse_end = json_tokener_get_parse_end(tok);
|
|
||||||
if (obj == NULL && jerr != json_tokener_continue)
|
|
||||||
{
|
|
||||||
const char *aterr = (start_pos + parse_end < (int)sizeof(buf)) ?
|
|
||||||
&buf[start_pos + parse_end] : "";
|
|
||||||
fflush(stdout);
|
|
||||||
size_t fail_offset = total_read - retu + start_pos + parse_end;
|
|
||||||
fprintf(stderr, "Failed at offset %lu: %s %c\n", (unsigned long)fail_offset,
|
|
||||||
json_tokener_error_desc(jerr), aterr[0]);
|
|
||||||
json_tokener_free(tok);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
if (obj != NULL)
|
|
||||||
{
|
|
||||||
int cb_ret = callback(obj);
|
|
||||||
json_object_put(obj);
|
|
||||||
if (cb_ret != 0)
|
|
||||||
{
|
|
||||||
json_tokener_free(tok);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
start_pos += json_tokener_get_parse_end(tok);
|
|
||||||
assert(start_pos <= retu);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (ret < 0)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "error reading fd %d: %s\n", fd, strerror(errno));
|
|
||||||
}
|
|
||||||
|
|
||||||
json_tokener_free(tok);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int showobj(struct json_object *new_obj)
|
|
||||||
{
|
|
||||||
if (new_obj == NULL)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "%s: Failed to parse\n", fname);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
fprintf(stderr, "Successfully parsed object from %s\n", fname);
|
|
||||||
|
|
||||||
if (show_output)
|
|
||||||
{
|
|
||||||
const char *output;
|
|
||||||
output = json_object_to_json_string_ext(new_obj, formatted_output | color);
|
|
||||||
printf("%s\n", output);
|
|
||||||
}
|
|
||||||
|
|
||||||
showmem();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void usage(const char *argv0, int exitval, const char *errmsg)
|
|
||||||
{
|
|
||||||
FILE *fp = stdout;
|
|
||||||
if (exitval != 0)
|
|
||||||
fp = stderr;
|
|
||||||
if (errmsg != NULL)
|
|
||||||
fprintf(fp, "ERROR: %s\n\n", errmsg);
|
|
||||||
fprintf(fp, "Usage: %s [-f|-F <arg>] [-n] [-s]\n", argv0);
|
|
||||||
fprintf(fp, " -f - Format the output to stdout with JSON_C_TO_STRING_PRETTY (default is JSON_C_TO_STRING_SPACED)\n");
|
|
||||||
fprintf(fp, " -F - Format the output to stdout with <arg>, e.g. 0 for JSON_C_TO_STRING_PLAIN\n");
|
|
||||||
fprintf(fp, " -n - No output\n");
|
|
||||||
fprintf(fp, " -c - color\n");
|
|
||||||
fprintf(fp, " -s - Parse in strict mode, flags:\n");
|
|
||||||
fprintf(fp, " JSON_TOKENER_STRICT|JSON_TOKENER_ALLOW_TRAILING_CHARS\n");
|
|
||||||
fprintf(fp, " Diagnostic information will be emitted to stderr\n");
|
|
||||||
|
|
||||||
fprintf(fp, "\nWARNING WARNING WARNING\n");
|
|
||||||
fprintf(fp, "This is a prototype, it may change or be removed at any time!\n");
|
|
||||||
exit(exitval);
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
int opt;
|
|
||||||
|
|
||||||
while ((opt = getopt(argc, argv, "fF:hnsc")) != -1)
|
|
||||||
{
|
|
||||||
switch (opt)
|
|
||||||
{
|
|
||||||
case 'f': formatted_output = JSON_C_TO_STRING_PRETTY; break;
|
|
||||||
case 'F': formatted_output = atoi(optarg); break;
|
|
||||||
case 'n': show_output = 0; break;
|
|
||||||
case 's': strict_mode = 1; break;
|
|
||||||
case 'c': color = JSON_C_TO_STRING_COLOR; break;
|
|
||||||
case 'h': usage(argv[0], 0, NULL);
|
|
||||||
default: /* '?' */ usage(argv[0], EXIT_FAILURE, "Unknown arguments");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (optind >= argc)
|
|
||||||
{
|
|
||||||
usage(argv[0], EXIT_FAILURE, "Expected argument after options");
|
|
||||||
}
|
|
||||||
fname = argv[optind];
|
|
||||||
|
|
||||||
int fd = open(argv[optind], O_RDONLY, 0);
|
|
||||||
showmem();
|
|
||||||
if (parseit(fd, showobj) != 0)
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
showmem();
|
|
||||||
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
122
appveyor.yml
@@ -1,125 +1,37 @@
|
|||||||
version: '{branch}.{build}'
|
version: '{branch}.{build}'
|
||||||
|
os: Windows Server 2012 R2
|
||||||
image:
|
|
||||||
# b_toolset: v143
|
|
||||||
- Visual Studio 2022
|
|
||||||
|
|
||||||
# VS2015 also used for earlier VS builds
|
|
||||||
# aka os: Windows Server 2012 R2
|
|
||||||
- Visual Studio 2015
|
|
||||||
|
|
||||||
# aka os: Windows Server 2016
|
|
||||||
# b_toolset: v141
|
|
||||||
- Visual Studio 2017
|
|
||||||
|
|
||||||
# aka os: Windows Server 2019
|
|
||||||
# b_toolset: v142
|
|
||||||
- Visual Studio 2019
|
|
||||||
|
|
||||||
platform: x64
|
platform: x64
|
||||||
|
|
||||||
|
# There should be a better way to set-up a build matrix.
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- b_toolset: Windows7.1SDK
|
- b_toolset: Windows7.1SDK
|
||||||
|
b_config: Debug
|
||||||
|
|
||||||
|
- b_toolset: Windows7.1SDK
|
||||||
|
b_config: Release
|
||||||
|
|
||||||
- b_toolset: v120
|
- b_toolset: v120
|
||||||
|
b_config: Debug
|
||||||
|
|
||||||
|
- b_toolset: v120
|
||||||
|
b_config: Release
|
||||||
|
|
||||||
- b_toolset: v140
|
- b_toolset: v140
|
||||||
|
b_config: Debug
|
||||||
|
|
||||||
- b_toolset: v141
|
- b_toolset: v140
|
||||||
|
b_config: Release
|
||||||
- b_toolset: v142
|
|
||||||
|
|
||||||
- b_toolset: v143
|
|
||||||
|
|
||||||
configuration:
|
|
||||||
- Debug
|
|
||||||
- Release
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_INSTALL_PREFIX=t_install .
|
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
|
||||||
- cmake --build . --target install
|
- cmake --build . --target install
|
||||||
|
|
||||||
matrix:
|
|
||||||
exclude:
|
|
||||||
# Skip release builds for all except the newest image
|
|
||||||
- image: Visual Studio 2015
|
|
||||||
configuration: Release
|
|
||||||
|
|
||||||
# In the "old" image, new toolsets aren't available:
|
|
||||||
- image: Visual Studio 2015
|
|
||||||
b_toolset: v141
|
|
||||||
|
|
||||||
- image: Visual Studio 2015
|
|
||||||
b_toolset: v142
|
|
||||||
|
|
||||||
- image: Visual Studio 2015
|
|
||||||
b_toolset: v143
|
|
||||||
|
|
||||||
# ----
|
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
|
||||||
configuration: Release
|
|
||||||
|
|
||||||
# In the "new" images, exclude all toolsets except the relevant
|
|
||||||
# one for that image:
|
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
|
||||||
b_toolset: Windows7.1SDK
|
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
|
||||||
b_toolset: v120
|
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
|
||||||
b_toolset: v140
|
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
|
||||||
b_toolset: v142
|
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
|
||||||
b_toolset: v143
|
|
||||||
|
|
||||||
# ----
|
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
|
||||||
configuration: Release
|
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
|
||||||
b_toolset: Windows7.1SDK
|
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
|
||||||
b_toolset: v120
|
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
|
||||||
b_toolset: v140
|
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
|
||||||
b_toolset: v141
|
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
|
||||||
b_toolset: v143
|
|
||||||
|
|
||||||
# ----
|
|
||||||
|
|
||||||
- image: Visual Studio 2022
|
|
||||||
b_toolset: Windows7.1SDK
|
|
||||||
|
|
||||||
- image: Visual Studio 2022
|
|
||||||
b_toolset: v120
|
|
||||||
|
|
||||||
- image: Visual Studio 2022
|
|
||||||
b_toolset: v140
|
|
||||||
|
|
||||||
- image: Visual Studio 2022
|
|
||||||
b_toolset: v141
|
|
||||||
|
|
||||||
- image: Visual Studio 2022
|
|
||||||
b_toolset: v142
|
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- cd t_install
|
- cd t_install
|
||||||
- 7z a ../json-c.win32.%b_toolset%.%CONFIGURATION%.zip *
|
- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
|
- path: json-c.win32.%b_toolset%.%b_config%.zip
|
||||||
name: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
|
name: json-c.win32.%b_toolset%.%b_config%.zip
|
||||||
|
|||||||
86
arraylist.c
@@ -37,23 +37,16 @@
|
|||||||
#include "arraylist.h"
|
#include "arraylist.h"
|
||||||
|
|
||||||
struct array_list *array_list_new(array_list_free_fn *free_fn)
|
struct array_list *array_list_new(array_list_free_fn *free_fn)
|
||||||
{
|
|
||||||
return array_list_new2(free_fn, ARRAY_LIST_DEFAULT_SIZE);
|
|
||||||
}
|
|
||||||
|
|
||||||
struct array_list *array_list_new2(array_list_free_fn *free_fn, int initial_size)
|
|
||||||
{
|
{
|
||||||
struct array_list *arr;
|
struct array_list *arr;
|
||||||
|
|
||||||
if (initial_size < 0 || (size_t)initial_size >= SIZE_T_MAX / sizeof(void *))
|
arr = (struct array_list *)calloc(1, sizeof(struct array_list));
|
||||||
return NULL;
|
|
||||||
arr = (struct array_list *)malloc(sizeof(struct array_list));
|
|
||||||
if (!arr)
|
if (!arr)
|
||||||
return NULL;
|
return NULL;
|
||||||
arr->size = initial_size;
|
arr->size = ARRAY_LIST_DEFAULT_SIZE;
|
||||||
arr->length = 0;
|
arr->length = 0;
|
||||||
arr->free_fn = free_fn;
|
arr->free_fn = free_fn;
|
||||||
if (!(arr->array = (void **)malloc(arr->size * sizeof(void *))))
|
if (!(arr->array = (void **)calloc(arr->size, sizeof(void *))))
|
||||||
{
|
{
|
||||||
free(arr);
|
free(arr);
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -99,54 +92,11 @@ static int array_list_expand_internal(struct array_list *arr, size_t max)
|
|||||||
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
||||||
return -1;
|
return -1;
|
||||||
arr->array = (void **)t;
|
arr->array = (void **)t;
|
||||||
|
(void)memset(arr->array + arr->size, 0, (new_size - arr->size) * sizeof(void *));
|
||||||
arr->size = new_size;
|
arr->size = new_size;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int array_list_shrink(struct array_list *arr, size_t empty_slots)
|
|
||||||
{
|
|
||||||
void *t;
|
|
||||||
size_t new_size;
|
|
||||||
|
|
||||||
if (empty_slots >= SIZE_T_MAX / sizeof(void *) - arr->length)
|
|
||||||
return -1;
|
|
||||||
new_size = arr->length + empty_slots;
|
|
||||||
if (new_size == arr->size)
|
|
||||||
return 0;
|
|
||||||
if (new_size > arr->size)
|
|
||||||
return array_list_expand_internal(arr, new_size);
|
|
||||||
if (new_size == 0)
|
|
||||||
new_size = 1;
|
|
||||||
|
|
||||||
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
|
||||||
return -1;
|
|
||||||
arr->array = (void **)t;
|
|
||||||
arr->size = new_size;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int array_list_insert_idx(struct array_list *arr, size_t idx, void *data)
|
|
||||||
{
|
|
||||||
size_t move_amount;
|
|
||||||
|
|
||||||
if (idx >= arr->length)
|
|
||||||
return array_list_put_idx(arr, idx, data);
|
|
||||||
|
|
||||||
/* we're at full size, what size_t can support */
|
|
||||||
if (arr->length == SIZE_T_MAX)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
if (array_list_expand_internal(arr, arr->length + 1))
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
move_amount = (arr->length - idx) * sizeof(void *);
|
|
||||||
memmove(arr->array + idx + 1, arr->array + idx, move_amount);
|
|
||||||
arr->array[idx] = data;
|
|
||||||
arr->length++;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
//static inline int _array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
|
||||||
int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||||
{
|
{
|
||||||
if (idx > SIZE_T_MAX - 1)
|
if (idx > SIZE_T_MAX - 1)
|
||||||
@@ -156,17 +106,6 @@ int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
|||||||
if (idx < arr->length && arr->array[idx])
|
if (idx < arr->length && arr->array[idx])
|
||||||
arr->free_fn(arr->array[idx]);
|
arr->free_fn(arr->array[idx]);
|
||||||
arr->array[idx] = data;
|
arr->array[idx] = data;
|
||||||
if (idx > arr->length)
|
|
||||||
{
|
|
||||||
/* Zero out the arraylist slots in between the old length
|
|
||||||
and the newly added entry so we know those entries are
|
|
||||||
empty.
|
|
||||||
e.g. when setting array[7] in an array that used to be
|
|
||||||
only 5 elements longs, array[5] and array[6] need to be
|
|
||||||
set to 0.
|
|
||||||
*/
|
|
||||||
memset(arr->array + arr->length, 0, (idx - arr->length) * sizeof(void *));
|
|
||||||
}
|
|
||||||
if (arr->length <= idx)
|
if (arr->length <= idx)
|
||||||
arr->length = idx + 1;
|
arr->length = idx + 1;
|
||||||
return 0;
|
return 0;
|
||||||
@@ -174,17 +113,7 @@ int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
|||||||
|
|
||||||
int array_list_add(struct array_list *arr, void *data)
|
int array_list_add(struct array_list *arr, void *data)
|
||||||
{
|
{
|
||||||
/* Repeat some of array_list_put_idx() so we can skip several
|
return array_list_put_idx(arr, arr->length, data);
|
||||||
checks that we know are unnecessary when appending at the end
|
|
||||||
*/
|
|
||||||
size_t idx = arr->length;
|
|
||||||
if (idx > SIZE_T_MAX - 1)
|
|
||||||
return -1;
|
|
||||||
if (array_list_expand_internal(arr, idx + 1))
|
|
||||||
return -1;
|
|
||||||
arr->array[idx] = data;
|
|
||||||
arr->length++;
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void array_list_sort(struct array_list *arr, int (*compar)(const void *, const void *))
|
void array_list_sort(struct array_list *arr, int (*compar)(const void *, const void *))
|
||||||
@@ -207,16 +136,11 @@ int array_list_del_idx(struct array_list *arr, size_t idx, size_t count)
|
|||||||
{
|
{
|
||||||
size_t i, stop;
|
size_t i, stop;
|
||||||
|
|
||||||
/* Avoid overflow in calculation with large indices. */
|
|
||||||
if (idx > SIZE_T_MAX - count)
|
|
||||||
return -1;
|
|
||||||
stop = idx + count;
|
stop = idx + count;
|
||||||
if (idx >= arr->length || stop > arr->length)
|
if (idx >= arr->length || stop > arr->length)
|
||||||
return -1;
|
return -1;
|
||||||
for (i = idx; i < stop; ++i)
|
for (i = idx; i < stop; ++i)
|
||||||
{
|
{
|
||||||
// Because put_idx can skip entries, we need to check if
|
|
||||||
// there's actually anything in each slot we're erasing.
|
|
||||||
if (arr->array[i])
|
if (arr->array[i])
|
||||||
arr->free_fn(arr->array[i]);
|
arr->free_fn(arr->array[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
31
arraylist.h
@@ -15,8 +15,8 @@
|
|||||||
* Although this is exposed by the json_object_get_array() method,
|
* Although this is exposed by the json_object_get_array() method,
|
||||||
* it is not recommended for direct use.
|
* it is not recommended for direct use.
|
||||||
*/
|
*/
|
||||||
#ifndef _json_c_arraylist_h_
|
#ifndef _arraylist_h_
|
||||||
#define _json_c_arraylist_h_
|
#define _arraylist_h_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -37,33 +37,12 @@ struct array_list
|
|||||||
};
|
};
|
||||||
typedef struct array_list array_list;
|
typedef struct array_list array_list;
|
||||||
|
|
||||||
/**
|
|
||||||
* Allocate an array_list of the default size (32).
|
|
||||||
* @deprecated Use array_list_new2() instead.
|
|
||||||
*/
|
|
||||||
extern struct array_list *array_list_new(array_list_free_fn *free_fn);
|
extern struct array_list *array_list_new(array_list_free_fn *free_fn);
|
||||||
|
|
||||||
/**
|
|
||||||
* Allocate an array_list of the desired size.
|
|
||||||
*
|
|
||||||
* If possible, the size should be chosen to closely match
|
|
||||||
* the actual number of elements expected to be used.
|
|
||||||
* If the exact size is unknown, there are tradeoffs to be made:
|
|
||||||
* - too small - the array_list code will need to call realloc() more
|
|
||||||
* often (which might incur an additional memory copy).
|
|
||||||
* - too large - will waste memory, but that can be mitigated
|
|
||||||
* by calling array_list_shrink() once the final size is known.
|
|
||||||
*
|
|
||||||
* @see array_list_shrink
|
|
||||||
*/
|
|
||||||
extern struct array_list *array_list_new2(array_list_free_fn *free_fn, int initial_size);
|
|
||||||
|
|
||||||
extern void array_list_free(struct array_list *al);
|
extern void array_list_free(struct array_list *al);
|
||||||
|
|
||||||
extern void *array_list_get_idx(struct array_list *al, size_t i);
|
extern void *array_list_get_idx(struct array_list *al, size_t i);
|
||||||
|
|
||||||
extern int array_list_insert_idx(struct array_list *al, size_t i, void *data);
|
|
||||||
|
|
||||||
extern int array_list_put_idx(struct array_list *al, size_t i, void *data);
|
extern int array_list_put_idx(struct array_list *al, size_t i, void *data);
|
||||||
|
|
||||||
extern int array_list_add(struct array_list *al, void *data);
|
extern int array_list_add(struct array_list *al, void *data);
|
||||||
@@ -77,12 +56,6 @@ extern void *array_list_bsearch(const void **key, struct array_list *arr,
|
|||||||
|
|
||||||
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
|
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
|
||||||
|
|
||||||
/**
|
|
||||||
* Shrink the array list to just enough to fit the number of elements in it,
|
|
||||||
* plus empty_slots.
|
|
||||||
*/
|
|
||||||
extern int array_list_shrink(struct array_list *arr, size_t empty_slots);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,80 +0,0 @@
|
|||||||
|
|
||||||
Benchmark tests for json-c
|
|
||||||
|
|
||||||
General strategy:
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
* Identify "after" commit hash
|
|
||||||
* Use provided directory
|
|
||||||
* Use provided commit hash
|
|
||||||
* Local changes in current working directory
|
|
||||||
* ${cur_branch}
|
|
||||||
* Identify "before" commit hash, in order of preference
|
|
||||||
* Use provided directory
|
|
||||||
* Use provided commit hash
|
|
||||||
* Use origin/${cur_branch}, if different from ${after_commit}
|
|
||||||
* Use previous release
|
|
||||||
|
|
||||||
* If not using existing dir, clone to src-${after_commit}
|
|
||||||
* or, checkout appropriate commit in existing src-${after_commit}
|
|
||||||
* Create build & install dirs for ${after_commit}
|
|
||||||
* Build & install ${after_commit}
|
|
||||||
* Compile benchmark programs against install-${after_commit}
|
|
||||||
|
|
||||||
* If not using existing dir, clone to src-${before_commit}
|
|
||||||
* or, checkout appropriate commit in existing src-${before_commit}
|
|
||||||
* Create build & install dirs for ${before_commit}
|
|
||||||
* Build & install ${before_commit}
|
|
||||||
* Compile benchmark programs against install-${before_commit}
|
|
||||||
|
|
||||||
* Run benchmark in each location
|
|
||||||
* Compare results
|
|
||||||
|
|
||||||
heaptrack memory profiler
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux.html
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
yum install libdwarf-devel elfutils boost-devel libunwind-devel
|
|
||||||
|
|
||||||
git clone git://anongit.kde.org/heaptrack
|
|
||||||
cd heaptrack
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=$HOME/heaptrack-install ..
|
|
||||||
make install
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Issues
|
|
||||||
--------
|
|
||||||
|
|
||||||
* jc-bench.sh is incomplete.
|
|
||||||
|
|
||||||
* valgrind massif misreports "extra-heap" bytes?
|
|
||||||
|
|
||||||
"json_parse -n canada.json" shows 38640 KB maxrss.
|
|
||||||
|
|
||||||
Using valgrind --tool=massif, a large amount of memory is listed as
|
|
||||||
wasted "extra-heap" bytes. (~5.6MB)
|
|
||||||
|
|
||||||
```
|
|
||||||
valgrind --tool=massif --massif-out-file=massif.out ./json_parse -n ~/canada.json
|
|
||||||
ms_print massif.out
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Using heaptrack, and analyzing the histogram, only shows ~2.6MB
|
|
||||||
```
|
|
||||||
heaptrack ./json_parse -n canada.json
|
|
||||||
heaptrack --analyze heaptrack*gz -H histogram.out
|
|
||||||
awk ' { s=$1; count=$2; ru=(int((s+ 15) / 16)) * 16; wasted = ((ru-s)*count); print s, count, ru-s, wasted; total=total+wasted} END { print "Total: ", total }' histogram.out
|
|
||||||
```
|
|
||||||
|
|
||||||
With the (unreleased) arraylist trimming changes, maxrss reported by
|
|
||||||
getrusage() goes down, but massif claims *more* total usage, and a HUGE
|
|
||||||
extra-heap amount (50% of total).
|
|
||||||
|
|
||||||
@@ -1,284 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Benchmarking harness for json-c
|
|
||||||
#
|
|
||||||
# Use this to compare the behavior of two different versions of the library,
|
|
||||||
# such as json-c-0.14 release vs master, master vs local changes, etc...
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
trap 'echo "FAILED!"' EXIT
|
|
||||||
|
|
||||||
RUNDIR=$(dirname "$0")
|
|
||||||
RUNDIR=$(cd "$RUNDIR" && pwd)
|
|
||||||
|
|
||||||
TOP=$(cd "$RUNDIR/.." && pwd)
|
|
||||||
|
|
||||||
usage()
|
|
||||||
{
|
|
||||||
exitval=$1
|
|
||||||
errmsg=$2
|
|
||||||
if [ $exitval -ne 0 ] ; then
|
|
||||||
exec 1>&2
|
|
||||||
fi
|
|
||||||
if [ ! -z "$errmsg" ] ; then
|
|
||||||
echo "ERROR: $errmsg" 1>&2
|
|
||||||
fi
|
|
||||||
cat <<EOF
|
|
||||||
Usage: $0 [-h] [-v] [--build] [--run] [--compare] ...XAX...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
exit $extival
|
|
||||||
}
|
|
||||||
|
|
||||||
before_arg=
|
|
||||||
after_arg=
|
|
||||||
do_all=1
|
|
||||||
do_build=0
|
|
||||||
do_run=0
|
|
||||||
do_compare=0
|
|
||||||
|
|
||||||
while [ $# -gt 0 ] ; do
|
|
||||||
case "$1" in
|
|
||||||
--before)
|
|
||||||
before_arg=$2
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--after)
|
|
||||||
after_arg=$2
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--build)
|
|
||||||
do_all=0
|
|
||||||
do_build=1
|
|
||||||
;;
|
|
||||||
--run)
|
|
||||||
do_all=0
|
|
||||||
do_run=1
|
|
||||||
;;
|
|
||||||
--compare)
|
|
||||||
do_all=0
|
|
||||||
do_compare=1
|
|
||||||
;;
|
|
||||||
-h)
|
|
||||||
usage 0 ""
|
|
||||||
;;
|
|
||||||
-v)
|
|
||||||
set -x
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
usage 1 "Unknown args: $*"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
WORK="${RUNDIR}/work"
|
|
||||||
mkdir -p "${WORK}"
|
|
||||||
|
|
||||||
DATA="${RUNDIR}/data"
|
|
||||||
mkdir -p "${DATA}"
|
|
||||||
|
|
||||||
for file in citm_catalog.json twitter.json canada.json ; do
|
|
||||||
if [ ! -r "${DATA}/${file}" ] ; then
|
|
||||||
echo "Fetching ${file} from github.com/mloskot/json_benchmark"
|
|
||||||
URL="https://github.com/mloskot/json_benchmark/raw/master/data/${file}"
|
|
||||||
curl -s -L -o "${DATA}/${file}" "$URL"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
echo
|
|
||||||
|
|
||||||
# Identify "after" commit hash, in order of preference
|
|
||||||
if [ ! -z "$after_arg" -a -d "$after_arg" ] ; then
|
|
||||||
# Use provided directory
|
|
||||||
after_src_dir="$after_arg"
|
|
||||||
after_commit=
|
|
||||||
echo "Using provided directory [$after_arg] as 'after'"
|
|
||||||
else
|
|
||||||
_commit=
|
|
||||||
if [ ! -z "$after_arg" ] ; then
|
|
||||||
# Use provided commit hash
|
|
||||||
_commit=$(git rev-parse --verify "$after_arg")
|
|
||||||
fi
|
|
||||||
if [ ! -z "$_commit" ] ;then
|
|
||||||
after_src_dir= # i.e. current tree
|
|
||||||
after_commit="$_commit"
|
|
||||||
echo "Using provided commit [$after_arg => $_commit] as 'after'"
|
|
||||||
else
|
|
||||||
# Local changes in current working directory
|
|
||||||
# ${cur_branch}
|
|
||||||
after_src_dir=$TOP
|
|
||||||
after_commit=
|
|
||||||
echo "Using local changes in $TOP as 'after'"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Identify "before" commit hash, in order of preference
|
|
||||||
if [ ! -z "$before_arg" -a -d "$before_arg" ] ; then
|
|
||||||
# Use provided directory
|
|
||||||
before_src_dir="$before_arg"
|
|
||||||
before_commit=
|
|
||||||
echo "Using provided directory [$before_arg] as 'before'"
|
|
||||||
else
|
|
||||||
_commit=
|
|
||||||
if [ ! -z "$before_arg" ] ; then
|
|
||||||
# Use provided commit hash
|
|
||||||
_commit=$(git rev-parse --verify "$before_arg")
|
|
||||||
fi
|
|
||||||
if [ ! -z "$_commit" ] ;then
|
|
||||||
before_src_dir= # i.e. current tree
|
|
||||||
before_commit="$_commit"
|
|
||||||
echo "Using provided commit [$before_arg => $_commit] as 'before'"
|
|
||||||
else
|
|
||||||
# Use origin/${cur_branch}, if different from ${after_commit}
|
|
||||||
_cur_branch=$(git rev-parse --abbrev-ref HEAD)
|
|
||||||
_commit=
|
|
||||||
if [ ! -z "${_cur_branch}" ] ; then
|
|
||||||
_commit=$(git rev-parse --verify "origin/${_cur_branch}")
|
|
||||||
echo "Using origin/${_cur_branch} [$_commit] as 'before'"
|
|
||||||
fi
|
|
||||||
if [ "$_commit" = "${after_commit}" ] ; then
|
|
||||||
_commit=
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$_commit" ] ; then
|
|
||||||
before_src_dir= # i.e. current tree
|
|
||||||
before_commit="$_commit"
|
|
||||||
else
|
|
||||||
# Use previous release
|
|
||||||
before_src_dir= # i.e. current tree
|
|
||||||
before_commit="$(git tag | sort | tail -1)"
|
|
||||||
echo "Using previous release [$before_commit] as 'before'"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo
|
|
||||||
|
|
||||||
compile_benchmark()
|
|
||||||
{
|
|
||||||
local bname=$1
|
|
||||||
local src_dir="$2"
|
|
||||||
local src_commit="$3"
|
|
||||||
|
|
||||||
local build_dir="${WORK}/$bname/build"
|
|
||||||
local inst_dir="${WORK}/$bname/install"
|
|
||||||
local bench_dir="${WORK}/$bname/bench"
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo "=========== $bname ==========="
|
|
||||||
echo
|
|
||||||
|
|
||||||
mkdir -p "${build_dir}"
|
|
||||||
mkdir -p "${inst_dir}"
|
|
||||||
mkdir -p "${bench_dir}"
|
|
||||||
|
|
||||||
if [ ! -z "$src_commit" ] ; then
|
|
||||||
# Resolve the short hash, tag or branch name to full hash
|
|
||||||
src_commit=$(git rev-parse $src_commit)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# No src dir specified, clone and checkout $src_commit
|
|
||||||
if [ -z "$src_dir" ] ; then
|
|
||||||
src_dir="${WORK}/$bname/src"
|
|
||||||
echo "=== Using sources in $src_dir"
|
|
||||||
mkdir -p "$src_dir"
|
|
||||||
at_commit=$(git --git-dir="$src_dir/.git" rev-parse HEAD 2> /dev/null || true)
|
|
||||||
echo "at_commit: $at_commit"
|
|
||||||
if [ -z "$at_commit" ] ; then
|
|
||||||
# Assume it's an empty dir
|
|
||||||
git clone -n "$TOP" "$src_dir"
|
|
||||||
fi
|
|
||||||
git -C "$src_dir" --git-dir="$src_dir/.git" checkout "$src_commit"
|
|
||||||
fi
|
|
||||||
# else, use the provided $src_dir
|
|
||||||
|
|
||||||
if [ -e "${src_dir}/CMakeLists.txt" ] ; then
|
|
||||||
cd "${build_dir}"
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX="${inst_dir}" "${src_dir}"
|
|
||||||
else
|
|
||||||
# Old versions of json-c used automake/autoconf
|
|
||||||
cd "${src_dir}"
|
|
||||||
sh autogen.sh # always run it, configure doesn't always work
|
|
||||||
cd "${build_dir}"
|
|
||||||
"${src_dir}/configure" --prefix="${inst_dir}"
|
|
||||||
fi
|
|
||||||
make all install
|
|
||||||
|
|
||||||
cd "${bench_dir}"
|
|
||||||
cmake -DCMAKE_PREFIX_PATH="${inst_dir}" "${TOP}/apps"
|
|
||||||
make all
|
|
||||||
}
|
|
||||||
|
|
||||||
# XXX TODO: name "after" and "before" uniquely using the dir & commit
|
|
||||||
|
|
||||||
if [ $do_all -ne 0 -o $do_build -ne 0 ] ; then
|
|
||||||
sleep 5 # Wait slightly, to allow the human to read the message
|
|
||||||
# about what exactly we're doing to benchmark.
|
|
||||||
compile_benchmark "after" "${after_src_dir}" "${after_commit}"
|
|
||||||
compile_benchmark "before" "${before_src_dir}" "${before_commit}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
run_benchmark()
|
|
||||||
{
|
|
||||||
local bname=$1
|
|
||||||
local inst_dir="${WORK}/$bname/install"
|
|
||||||
local bench_dir="${WORK}/$bname/bench"
|
|
||||||
|
|
||||||
local INPUT=${DATA}/canada.json
|
|
||||||
|
|
||||||
cd "${bench_dir}"
|
|
||||||
mkdir -p results
|
|
||||||
(time ./json_parse -n "${INPUT}") > results/basic_timing.out 2>&1
|
|
||||||
valgrind --tool=massif --massif-out-file=massif.out ./json_parse -n "${INPUT}"
|
|
||||||
ms_print massif.out > results/ms_print.out
|
|
||||||
heaptrack -o heaptrack_out ./json_parse -n "${INPUT}"
|
|
||||||
heaptrack --analyze heaptrack_out.gz -H histogram.out > results/heaptrack.out
|
|
||||||
awk ' { s=$1; count=$2; ru=(int((s+ 15) / 16)) * 16; wasted = ((ru-s)*count); print s, count, ru-s, wasted; total=total+wasted} END { print "Total: ", total }' histogram.out > results/histogram2.out
|
|
||||||
|
|
||||||
# XXX stamp some info about what was built & run into ./results/.
|
|
||||||
|
|
||||||
echo "DONE with $bname"
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ $do_all -ne 0 -o $do_run -ne 0 ] ; then
|
|
||||||
run_benchmark "after"
|
|
||||||
run_benchmark "before"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $do_compare -ne 0 ] ; then
|
|
||||||
# XXX this needs better analysis
|
|
||||||
cd "${WORK}"
|
|
||||||
diff -udr before/bench/results after/bench/results || true
|
|
||||||
else
|
|
||||||
echo "To compare results, run:"
|
|
||||||
echo "$0 --compare"
|
|
||||||
fi
|
|
||||||
|
|
||||||
trap '' EXIT
|
|
||||||
|
|
||||||
:<<=cut
|
|
||||||
|
|
||||||
Benchmarks to run:
|
|
||||||
|
|
||||||
* Parse JSON strings, of various sizes and characteristics
|
|
||||||
* Flags: STRICT vs. non-STRICT, validate UTF8
|
|
||||||
|
|
||||||
* Serialization time
|
|
||||||
* plain, spaces, pretty
|
|
||||||
|
|
||||||
* json_c_visit tests
|
|
||||||
* JSON pointer tests
|
|
||||||
|
|
||||||
Things to record and compare:
|
|
||||||
|
|
||||||
* Running time
|
|
||||||
* Peak memory usage
|
|
||||||
* Useful bytes vs. overhead for memory allocations
|
|
||||||
* Total number of allocations
|
|
||||||
* Average allocation size
|
|
||||||
* Log of all allocation sizes
|
|
||||||
|
|
||||||
=cut
|
|
||||||
|
|
||||||
@@ -30,7 +30,6 @@ $0 [<configure_options>] [-- [<cmake options>]]
|
|||||||
--enable-static build static libraries [default=yes]
|
--enable-static build static libraries [default=yes]
|
||||||
--disable-Bsymbolic Avoid linking with -Bsymbolic-function
|
--disable-Bsymbolic Avoid linking with -Bsymbolic-function
|
||||||
--disable-werror Avoid treating compiler warnings as fatal errors
|
--disable-werror Avoid treating compiler warnings as fatal errors
|
||||||
--disable-extra-libs Avoid linking against extra libraries, such as libbsd
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit
|
exit
|
||||||
@@ -53,9 +52,6 @@ while [ $# -gt 0 ] ; do
|
|||||||
FLAGS+=(-DCMAKE_INSTALL_PREFIX="$2")
|
FLAGS+=(-DCMAKE_INSTALL_PREFIX="$2")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--prefix=*)
|
|
||||||
FLAGS+=(-DCMAKE_INSTALL_PREFIX="${1##--prefix=}")
|
|
||||||
;;
|
|
||||||
--enable-threading)
|
--enable-threading)
|
||||||
FLAGS+=(-DENABLE_THREADING=ON)
|
FLAGS+=(-DENABLE_THREADING=ON)
|
||||||
;;
|
;;
|
||||||
@@ -65,14 +61,8 @@ while [ $# -gt 0 ] ; do
|
|||||||
--enable-shared)
|
--enable-shared)
|
||||||
FLAGS+=(-DBUILD_SHARED_LIBS=ON)
|
FLAGS+=(-DBUILD_SHARED_LIBS=ON)
|
||||||
;;
|
;;
|
||||||
--disable-shared)
|
|
||||||
FLAGS+=(-DBUILD_SHARED_LIBS=OFF)
|
|
||||||
;;
|
|
||||||
--enable-static)
|
--enable-static)
|
||||||
FLAGS+=(-DBUILD_STATIC_LIBS=ON)
|
FLAGS+=(-DBUILD_SHARED_LIBS=OFF)
|
||||||
;;
|
|
||||||
--disable-static)
|
|
||||||
FLAGS+=(-DBUILD_STATIC_LIBS=OFF)
|
|
||||||
;;
|
;;
|
||||||
--disable-Bsymbolic)
|
--disable-Bsymbolic)
|
||||||
FLAGS+=(-DDISABLE_BSYMBOLIC=ON)
|
FLAGS+=(-DDISABLE_BSYMBOLIC=ON)
|
||||||
@@ -80,9 +70,6 @@ while [ $# -gt 0 ] ; do
|
|||||||
--disable-werror)
|
--disable-werror)
|
||||||
FLAGS+=(-DDISABLE_WERROR=ON)
|
FLAGS+=(-DDISABLE_WERROR=ON)
|
||||||
;;
|
;;
|
||||||
--disable-extra-libs)
|
|
||||||
FLAGS+=(-DDISABLE_EXTRA_LIBS=ON)
|
|
||||||
;;
|
|
||||||
--)
|
--)
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
/* Enable RDRAND Hardware RNG Hash Seed */
|
/* Enable RDRAND Hardware RNG Hash Seed */
|
||||||
#cmakedefine ENABLE_RDRAND "@ENABLE_RDRAND@"
|
#cmakedefine ENABLE_RDRAND "@ENABLE_RDRAND@"
|
||||||
|
|
||||||
/* Override json_c_get_random_seed() with custom code */
|
|
||||||
#cmakedefine OVERRIDE_GET_RANDOM_SEED @OVERRIDE_GET_RANDOM_SEED@
|
|
||||||
|
|
||||||
/* Enable partial threading support */
|
/* Enable partial threading support */
|
||||||
#cmakedefine ENABLE_THREADING "@@"
|
#cmakedefine ENABLE_THREADING "@@"
|
||||||
|
|
||||||
@@ -56,12 +54,6 @@
|
|||||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||||
#cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@
|
#cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/random.h> header file. */
|
|
||||||
#cmakedefine HAVE_SYS_RANDOM_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
||||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
#cmakedefine HAVE_SYS_STAT_H
|
#cmakedefine HAVE_SYS_STAT_H
|
||||||
|
|
||||||
@@ -74,12 +66,6 @@
|
|||||||
/* Define to 1 if you have the <xlocale.h> header file. */
|
/* Define to 1 if you have the <xlocale.h> header file. */
|
||||||
#cmakedefine HAVE_XLOCALE_H
|
#cmakedefine HAVE_XLOCALE_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <bsd/stdlib.h> header file. */
|
|
||||||
#cmakedefine HAVE_BSD_STDLIB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have `arc4random' */
|
|
||||||
#cmakedefine HAVE_ARC4RANDOM
|
|
||||||
|
|
||||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||||
#cmakedefine HAVE_DOPRNT
|
#cmakedefine HAVE_DOPRNT
|
||||||
|
|
||||||
@@ -137,9 +123,6 @@
|
|||||||
/* Define to 1 if you have the `uselocale' function. */
|
/* Define to 1 if you have the `uselocale' function. */
|
||||||
#cmakedefine HAVE_USELOCALE
|
#cmakedefine HAVE_USELOCALE
|
||||||
|
|
||||||
/* Define to 1 if newlocale() needs freelocale() called on it's `base` argument */
|
|
||||||
#cmakedefine NEWLOCALE_NEEDS_FREELOCALE
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `vasprintf' function. */
|
/* Define to 1 if you have the `vasprintf' function. */
|
||||||
#cmakedefine HAVE_VASPRINTF
|
#cmakedefine HAVE_VASPRINTF
|
||||||
|
|
||||||
@@ -152,12 +135,6 @@
|
|||||||
/* Define to 1 if you have the `vsyslog' function. */
|
/* Define to 1 if you have the `vsyslog' function. */
|
||||||
#cmakedefine HAVE_VSYSLOG @HAVE_VSYSLOG@
|
#cmakedefine HAVE_VSYSLOG @HAVE_VSYSLOG@
|
||||||
|
|
||||||
/* Define if you have the `getrandom' function. */
|
|
||||||
#cmakedefine HAVE_GETRANDOM
|
|
||||||
|
|
||||||
/* Define if you have the `getrusage' function. */
|
|
||||||
#cmakedefine HAVE_GETRUSAGE
|
|
||||||
|
|
||||||
#cmakedefine HAVE_STRTOLL
|
#cmakedefine HAVE_STRTOLL
|
||||||
#if !defined(HAVE_STRTOLL)
|
#if !defined(HAVE_STRTOLL)
|
||||||
#define strtoll @json_c_strtoll@
|
#define strtoll @json_c_strtoll@
|
||||||
@@ -212,9 +189,6 @@
|
|||||||
/* The number of bytes in type size_t */
|
/* The number of bytes in type size_t */
|
||||||
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
|
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
|
||||||
|
|
||||||
/* The number of bytes in type ssize_t */
|
|
||||||
#cmakedefine SIZEOF_SSIZE_T @SIZEOF_SSIZE_T@
|
|
||||||
|
|
||||||
/* Specifier for __thread */
|
/* Specifier for __thread */
|
||||||
#cmakedefine SPEC___THREAD @SPEC___THREAD@
|
#cmakedefine SPEC___THREAD @SPEC___THREAD@
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,2 @@
|
|||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#cmakedefine JSON_C_HAVE_INTTYPES_H @JSON_C_HAVE_INTTYPES_H@
|
#cmakedefine JSON_C_HAVE_INTTYPES_H @JSON_C_HAVE_INTTYPES_H@
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#cmakedefine JSON_C_HAVE_STDINT_H @JSON_C_HAVE_STDINT_H@
|
|
||||||
|
|||||||
207
config.h.win32
Normal file
@@ -0,0 +1,207 @@
|
|||||||
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
/* Enable RDRANR Hardware RNG Hash Seed */
|
||||||
|
#undef ENABLE_RDRAND
|
||||||
|
|
||||||
|
/* Define if .gnu.warning accepts long strings. */
|
||||||
|
#undef HAS_GNU_WARNING_LONG
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||||
|
#define HAVE_DECL_INFINITY 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||||
|
#define HAVE_DECL_ISINF 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||||
|
#define HAVE_DECL_ISNAN 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
|
||||||
|
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||||
|
#define HAVE_DECL_NAN 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#define HAVE_DECL__FINITE 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#define HAVE_DECL__ISNAN 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#define HAVE_DLFCN_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||||
|
#define HAVE_DOPRNT 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <endian.h> header file. */
|
||||||
|
#undef HAVE_ENDIAN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
|
#define HAVE_FCNTL_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#define HAVE_INTTYPES_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <limits.h> header file. */
|
||||||
|
#define HAVE_LIMITS_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <locale.h> header file. */
|
||||||
|
#define HAVE_LOCALE_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||||
|
to 0 otherwise. */
|
||||||
|
#define HAVE_MALLOC 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#define HAVE_MEMORY_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `open' function. */
|
||||||
|
#define HAVE_OPEN 1
|
||||||
|
|
||||||
|
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||||
|
and to 0 otherwise. */
|
||||||
|
#define HAVE_REALLOC 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `setlocale' function. */
|
||||||
|
#define HAVE_SETLOCALE 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `snprintf' function. */
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#define HAVE_SNPRINTF 1
|
||||||
|
#else
|
||||||
|
#undef HAVE_SNPRINTF
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||||
|
#define HAVE_STDARG_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#define HAVE_STDLIB_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strcasecmp' function. */
|
||||||
|
#define HAVE_STRCASECMP 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strdup' function. */
|
||||||
|
#define HAVE_STRDUP 0
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strerror' function. */
|
||||||
|
#define HAVE_STRERROR 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strncasecmp' function. */
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#define HAVE_STRNCASECMP 1
|
||||||
|
#else
|
||||||
|
#undef HAVE_STRNCASECMP
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#cmakedefine HAVE_STRTOLL
|
||||||
|
#cmakedefine strtoll @cmake_strtoll@
|
||||||
|
#cmakedefine HAVE_STRTOULL
|
||||||
|
#cmakedefine strtoull @cmake_strtoull@
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <syslog.h> header file. */
|
||||||
|
#undef HAVE_SYSLOG_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||||
|
#define HAVE_SYS_CDEFS_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#define HAVE_SYS_PARAM_H 1
|
||||||
|
#else
|
||||||
|
#undef HAVE_SYS_PARAM_H
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#define HAVE_SYS_STAT_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#define HAVE_SYS_TYPES_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#define HAVE_UNISTD_H 1
|
||||||
|
#else
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vasprintf' function. */
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#define HAVE_VASPRINTF 1
|
||||||
|
#else
|
||||||
|
#undef HAVE_VASPRINTF
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vprintf' function. */
|
||||||
|
#define HAVE_VPRINTF 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vsnprintf' function. */
|
||||||
|
#define HAVE_VSNPRINTF 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vsyslog' function. */
|
||||||
|
#undef HAVE_VSYSLOG
|
||||||
|
|
||||||
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||||
|
*/
|
||||||
|
#undef LT_OBJDIR
|
||||||
|
|
||||||
|
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||||
|
/* #undef NO_MINUS_C_MINUS_O */
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#define PACKAGE "json-c"
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#define PACKAGE_NAME "JSON C Library"
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#define PACKAGE_STRING "JSON C Library 0.14"
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#define PACKAGE_TARNAME "json-c"
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#define PACKAGE_URL "https://github.com/json-c/json-c"
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#define PACKAGE_VERSION "0.14"
|
||||||
|
|
||||||
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#define VERSION "0.14"
|
||||||
|
|
||||||
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
|
/* #undef const */
|
||||||
|
|
||||||
|
/* Define to rpl_malloc if the replacement function should be used. */
|
||||||
|
/* #undef malloc */
|
||||||
|
|
||||||
|
/* Define to rpl_realloc if the replacement function should be used. */
|
||||||
|
/* #undef realloc */
|
||||||
|
|
||||||
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
|
/* #undef size_t */
|
||||||
6
debug.h
@@ -14,8 +14,8 @@
|
|||||||
* @file
|
* @file
|
||||||
* @brief Do not use, json-c internal, may be changed or removed at any time.
|
* @brief Do not use, json-c internal, may be changed or removed at any time.
|
||||||
*/
|
*/
|
||||||
#ifndef _JSON_C_DEBUG_H_
|
#ifndef _DEBUG_H_
|
||||||
#define _JSON_C_DEBUG_H_
|
#define _DEBUG_H_
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef JSON_EXPORT
|
#ifndef JSON_EXPORT
|
||||||
#if defined(_MSC_VER) && defined(JSON_C_DLL)
|
#if defined(_MSC_VER)
|
||||||
#define JSON_EXPORT __declspec(dllexport)
|
#define JSON_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define JSON_EXPORT extern
|
#define JSON_EXPORT extern
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
# generate doxygen documentation for json-c API
|
|
||||||
|
|
||||||
find_package(Doxygen)
|
|
||||||
|
|
||||||
if (DOXYGEN_FOUND)
|
|
||||||
|
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
|
||||||
message(STATUS "Wrote ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")
|
|
||||||
|
|
||||||
add_custom_target(doc
|
|
||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
|
||||||
|
|
||||||
else (DOXYGEN_FOUND)
|
|
||||||
message("Warning: doxygen not found, the 'doc' target will not be included")
|
|
||||||
endif(DOXYGEN_FOUND)
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Doxygen markdown doesn't support triple-backticks like github does.
|
|
||||||
# Convert all of those to space-prefixed blocks instead.
|
|
||||||
#
|
|
||||||
awk '/```/ { prefix=!prefix; print ""; next; } { if (prefix) { printf " "; } print $0; } ' "$@"
|
|
||||||
57
doc/html/README_8md.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: README.md File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">README.md File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
71
doc/html/annotated.html
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Structures</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Data Structures</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here are the data structures with brief descriptions:</div><div class="directory">
|
||||||
|
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structarray__list.html" target="_self">array_list</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_"><td class="entry"><img id="arr_1_" src="ftv2mnode.png" alt="o" width="16" height="22" onclick="toggleFolder('1_')"/><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__object.html" target="_self">json_object</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_0_" class="even"><td class="entry"><img src="ftv2vertline.png" alt="|" width="16" height="22" /><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="unionjson__object_1_1data.html" target="_self">data</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_2_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__object__iter.html" target="_self">json_object_iter</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_3_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__object__iterator.html" target="_self">json_object_iterator</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_4_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__tokener.html" target="_self">json_tokener</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_5_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__tokener__srec.html" target="_self">json_tokener_srec</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_6_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structlh__entry.html" target="_self">lh_entry</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_7_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structlh__table.html" target="_self">lh_table</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_8_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structprintbuf.html" target="_self">printbuf</a></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
375
doc/html/arraylist_8h.html
Normal file
@@ -0,0 +1,375 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: arraylist.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">arraylist.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html">array_list</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:acd30d910b398421574eb1f59e78617f5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">ARRAY_LIST_DEFAULT_SIZE</a>   32</td></tr>
|
||||||
|
<tr class="separator:acd30d910b398421574eb1f59e78617f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:aad83e4ed3c8ea274e6f18459276d774b"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> )(void *data)</td></tr>
|
||||||
|
<tr class="separator:aad83e4ed3c8ea274e6f18459276d774b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6d6d32d8b026ea2025df519b9e90f44a"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structarray__list.html">array_list</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">array_list</a></td></tr>
|
||||||
|
<tr class="separator:a6d6d32d8b026ea2025df519b9e90f44a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a0d4bfac055dfd98e17296142abf4d894"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structarray__list.html">array_list</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">array_list_new</a> (<a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> *free_fn)</td></tr>
|
||||||
|
<tr class="separator:a0d4bfac055dfd98e17296142abf4d894"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:acd00fb70f7ca82f23b48b812c3498f67"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">array_list_free</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al)</td></tr>
|
||||||
|
<tr class="separator:acd00fb70f7ca82f23b48b812c3498f67"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a114f1af5b20b76a3dbb2d1d055006df8"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a114f1af5b20b76a3dbb2d1d055006df8">array_list_get_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i)</td></tr>
|
||||||
|
<tr class="separator:a114f1af5b20b76a3dbb2d1d055006df8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9f92076e9d8229f8a07e536dc286f811"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">array_list_put_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i, void *data)</td></tr>
|
||||||
|
<tr class="separator:a9f92076e9d8229f8a07e536dc286f811"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6e995608aa464244ff3184fb43574dc8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">array_list_add</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, void *data)</td></tr>
|
||||||
|
<tr class="separator:a6e995608aa464244ff3184fb43574dc8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa3bf90f47aa210032304b14e7ad09ef7"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">array_list_length</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al)</td></tr>
|
||||||
|
<tr class="separator:aa3bf90f47aa210032304b14e7ad09ef7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afb67cc8e2e5c9be41c3e644536079169"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">array_list_sort</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, int(*compar)(const void *, const void *))</td></tr>
|
||||||
|
<tr class="separator:afb67cc8e2e5c9be41c3e644536079169"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac5d066b971fee72ce80084c1694109e3"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">array_list_bsearch</a> (const void **key, struct <a class="el" href="structarray__list.html">array_list</a> *arr, int(*compar)(const void *, const void *))</td></tr>
|
||||||
|
<tr class="separator:ac5d066b971fee72ce80084c1694109e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aecedd8601ee96e2fd8eff5d83fda89ab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">array_list_del_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, size_t idx, size_t count)</td></tr>
|
||||||
|
<tr class="separator:aecedd8601ee96e2fd8eff5d83fda89ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="acd30d910b398421574eb1f59e78617f5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define ARRAY_LIST_DEFAULT_SIZE   32</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a6d6d32d8b026ea2025df519b9e90f44a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structarray__list.html">array_list</a> <a class="el" href="structarray__list.html">array_list</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aad83e4ed3c8ea274e6f18459276d774b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( array_list_free_fn)(void *data)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a6e995608aa464244ff3184fb43574dc8"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_add </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void * </td>
|
||||||
|
<td class="paramname"><em>data</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac5d066b971fee72ce80084c1694109e3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void* array_list_bsearch </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const void ** </td>
|
||||||
|
<td class="paramname"><em>key</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int(*)(const void *, const void *) </td>
|
||||||
|
<td class="paramname"><em>compar</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aecedd8601ee96e2fd8eff5d83fda89ab"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_del_idx </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>idx</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>count</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="acd00fb70f7ca82f23b48b812c3498f67"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void array_list_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a114f1af5b20b76a3dbb2d1d055006df8"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void* array_list_get_idx </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>i</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa3bf90f47aa210032304b14e7ad09ef7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">size_t array_list_length </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0d4bfac055dfd98e17296142abf4d894"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structarray__list.html">array_list</a>* array_list_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9f92076e9d8229f8a07e536dc286f811"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_put_idx </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>i</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void * </td>
|
||||||
|
<td class="paramname"><em>data</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="afb67cc8e2e5c9be41c3e644536079169"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void array_list_sort </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int(*)(const void *, const void *) </td>
|
||||||
|
<td class="paramname"><em>compar</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/bc_s.png
Normal file
|
After Width: | Height: | Size: 676 B |
BIN
doc/html/bdwn.png
Normal file
|
After Width: | Height: | Size: 147 B |
73
doc/html/classes.html
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Structure Index</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Data Structure Index</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_J">J</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_P">P</a></div>
|
||||||
|
<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr><td rowspan="2" valign="bottom"><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  A  </div></td></tr></table>
|
||||||
|
</td><td rowspan="2" valign="bottom"><a name="letter_J"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  J  </div></td></tr></table>
|
||||||
|
</td><td valign="top"><a class="el" href="structjson__object__iterator.html">json_object_iterator</a>   </td><td valign="top"><a class="el" href="structlh__table.html">lh_table</a>   </td><td></td></tr>
|
||||||
|
<tr><td valign="top"><a class="el" href="structjson__tokener.html">json_tokener</a>   </td><td rowspan="2" valign="bottom"><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  P  </div></td></tr></table>
|
||||||
|
</td><td></td></tr>
|
||||||
|
<tr><td valign="top"><a class="el" href="structarray__list.html">array_list</a>   </td><td valign="top"><a class="el" href="structjson__object.html">json_object</a>   </td><td valign="top"><a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a>   </td><td></td></tr>
|
||||||
|
<tr><td rowspan="2" valign="bottom"><a name="letter_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  D  </div></td></tr></table>
|
||||||
|
</td><td valign="top"><a class="el" href="structjson__object__iter.html">json_object_iter</a>   </td><td rowspan="2" valign="bottom"><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  L  </div></td></tr></table>
|
||||||
|
</td><td valign="top"><a class="el" href="structprintbuf.html">printbuf</a>   </td><td></td></tr>
|
||||||
|
<tr><td></td><td></td><td></td></tr>
|
||||||
|
<tr><td valign="top"><a class="el" href="unionjson__object_1_1data.html">json_object::data</a>   </td><td></td><td valign="top"><a class="el" href="structlh__entry.html">lh_entry</a>   </td><td></td><td></td></tr>
|
||||||
|
<tr><td></td><td></td><td></td><td></td><td></td></tr>
|
||||||
|
</table>
|
||||||
|
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_J">J</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_P">P</a></div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/closed.png
Normal file
|
After Width: | Height: | Size: 132 B |
410
doc/html/debug_8h.html
Normal file
@@ -0,0 +1,410 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: debug.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">debug.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||||
|
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a375c4dc9f0fb338999de81aab826f9d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a375c4dc9f0fb338999de81aab826f9d6">__STRING</a>(x)   #x</td></tr>
|
||||||
|
<tr class="separator:a375c4dc9f0fb338999de81aab826f9d6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8ca29550d5b1b73948f4a7bce53f2385"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a8ca29550d5b1b73948f4a7bce53f2385">JASSERT</a>(cond)</td></tr>
|
||||||
|
<tr class="separator:a8ca29550d5b1b73948f4a7bce53f2385"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a11ba39cecbe449af5b86fa2f78e9da9d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a11ba39cecbe449af5b86fa2f78e9da9d">MC_ERROR</a>(x,...)   <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">mc_error</a>(x, ##__VA_ARGS__)</td></tr>
|
||||||
|
<tr class="separator:a11ba39cecbe449af5b86fa2f78e9da9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a50f21a239fa040a10ad4cfdb4278b02b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a50f21a239fa040a10ad4cfdb4278b02b">MC_SET_DEBUG</a>(x)</td></tr>
|
||||||
|
<tr class="separator:a50f21a239fa040a10ad4cfdb4278b02b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:acb272a4b4444b69cd995236f167f90ba"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#acb272a4b4444b69cd995236f167f90ba">MC_GET_DEBUG</a>()   (0)</td></tr>
|
||||||
|
<tr class="separator:acb272a4b4444b69cd995236f167f90ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:acf1e895cb5eb7f334cbe51901e6bb918"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#acf1e895cb5eb7f334cbe51901e6bb918">MC_SET_SYSLOG</a>(x)</td></tr>
|
||||||
|
<tr class="separator:acf1e895cb5eb7f334cbe51901e6bb918"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afda355b35d18bf2e6a2a22d5c8eef42c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#afda355b35d18bf2e6a2a22d5c8eef42c">MC_DEBUG</a>(x,...)</td></tr>
|
||||||
|
<tr class="separator:afda355b35d18bf2e6a2a22d5c8eef42c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5ef640ce1e9e61c5f6632aefbbfa0041"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a5ef640ce1e9e61c5f6632aefbbfa0041">MC_INFO</a>(x,...)</td></tr>
|
||||||
|
<tr class="separator:a5ef640ce1e9e61c5f6632aefbbfa0041"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a95843c7dcfea8f2a6e6950c291ba0e3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a95843c7dcfea8f2a6e6950c291ba0e3e">mc_set_debug</a> (int debug)</td></tr>
|
||||||
|
<tr class="separator:a95843c7dcfea8f2a6e6950c291ba0e3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a0c522f19a5015c076de53379182c7ad6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a0c522f19a5015c076de53379182c7ad6">mc_get_debug</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a0c522f19a5015c076de53379182c7ad6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6ba846fed9ec9ad42a306921a44af216"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a6ba846fed9ec9ad42a306921a44af216">mc_set_syslog</a> (int syslog)</td></tr>
|
||||||
|
<tr class="separator:a6ba846fed9ec9ad42a306921a44af216"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae85a547b1f743597f5e2954e37c34e65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#ae85a547b1f743597f5e2954e37c34e65">mc_debug</a> (const char *msg,...)</td></tr>
|
||||||
|
<tr class="separator:ae85a547b1f743597f5e2954e37c34e65"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad351453d774306c8d0da414194bb88f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">mc_error</a> (const char *msg,...)</td></tr>
|
||||||
|
<tr class="separator:ad351453d774306c8d0da414194bb88f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a1027afd06f45d53b19c9eb440eb09274"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a1027afd06f45d53b19c9eb440eb09274">mc_info</a> (const char *msg,...)</td></tr>
|
||||||
|
<tr class="separator:a1027afd06f45d53b19c9eb440eb09274"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a375c4dc9f0fb338999de81aab826f9d6"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define __STRING</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">x</td><td>)</td>
|
||||||
|
<td>   #x</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a8ca29550d5b1b73948f4a7bce53f2385"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JASSERT</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">cond</td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> \</div>
|
||||||
|
<div class="line"> { \</div>
|
||||||
|
<div class="line"> } <span class="keywordflow">while</span> (0)</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="afda355b35d18bf2e6a2a22d5c8eef42c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define MC_DEBUG</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">x, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||||
|
<div class="line"> mc_debug(x, ##__VA_ARGS__)</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a11ba39cecbe449af5b86fa2f78e9da9d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define MC_ERROR</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">x, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">mc_error</a>(x, ##__VA_ARGS__)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="acb272a4b4444b69cd995236f167f90ba"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define MC_GET_DEBUG</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td>   (0)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5ef640ce1e9e61c5f6632aefbbfa0041"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define MC_INFO</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">x, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||||
|
<div class="line"> mc_info(x, ##__VA_ARGS__)</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a50f21a239fa040a10ad4cfdb4278b02b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define MC_SET_DEBUG</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">x</td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||||
|
<div class="line"> mc_set_debug(x)</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="acf1e895cb5eb7f334cbe51901e6bb918"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define MC_SET_SYSLOG</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">x</td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||||
|
<div class="line"> mc_set_syslog(x)</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="ae85a547b1f743597f5e2954e37c34e65"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void mc_debug </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>msg</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad351453d774306c8d0da414194bb88f4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void mc_error </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>msg</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0c522f19a5015c076de53379182c7ad6"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int mc_get_debug </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a1027afd06f45d53b19c9eb440eb09274"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void mc_info </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>msg</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a95843c7dcfea8f2a6e6950c291ba0e3e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void mc_set_debug </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>debug</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6ba846fed9ec9ad42a306921a44af216"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void mc_set_syslog </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>syslog</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
69
doc/html/deprecated.html
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Deprecated List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Deprecated List </div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><dl class="reflist">
|
||||||
|
<dt><a class="anchor" id="_deprecated000007"></a>Global <a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">_LH_INLINE</a> </dt>
|
||||||
|
<dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000008"></a>Global <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a> (a)</dt>
|
||||||
|
<dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000003"></a>Global <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener</a> </dt>
|
||||||
|
<dd>Unused in json-c code </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000005"></a>Global <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener::char_offset</a> </dt>
|
||||||
|
<dd>See <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> instead. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000006"></a>Global <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener::err</a> </dt>
|
||||||
|
<dd>See <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> instead. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000004"></a>Global <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener::str</a> </dt>
|
||||||
|
<dd>Do not access any of these fields outside of json_tokener.c </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000002"></a>Class <a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a> </dt>
|
||||||
|
<dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000001"></a>Global <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> </dt>
|
||||||
|
<dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd>
|
||||||
|
</dl>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
1172
doc/html/doxygen.css
Normal file
BIN
doc/html/doxygen.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
78
doc/html/dynsections.js
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
function toggleVisibility(linkObj)
|
||||||
|
{
|
||||||
|
var base = $(linkObj).attr('id');
|
||||||
|
var summary = $('#'+base+'-summary');
|
||||||
|
var content = $('#'+base+'-content');
|
||||||
|
var trigger = $('#'+base+'-trigger');
|
||||||
|
var src=$(trigger).attr('src');
|
||||||
|
if (content.is(':visible')===true) {
|
||||||
|
content.hide();
|
||||||
|
summary.show();
|
||||||
|
$(linkObj).addClass('closed').removeClass('opened');
|
||||||
|
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||||
|
} else {
|
||||||
|
content.show();
|
||||||
|
summary.hide();
|
||||||
|
$(linkObj).removeClass('closed').addClass('opened');
|
||||||
|
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateStripes()
|
||||||
|
{
|
||||||
|
$('table.directory tr').
|
||||||
|
removeClass('even').filter(':visible:even').addClass('even');
|
||||||
|
}
|
||||||
|
function toggleLevel(level)
|
||||||
|
{
|
||||||
|
$('table.directory tr').each(function(){
|
||||||
|
var l = this.id.split('_').length-1;
|
||||||
|
var i = $('#img'+this.id.substring(3));
|
||||||
|
var a = $('#arr'+this.id.substring(3));
|
||||||
|
if (l<level+1) {
|
||||||
|
i.attr('src','ftv2folderopen.png');
|
||||||
|
a.attr('src','ftv2mnode.png');
|
||||||
|
$(this).show();
|
||||||
|
} else if (l==level+1) {
|
||||||
|
i.attr('src','ftv2folderclosed.png');
|
||||||
|
a.attr('src','ftv2pnode.png');
|
||||||
|
$(this).show();
|
||||||
|
} else {
|
||||||
|
$(this).hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
updateStripes();
|
||||||
|
}
|
||||||
|
function toggleFolder(id)
|
||||||
|
{
|
||||||
|
var n = $('[id^=row_'+id+']');
|
||||||
|
var i = $('[id^=img_'+id+']');
|
||||||
|
var a = $('[id^=arr_'+id+']');
|
||||||
|
var c = n.slice(1);
|
||||||
|
if (c.filter(':first').is(':visible')===true) {
|
||||||
|
i.attr('src','ftv2folderclosed.png');
|
||||||
|
a.attr('src','ftv2pnode.png');
|
||||||
|
c.hide();
|
||||||
|
} else {
|
||||||
|
i.attr('src','ftv2folderopen.png');
|
||||||
|
a.attr('src','ftv2mnode.png');
|
||||||
|
c.show();
|
||||||
|
}
|
||||||
|
updateStripes();
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleInherit(id)
|
||||||
|
{
|
||||||
|
var rows = $('tr.inherit.'+id);
|
||||||
|
var img = $('tr.inherit_header.'+id+' img');
|
||||||
|
var src = $(img).attr('src');
|
||||||
|
if (rows.filter(':first').is(':visible')===true) {
|
||||||
|
rows.css('display','none');
|
||||||
|
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||||
|
} else {
|
||||||
|
rows.css('display','table-row'); // using show() causes jump in firefox
|
||||||
|
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
83
doc/html/files.html
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: File List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">File List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all files with brief descriptions:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="arraylist_8h.html" target="_self">arraylist.h</a></td><td class="desc">Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use</td></tr>
|
||||||
|
<tr id="row_1_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="debug_8h.html" target="_self">debug.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_2_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json_8h.html" target="_self">json.h</a></td><td class="desc">A convenience header that may be included instead of other individual ones</td></tr>
|
||||||
|
<tr id="row_3_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__c__version_8h.html" target="_self">json_c_version.h</a></td><td class="desc">Methods for retrieving the json-c version</td></tr>
|
||||||
|
<tr id="row_4_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__inttypes_8h.html" target="_self">json_inttypes.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_5_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__object_8h.html" target="_self">json_object.h</a></td><td class="desc">Core json-c API. Start here, or with <a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a></td></tr>
|
||||||
|
<tr id="row_6_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__object__iterator_8h.html" target="_self">json_object_iterator.h</a></td><td class="desc">An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a></td></tr>
|
||||||
|
<tr id="row_7_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__object__private_8h.html" target="_self">json_object_private.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_8_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__pointer_8h.html" target="_self">json_pointer.h</a></td><td class="desc">JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree</td></tr>
|
||||||
|
<tr id="row_9_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__tokener_8h.html" target="_self">json_tokener.h</a></td><td class="desc">Methods to parse an input string into a tree of <a class="el" href="structjson__object.html">json_object</a> objects</td></tr>
|
||||||
|
<tr id="row_10_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__types_8h.html" target="_self">json_types.h</a></td><td class="desc">Basic types used in a few places in json-c, but you should include "json_object.h" instead</td></tr>
|
||||||
|
<tr id="row_11_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__util_8h.html" target="_self">json_util.h</a></td><td class="desc">Miscllaneous utility functions and macros</td></tr>
|
||||||
|
<tr id="row_12_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__visit_8h.html" target="_self">json_visit.h</a></td><td class="desc">Methods for walking a tree of objects</td></tr>
|
||||||
|
<tr id="row_13_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="linkhash_8h.html" target="_self">linkhash.h</a></td><td class="desc">Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use</td></tr>
|
||||||
|
<tr id="row_14_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="math__compat_8h.html" target="_self">math_compat.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_15_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="printbuf_8h.html" target="_self">printbuf.h</a></td><td class="desc">Internal string buffer handing. Unless you're writing a json_object_to_json_string_fn implementation for use with <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object_set_serializer()</a> direct use of this is not recommended</td></tr>
|
||||||
|
<tr id="row_16_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="random__seed_8h.html" target="_self">random_seed.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_17_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="snprintf__compat_8h.html" target="_self">snprintf_compat.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_18_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="strdup__compat_8h.html" target="_self">strdup_compat.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_19_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="strerror__override_8h.html" target="_self">strerror_override.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_20_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="strerror__override__private_8h.html" target="_self">strerror_override_private.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_21_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="vasprintf__compat_8h.html" target="_self">vasprintf_compat.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/ftv2blank.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
doc/html/ftv2cl.png
Normal file
|
After Width: | Height: | Size: 453 B |
BIN
doc/html/ftv2doc.png
Normal file
|
After Width: | Height: | Size: 746 B |
BIN
doc/html/ftv2folderclosed.png
Normal file
|
After Width: | Height: | Size: 616 B |
BIN
doc/html/ftv2folderopen.png
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
doc/html/ftv2lastnode.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
doc/html/ftv2link.png
Normal file
|
After Width: | Height: | Size: 746 B |
BIN
doc/html/ftv2mlastnode.png
Normal file
|
After Width: | Height: | Size: 246 B |
BIN
doc/html/ftv2mnode.png
Normal file
|
After Width: | Height: | Size: 246 B |
BIN
doc/html/ftv2mo.png
Normal file
|
After Width: | Height: | Size: 403 B |
BIN
doc/html/ftv2node.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
doc/html/ftv2ns.png
Normal file
|
After Width: | Height: | Size: 388 B |
BIN
doc/html/ftv2plastnode.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
doc/html/ftv2pnode.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
doc/html/ftv2splitbar.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
doc/html/ftv2vertline.png
Normal file
|
After Width: | Height: | Size: 86 B |
341
doc/html/functions.html
Normal file
@@ -0,0 +1,341 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Fields</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="functions.html"><span>All</span></a></li>
|
||||||
|
<li><a href="functions_vars.html"><span>Variables</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_b"><span>b</span></a></li>
|
||||||
|
<li><a href="#index_c"><span>c</span></a></li>
|
||||||
|
<li><a href="#index_d"><span>d</span></a></li>
|
||||||
|
<li><a href="#index_e"><span>e</span></a></li>
|
||||||
|
<li><a href="#index_f"><span>f</span></a></li>
|
||||||
|
<li><a href="#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="#index_k"><span>k</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="#index_o"><span>o</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_q"><span>q</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
<li><a href="#index_u"><span>u</span></a></li>
|
||||||
|
<li><a href="#index_v"><span>v</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all struct and union fields with links to the structures/unions they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||||
|
<li>_delete
|
||||||
|
: <a class="el" href="structjson__object.html#a63666be714a8ce8907d56142c1d9dfb7">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_pb
|
||||||
|
: <a class="el" href="structjson__object.html#afdcaa9e24bce7c86c33cb6f6ae65cb56">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_ref_count
|
||||||
|
: <a class="el" href="structjson__object.html#ac3a795ba10ac33897bfda80cf4b8254e">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_to_json_string
|
||||||
|
: <a class="el" href="structjson__object.html#a077a02daac4653f91584dd7f47c3d632">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_user_delete
|
||||||
|
: <a class="el" href="structjson__object.html#ad9e57edb1cbd63578490081b2a9636ad">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_userdata
|
||||||
|
: <a class="el" href="structjson__object.html#a592a5391c3717ff7e8930476027226fe">json_object</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array
|
||||||
|
: <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
|
||||||
|
<li>bpos
|
||||||
|
: <a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">printbuf</a>
|
||||||
|
</li>
|
||||||
|
<li>buf
|
||||||
|
: <a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">printbuf</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||||
|
<li>c_array
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a4ad6bf2fd6d8718f55850509edfe2e45">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_boolean
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a98a3964e5fb0b3a0e9d8786b8facde5c">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_double
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a9cc4abdb21302913701ac0c8dc75e55a">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_int
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a8464f75e1afbf640def14dde10fe88c7">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_int64
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a7733181cdb631570913e3a2abfd6937c">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_object
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a68089c942f154d4df590d8ecb476a69b">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_string
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a13ffed7c115784eac4dbc95696bd25cf">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_uint64
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a578e0b55e16f2963e0ba5362929ae9f3">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>char_offset
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>cint
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a10f396f4e5a54d7add5d7afe43270292">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>cint_type
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#ab4ebc744a20ba74ea55b7fd97ce11bfa">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>count
|
||||||
|
: <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>current
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||||
|
<li>data
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#aaa742eb1b88b4b25ec4c27431d1576d7">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
|
||||||
|
<li>entry
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
<li>equal_fn
|
||||||
|
: <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>err
|
||||||
|
: <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
|
||||||
|
<li>flags
|
||||||
|
: <a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>free_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table</a>
|
||||||
|
, <a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>hash_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>head
|
||||||
|
: <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||||
|
<li>is_double
|
||||||
|
: <a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_k"></a>- k -</h3><ul>
|
||||||
|
<li>k
|
||||||
|
: <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>k_is_constant
|
||||||
|
: <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>key
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>len
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#ac2386853b8a4e7d0b28a27ed599ccef7">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>length
|
||||||
|
: <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>max_depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||||
|
<li>next
|
||||||
|
: <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
|
||||||
|
<li>o
|
||||||
|
: <a class="el" href="structjson__object.html#a33aff83ffea02b934235c4821cca8cf0">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>o_type
|
||||||
|
: <a class="el" href="structjson__object.html#a28307a4a3fe6cefe27e28fec56b76b3e">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>obj
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>obj_field_name
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>opaque_
|
||||||
|
: <a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">json_object_iterator</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>pb
|
||||||
|
: <a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>prev
|
||||||
|
: <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>ptr
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#ad3f2798f4679c5a3cc7f67a42365b71f">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_q"></a>- q -</h3><ul>
|
||||||
|
<li>quote_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>saved_state
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>size
|
||||||
|
: <a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">array_list</a>
|
||||||
|
, <a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">printbuf</a>
|
||||||
|
, <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>st_pos
|
||||||
|
: <a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>stack
|
||||||
|
: <a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>str
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a>
|
||||||
|
, <a class="el" href="unionjson__object_1_1data.html#a2a16be02b4be645069ed4ee34f2b8d3e">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>table
|
||||||
|
: <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>tail
|
||||||
|
: <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_u"></a>- u -</h3><ul>
|
||||||
|
<li>ucs_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
|
||||||
|
<li>v
|
||||||
|
: <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>val
|
||||||
|
: <a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
341
doc/html/functions_vars.html
Normal file
@@ -0,0 +1,341 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Fields - Variables</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="functions.html"><span>All</span></a></li>
|
||||||
|
<li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_b"><span>b</span></a></li>
|
||||||
|
<li><a href="#index_c"><span>c</span></a></li>
|
||||||
|
<li><a href="#index_d"><span>d</span></a></li>
|
||||||
|
<li><a href="#index_e"><span>e</span></a></li>
|
||||||
|
<li><a href="#index_f"><span>f</span></a></li>
|
||||||
|
<li><a href="#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="#index_k"><span>k</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="#index_o"><span>o</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_q"><span>q</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
<li><a href="#index_u"><span>u</span></a></li>
|
||||||
|
<li><a href="#index_v"><span>v</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||||
|
<li>_delete
|
||||||
|
: <a class="el" href="structjson__object.html#a63666be714a8ce8907d56142c1d9dfb7">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_pb
|
||||||
|
: <a class="el" href="structjson__object.html#afdcaa9e24bce7c86c33cb6f6ae65cb56">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_ref_count
|
||||||
|
: <a class="el" href="structjson__object.html#ac3a795ba10ac33897bfda80cf4b8254e">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_to_json_string
|
||||||
|
: <a class="el" href="structjson__object.html#a077a02daac4653f91584dd7f47c3d632">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_user_delete
|
||||||
|
: <a class="el" href="structjson__object.html#ad9e57edb1cbd63578490081b2a9636ad">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>_userdata
|
||||||
|
: <a class="el" href="structjson__object.html#a592a5391c3717ff7e8930476027226fe">json_object</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array
|
||||||
|
: <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
|
||||||
|
<li>bpos
|
||||||
|
: <a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">printbuf</a>
|
||||||
|
</li>
|
||||||
|
<li>buf
|
||||||
|
: <a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">printbuf</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||||
|
<li>c_array
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a4ad6bf2fd6d8718f55850509edfe2e45">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_boolean
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a98a3964e5fb0b3a0e9d8786b8facde5c">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_double
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a9cc4abdb21302913701ac0c8dc75e55a">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_int
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a8464f75e1afbf640def14dde10fe88c7">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_int64
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a7733181cdb631570913e3a2abfd6937c">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_object
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a68089c942f154d4df590d8ecb476a69b">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_string
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a13ffed7c115784eac4dbc95696bd25cf">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>c_uint64
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a578e0b55e16f2963e0ba5362929ae9f3">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>char_offset
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>cint
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#a10f396f4e5a54d7add5d7afe43270292">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>cint_type
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#ab4ebc744a20ba74ea55b7fd97ce11bfa">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>count
|
||||||
|
: <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>current
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||||
|
<li>data
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#aaa742eb1b88b4b25ec4c27431d1576d7">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
|
||||||
|
<li>entry
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
<li>equal_fn
|
||||||
|
: <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>err
|
||||||
|
: <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
|
||||||
|
<li>flags
|
||||||
|
: <a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>free_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table</a>
|
||||||
|
, <a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>hash_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>head
|
||||||
|
: <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||||
|
<li>is_double
|
||||||
|
: <a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_k"></a>- k -</h3><ul>
|
||||||
|
<li>k
|
||||||
|
: <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>k_is_constant
|
||||||
|
: <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>key
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>len
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#ac2386853b8a4e7d0b28a27ed599ccef7">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
<li>length
|
||||||
|
: <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>max_depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||||
|
<li>next
|
||||||
|
: <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
|
||||||
|
<li>o
|
||||||
|
: <a class="el" href="structjson__object.html#a33aff83ffea02b934235c4821cca8cf0">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>o_type
|
||||||
|
: <a class="el" href="structjson__object.html#a28307a4a3fe6cefe27e28fec56b76b3e">json_object</a>
|
||||||
|
</li>
|
||||||
|
<li>obj
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>obj_field_name
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>opaque_
|
||||||
|
: <a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">json_object_iterator</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>pb
|
||||||
|
: <a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>prev
|
||||||
|
: <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>ptr
|
||||||
|
: <a class="el" href="unionjson__object_1_1data.html#ad3f2798f4679c5a3cc7f67a42365b71f">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_q"></a>- q -</h3><ul>
|
||||||
|
<li>quote_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>saved_state
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>size
|
||||||
|
: <a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">array_list</a>
|
||||||
|
, <a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">printbuf</a>
|
||||||
|
, <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>st_pos
|
||||||
|
: <a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>stack
|
||||||
|
: <a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>str
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a>
|
||||||
|
, <a class="el" href="unionjson__object_1_1data.html#a2a16be02b4be645069ed4ee34f2b8d3e">json_object::data</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>table
|
||||||
|
: <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>tail
|
||||||
|
: <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_u"></a>- u -</h3><ul>
|
||||||
|
<li>ucs_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
|
||||||
|
<li>v
|
||||||
|
: <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>val
|
||||||
|
: <a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
104
doc/html/globals.html
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||||
|
<li>__STRING
|
||||||
|
: <a class="el" href="debug_8h.html#a375c4dc9f0fb338999de81aab826f9d6">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_json_c_set_last_err()
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2b38dd2d14fbfa6585de5664b6d61c0c">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_json_c_strerror()
|
||||||
|
: <a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">strerror_override.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_json_c_strerror_enable
|
||||||
|
: <a class="el" href="strerror__override__private_8h.html#af98a3cb4b7adc1b28d93906406f4f2f6">strerror_override_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_LH_INLINE
|
||||||
|
: <a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_LH_UNCONST
|
||||||
|
: <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_printbuf_check_literal
|
||||||
|
: <a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
119
doc/html/globals_0x61.html
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array_list
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_add()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_bsearch()
|
||||||
|
: <a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>ARRAY_LIST_DEFAULT_SIZE
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_del_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free()
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free_fn
|
||||||
|
: <a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_get_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a114f1af5b20b76a3dbb2d1d055006df8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_length()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_new()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_put_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_sort()
|
||||||
|
: <a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
89
doc/html/globals_0x68.html
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>HAVE_DECL_INFINITY
|
||||||
|
: <a class="el" href="math__compat_8h.html#a77914bc4c960d1bfda49328bd0646985">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
<li>HAVE_DECL_NAN
|
||||||
|
: <a class="el" href="math__compat_8h.html#a9025492cba029d3e372532a1d012f119">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
86
doc/html/globals_0x69.html
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||||
|
<li>INFINITY
|
||||||
|
: <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
674
doc/html/globals_0x6a.html
Normal file
@@ -0,0 +1,674 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>JASSERT
|
||||||
|
: <a class="el" href="debug_8h.html#a8ca29550d5b1b73948f4a7bce53f2385">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_bool
|
||||||
|
: <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_CONST_FUNCTION()
|
||||||
|
: <a class="el" href="json__object_8h.html#a922b2d76c73da57174beec82d471743b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_get_random_seed()
|
||||||
|
: <a class="el" href="random__seed_8h.html#a4775cb23fbc2f32fe7880180259a140a">random_seed.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MAJOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MICRO_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MINOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_ADD_KEY_IS_NEW
|
||||||
|
: <a class="el" href="json__object_8h.html#a8cd01c484155ac99043a35b7c85ae411">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_KEY_IS_CONSTANT
|
||||||
|
: <a class="el" href="json__object_8h.html#a134ffafc6116799a20134dc7646b5a37">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_GLOBAL
|
||||||
|
: <a class="el" href="json__object_8h.html#a45837b8c6564f9e605f8a2bc76243750">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_THREAD
|
||||||
|
: <a class="el" href="json__object_8h.html#a50d1490598fe476d7a53e204e02cdc9d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_set_serialization_double_format()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_default
|
||||||
|
: <a class="el" href="json__object_8h.html#a86ea08e75ddf054742bf806a3bc3f983">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_fn
|
||||||
|
: <a class="el" href="json__object_8h.html#af4562514916f62ea56adf752ada10b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_DFLT
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_PERLLIKE
|
||||||
|
: <a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOSLASHESCAPE
|
||||||
|
: <a class="el" href="json__object_8h.html#a5c11d72c55f3ab7c088f19e7bf118163">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOZERO
|
||||||
|
: <a class="el" href="json__object_8h.html#a34f027c147babf69fc530d088f2b49b0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PLAIN
|
||||||
|
: <a class="el" href="json__object_8h.html#a3294cb92765cdeb497cfd346644d1059">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY
|
||||||
|
: <a class="el" href="json__object_8h.html#a2025bc677c35f130e117dfda5bf1ef73">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY_TAB
|
||||||
|
: <a class="el" href="json__object_8h.html#afc1486af21f6b1653c6f523025bdfd3b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_SPACED
|
||||||
|
: <a class="el" href="json__object_8h.html#aa821746c8668e6ad62bed90ec9e00103">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version_num()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION_NUM
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit()
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_CONTINUE
|
||||||
|
: <a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_ERROR
|
||||||
|
: <a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_POP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_SKIP
|
||||||
|
: <a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_STOP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_SECOND
|
||||||
|
: <a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit_userfunc
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_EXPORT
|
||||||
|
: <a class="el" href="debug_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">debug.h</a>
|
||||||
|
, <a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_c_version.h</a>
|
||||||
|
, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>
|
||||||
|
, <a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_FILE_BUF_SIZE
|
||||||
|
: <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_global_set_string_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_hex_chars
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a20dbe4913551cefa6b4b0a77fd4397c4">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_max
|
||||||
|
: <a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_min
|
||||||
|
: <a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_number_chars
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a27427f89f2fc995639e366635fbe58ac">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object
|
||||||
|
: <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_bsearch()
|
||||||
|
: <a class="el" href="json__object_8h.html#aed353084ed3ad84e7b7575afbe7e719d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_del_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_get_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab9ea8f9c72d5adf83fdcbfe69f97fa44">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_put_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_sort()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5584e2f2051cd1faa7fafd07ba888fd1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_deep_copy()
|
||||||
|
: <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_OBJECT_DEF_HASH_ENTRIES
|
||||||
|
: <a class="el" href="json__object_8h.html#a268a63dd1b2e6d81559e268a4529e9bf">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_delete_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_double_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ada262c62364e3819b6a64b1e3a632336">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_equal()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5a1d4640525e0217059868e312f20579">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_free_userdata
|
||||||
|
: <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#a5b72bf6f3ac8fb03da38d2e2d1e18d1b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd_ex()
|
||||||
|
: <a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a03119ec0a71af4eee95318e9b2aaf05b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8c56dc58a02f92cd6789ba5dcb9fe7b1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a14750b3af4df18ec8dc93b090a8e8a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9ee29ca8d79896e15007131527f6002e">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac1d1f95a27a5e5d93bb66a8adfc1a2f4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a82c27579b6d25d9d0eb3b72758d8b71d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae925f3ec0f61cba5ea3dd50e0315f194">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_inc()
|
||||||
|
: <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_type
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_type_int64
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_type_uint64
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_is_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter
|
||||||
|
: <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_begin()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_end()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_equal()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_init_default()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_next()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_name()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_value()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ad8fe9251ca04af4d8e6840a44de7984b">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a84f7f8c0774c4600d958561d7548d649">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2e290acd80e72cca745f89fb4600fb78">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a594a093bafb9091f843da3197e0638aa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double_s()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae49671c026fe1ada370a75321e4e65f6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae92f0770fb4b3c884ce35de52d3d7de8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7847f74494645c2b076505c37cc4cb93">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_null()
|
||||||
|
: <a class="el" href="json__object_8h.html#a29e23b5be729c679960242b3b81bcde0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a68c383f54544fca19b5f2425be397600">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7b7b5302b3903c9347eeb1f4a64d657b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#a778a1aa34a508d08daac3bdb83e24b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#aa602ee5f6182b35f3f75a927320b4efd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a57d3e444dd7db6b4510d21bf3716a002">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_del()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreach
|
||||||
|
: <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreachC
|
||||||
|
: <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a90d5f16d58636f01d2ed1a6030c7366a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_private_delete_fn
|
||||||
|
: <a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_put()
|
||||||
|
: <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23863c1503f3a8dd8a460a6405da0a65">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a3a7b7ce585565558cb69dad8d45d7757">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ab3568f12e01fd2967e765a72456caa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7d3948600dde732abed0e261264ef53a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_serializer()
|
||||||
|
: <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac35013e51cdc0651512801c947df431c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae48707a0c8689e14aaa3a9b831db27fc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9900aa9a425e6f14e295b298460b65d4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ee4281ccd123c62878e931a0a3bc43b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file_ext()
|
||||||
|
: <a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab7390c22baa1700d977c2af6b22d43a4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_ext()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#add3770a3ba3d01a8f9adedfcd6bd8dbb">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_userdata_to_json_string
|
||||||
|
: <a class="el" href="json__object_8h.html#a56091ddbd2ec6d6200558cbeff1b86b8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_double()
|
||||||
|
: <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_int64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_uint64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_get()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_getf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_set()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_setf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_continue
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_DEFAULT_DEPTH
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_depth
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_desc()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_eof
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_name
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_value_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_unexpected
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_utf8_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_size
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_free()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_error()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_parse_end()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_verbose()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a735f2dc755d57ed5c5b807aaaaef3b14">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_reset()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_set_flags()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_eol
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_eatws
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_finish
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_inf
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string_escape
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_STRICT
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_success
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_VALIDATE_UTF8
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type
|
||||||
|
: <a class="el" href="json__types_8h.html#aba5eff84f8638d22f50403175f270c96">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_array
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_boolean
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_double
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_int
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_null
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_object
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_string
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_to_name()
|
||||||
|
: <a class="el" href="json__util_8h.html#a762aaf3df0a9c7b6919cdc1035348012">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_util_get_last_err()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
161
doc/html/globals_0x6c.html
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>LEN_DIRECT_STRING_DATA
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_EMPTY
|
||||||
|
: <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_free_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_k
|
||||||
|
: <a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_v
|
||||||
|
: <a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_equal_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach_safe
|
||||||
|
: <a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_FREED
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_hash_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_kchar_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a6bf630754affe92612639542a6c49c3f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_kptr_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#af8108563b961dbf5471fe2c0e51f40a5">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_LOAD_FACTOR
|
||||||
|
: <a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_PRIME
|
||||||
|
: <a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table
|
||||||
|
: <a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_free()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_length()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad3b6ca2d967a6c3021ee6c39e014a918">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a59ecaf34ef59280952f4459b2de63677">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_ex()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a9c4f8a71dbe4d3390d9f7adb331beb0e">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_resize()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
119
doc/html/globals_0x6d.html
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>MC_DEBUG
|
||||||
|
: <a class="el" href="debug_8h.html#afda355b35d18bf2e6a2a22d5c8eef42c">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_debug()
|
||||||
|
: <a class="el" href="debug_8h.html#ae85a547b1f743597f5e2954e37c34e65">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_error()
|
||||||
|
: <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_ERROR
|
||||||
|
: <a class="el" href="debug_8h.html#a11ba39cecbe449af5b86fa2f78e9da9d">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_get_debug()
|
||||||
|
: <a class="el" href="debug_8h.html#a0c522f19a5015c076de53379182c7ad6">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_GET_DEBUG
|
||||||
|
: <a class="el" href="debug_8h.html#acb272a4b4444b69cd995236f167f90ba">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_info()
|
||||||
|
: <a class="el" href="debug_8h.html#a1027afd06f45d53b19c9eb440eb09274">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_INFO
|
||||||
|
: <a class="el" href="debug_8h.html#a5ef640ce1e9e61c5f6632aefbbfa0041">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_SET_DEBUG
|
||||||
|
: <a class="el" href="debug_8h.html#a50f21a239fa040a10ad4cfdb4278b02b">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_set_debug()
|
||||||
|
: <a class="el" href="debug_8h.html#a95843c7dcfea8f2a6e6950c291ba0e3e">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_SET_SYSLOG
|
||||||
|
: <a class="el" href="debug_8h.html#acf1e895cb5eb7f334cbe51901e6bb918">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_set_syslog()
|
||||||
|
: <a class="el" href="debug_8h.html#a6ba846fed9ec9ad42a306921a44af216">debug.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
86
doc/html/globals_0x6e.html
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||||
|
<li>NAN
|
||||||
|
: <a class="el" href="math__compat_8h.html#a8abfcc76130f3f991d124dd22d7e69bc">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
116
doc/html/globals_0x70.html
Normal file
@@ -0,0 +1,116 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>PRId64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf
|
||||||
|
: <a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_free()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_length
|
||||||
|
: <a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend_fast
|
||||||
|
: <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_new()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a645670fa132f0ae9a75f43c0b464bdaf">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_reset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_strappend
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>PRIu64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
92
doc/html/globals_0x73.html
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>SCNd64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>sprintbuf()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>strerror
|
||||||
|
: <a class="el" href="strerror__override_8h.html#a9dae36435b1668856ec610d6d5238754">strerror_override.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
86
doc/html/globals_0x74.html
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="globals_0x69.html#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x6d.html#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="globals_0x6e.html#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>THIS_FUNCTION_IS_DEPRECATED
|
||||||
|
: <a class="el" href="json__object_8h.html#a84fa70b86686ce202058f63905c90078">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
327
doc/html/globals_defs.html
Normal file
@@ -0,0 +1,327 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li class="current"><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||||
|
<li>__STRING
|
||||||
|
: <a class="el" href="debug_8h.html#a375c4dc9f0fb338999de81aab826f9d6">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_LH_INLINE
|
||||||
|
: <a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_LH_UNCONST
|
||||||
|
: <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_printbuf_check_literal
|
||||||
|
: <a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>ARRAY_LIST_DEFAULT_SIZE
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>HAVE_DECL_INFINITY
|
||||||
|
: <a class="el" href="math__compat_8h.html#a77914bc4c960d1bfda49328bd0646985">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
<li>HAVE_DECL_NAN
|
||||||
|
: <a class="el" href="math__compat_8h.html#a9025492cba029d3e372532a1d012f119">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||||
|
<li>INFINITY
|
||||||
|
: <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>JASSERT
|
||||||
|
: <a class="el" href="debug_8h.html#a8ca29550d5b1b73948f4a7bce53f2385">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_CONST_FUNCTION
|
||||||
|
: <a class="el" href="json__object_8h.html#a878f59e029f19db79ff9eb41fdcf4c6d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MAJOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MICRO_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MINOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_ADD_KEY_IS_NEW
|
||||||
|
: <a class="el" href="json__object_8h.html#a8cd01c484155ac99043a35b7c85ae411">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_KEY_IS_CONSTANT
|
||||||
|
: <a class="el" href="json__object_8h.html#a134ffafc6116799a20134dc7646b5a37">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_GLOBAL
|
||||||
|
: <a class="el" href="json__object_8h.html#a45837b8c6564f9e605f8a2bc76243750">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_THREAD
|
||||||
|
: <a class="el" href="json__object_8h.html#a50d1490598fe476d7a53e204e02cdc9d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_DFLT
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_PERLLIKE
|
||||||
|
: <a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOSLASHESCAPE
|
||||||
|
: <a class="el" href="json__object_8h.html#a5c11d72c55f3ab7c088f19e7bf118163">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOZERO
|
||||||
|
: <a class="el" href="json__object_8h.html#a34f027c147babf69fc530d088f2b49b0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PLAIN
|
||||||
|
: <a class="el" href="json__object_8h.html#a3294cb92765cdeb497cfd346644d1059">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY
|
||||||
|
: <a class="el" href="json__object_8h.html#a2025bc677c35f130e117dfda5bf1ef73">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY_TAB
|
||||||
|
: <a class="el" href="json__object_8h.html#afc1486af21f6b1653c6f523025bdfd3b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_SPACED
|
||||||
|
: <a class="el" href="json__object_8h.html#aa821746c8668e6ad62bed90ec9e00103">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION_NUM
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_CONTINUE
|
||||||
|
: <a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_ERROR
|
||||||
|
: <a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_POP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_SKIP
|
||||||
|
: <a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_STOP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_SECOND
|
||||||
|
: <a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_EXPORT
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">printbuf.h</a>
|
||||||
|
, <a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_c_version.h</a>
|
||||||
|
, <a class="el" href="debug_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">debug.h</a>
|
||||||
|
, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_FILE_BUF_SIZE
|
||||||
|
: <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_max
|
||||||
|
: <a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_min
|
||||||
|
: <a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_OBJECT_DEF_HASH_ENTRIES
|
||||||
|
: <a class="el" href="json__object_8h.html#a268a63dd1b2e6d81559e268a4529e9bf">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreach
|
||||||
|
: <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreachC
|
||||||
|
: <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_DEFAULT_DEPTH
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_STRICT
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_VALIDATE_UTF8
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>LEN_DIRECT_STRING_DATA
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_EMPTY
|
||||||
|
: <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_k
|
||||||
|
: <a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_v
|
||||||
|
: <a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach_safe
|
||||||
|
: <a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_FREED
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_LOAD_FACTOR
|
||||||
|
: <a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_PRIME
|
||||||
|
: <a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>MC_DEBUG
|
||||||
|
: <a class="el" href="debug_8h.html#afda355b35d18bf2e6a2a22d5c8eef42c">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_ERROR
|
||||||
|
: <a class="el" href="debug_8h.html#a11ba39cecbe449af5b86fa2f78e9da9d">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_GET_DEBUG
|
||||||
|
: <a class="el" href="debug_8h.html#acb272a4b4444b69cd995236f167f90ba">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_INFO
|
||||||
|
: <a class="el" href="debug_8h.html#a5ef640ce1e9e61c5f6632aefbbfa0041">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_SET_DEBUG
|
||||||
|
: <a class="el" href="debug_8h.html#a50f21a239fa040a10ad4cfdb4278b02b">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>MC_SET_SYSLOG
|
||||||
|
: <a class="el" href="debug_8h.html#acf1e895cb5eb7f334cbe51901e6bb918">debug.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||||
|
<li>NAN
|
||||||
|
: <a class="el" href="math__compat_8h.html#a8abfcc76130f3f991d124dd22d7e69bc">math_compat.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>PRId64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_length
|
||||||
|
: <a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend_fast
|
||||||
|
: <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_strappend
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>PRIu64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>SCNd64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>strerror
|
||||||
|
: <a class="el" href="strerror__override_8h.html#a9dae36435b1668856ec610d6d5238754">strerror_override.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>THIS_FUNCTION_IS_DEPRECATED
|
||||||
|
: <a class="el" href="json__object_8h.html#a84fa70b86686ce202058f63905c90078">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
78
doc/html/globals_enum.html
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li class="current"><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 <ul>
|
||||||
|
<li>json_object_int_type
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
223
doc/html/globals_eval.html
Normal file
@@ -0,0 +1,223 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li class="current"><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_j"><span>j</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>json_object_int_type_int64
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_type_uint64
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_continue
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_depth
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_eof
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_name
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_value_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_unexpected
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_utf8_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_size
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_eol
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_eatws
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_finish
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_inf
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string_escape
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_success
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_array
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_boolean
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_double
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_int
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_null
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_object
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_string
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
493
doc/html/globals_func.html
Normal file
@@ -0,0 +1,493 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index__"><span>_</span></a></li>
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||||
|
<li>_json_c_set_last_err()
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a2b38dd2d14fbfa6585de5664b6d61c0c">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>_json_c_strerror()
|
||||||
|
: <a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">strerror_override.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array_list_add()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_bsearch()
|
||||||
|
: <a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_del_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free()
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_get_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a114f1af5b20b76a3dbb2d1d055006df8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_length()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_new()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_put_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_sort()
|
||||||
|
: <a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>JSON_C_CONST_FUNCTION()
|
||||||
|
: <a class="el" href="json__object_8h.html#a922b2d76c73da57174beec82d471743b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_get_random_seed()
|
||||||
|
: <a class="el" href="random__seed_8h.html#a4775cb23fbc2f32fe7880180259a140a">random_seed.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_set_serialization_double_format()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version_num()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit()
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_global_set_string_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_bsearch()
|
||||||
|
: <a class="el" href="json__object_8h.html#aed353084ed3ad84e7b7575afbe7e719d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_del_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_get_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab9ea8f9c72d5adf83fdcbfe69f97fa44">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_put_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_sort()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5584e2f2051cd1faa7fafd07ba888fd1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_deep_copy()
|
||||||
|
: <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_double_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ada262c62364e3819b6a64b1e3a632336">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_equal()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5a1d4640525e0217059868e312f20579">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#a5b72bf6f3ac8fb03da38d2e2d1e18d1b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd_ex()
|
||||||
|
: <a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a03119ec0a71af4eee95318e9b2aaf05b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8c56dc58a02f92cd6789ba5dcb9fe7b1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a14750b3af4df18ec8dc93b090a8e8a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9ee29ca8d79896e15007131527f6002e">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac1d1f95a27a5e5d93bb66a8adfc1a2f4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a82c27579b6d25d9d0eb3b72758d8b71d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae925f3ec0f61cba5ea3dd50e0315f194">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_inc()
|
||||||
|
: <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_is_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_begin()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_end()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_equal()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_init_default()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_next()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_name()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_value()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ad8fe9251ca04af4d8e6840a44de7984b">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a84f7f8c0774c4600d958561d7548d649">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2e290acd80e72cca745f89fb4600fb78">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a594a093bafb9091f843da3197e0638aa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double_s()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae49671c026fe1ada370a75321e4e65f6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae92f0770fb4b3c884ce35de52d3d7de8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7847f74494645c2b076505c37cc4cb93">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_null()
|
||||||
|
: <a class="el" href="json__object_8h.html#a29e23b5be729c679960242b3b81bcde0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a68c383f54544fca19b5f2425be397600">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7b7b5302b3903c9347eeb1f4a64d657b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#a778a1aa34a508d08daac3bdb83e24b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#aa602ee5f6182b35f3f75a927320b4efd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a57d3e444dd7db6b4510d21bf3716a002">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_del()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a90d5f16d58636f01d2ed1a6030c7366a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_put()
|
||||||
|
: <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23863c1503f3a8dd8a460a6405da0a65">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a3a7b7ce585565558cb69dad8d45d7757">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ab3568f12e01fd2967e765a72456caa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7d3948600dde732abed0e261264ef53a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_serializer()
|
||||||
|
: <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac35013e51cdc0651512801c947df431c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae48707a0c8689e14aaa3a9b831db27fc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9900aa9a425e6f14e295b298460b65d4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ee4281ccd123c62878e931a0a3bc43b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file_ext()
|
||||||
|
: <a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab7390c22baa1700d977c2af6b22d43a4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_ext()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#add3770a3ba3d01a8f9adedfcd6bd8dbb">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_double()
|
||||||
|
: <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_int64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_uint64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_get()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_getf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_set()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_setf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_desc()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_free()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_error()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_parse_end()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_verbose()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a735f2dc755d57ed5c5b807aaaaef3b14">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_reset()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_set_flags()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_to_name()
|
||||||
|
: <a class="el" href="json__util_8h.html#a762aaf3df0a9c7b6919cdc1035348012">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_util_get_last_err()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>lh_kchar_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a6bf630754affe92612639542a6c49c3f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_kptr_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#af8108563b961dbf5471fe2c0e51f40a5">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_free()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_length()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad3b6ca2d967a6c3021ee6c39e014a918">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a59ecaf34ef59280952f4459b2de63677">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_ex()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a9c4f8a71dbe4d3390d9f7adb331beb0e">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_resize()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>mc_debug()
|
||||||
|
: <a class="el" href="debug_8h.html#ae85a547b1f743597f5e2954e37c34e65">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_error()
|
||||||
|
: <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_get_debug()
|
||||||
|
: <a class="el" href="debug_8h.html#a0c522f19a5015c076de53379182c7ad6">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_info()
|
||||||
|
: <a class="el" href="debug_8h.html#a1027afd06f45d53b19c9eb440eb09274">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_set_debug()
|
||||||
|
: <a class="el" href="debug_8h.html#a95843c7dcfea8f2a6e6950c291ba0e3e">debug.h</a>
|
||||||
|
</li>
|
||||||
|
<li>mc_set_syslog()
|
||||||
|
: <a class="el" href="debug_8h.html#a6ba846fed9ec9ad42a306921a44af216">debug.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>printbuf_free()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_new()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a645670fa132f0ae9a75f43c0b464bdaf">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_reset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>sprintbuf()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
120
doc/html/globals_type.html
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li class="current"><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 <ul>
|
||||||
|
<li>array_list
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free_fn
|
||||||
|
: <a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_bool
|
||||||
|
: <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_fn
|
||||||
|
: <a class="el" href="json__object_8h.html#af4562514916f62ea56adf752ada10b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit_userfunc
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object
|
||||||
|
: <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_delete_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_type
|
||||||
|
: <a class="el" href="json__object__private_8h.html#aee51efb4329e981ca92b991a26d26e5d">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter
|
||||||
|
: <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_private_delete_fn
|
||||||
|
: <a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type
|
||||||
|
: <a class="el" href="json__types_8h.html#aba5eff84f8638d22f50403175f270c96">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_free_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_equal_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_hash_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table
|
||||||
|
: <a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf
|
||||||
|
: <a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
84
doc/html/globals_vars.html
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li class="current"><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 <ul>
|
||||||
|
<li>_json_c_strerror_enable
|
||||||
|
: <a class="el" href="strerror__override__private_8h.html#af98a3cb4b7adc1b28d93906406f4f2f6">strerror_override_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_default
|
||||||
|
: <a class="el" href="json__object_8h.html#a86ea08e75ddf054742bf806a3bc3f983">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_hex_chars
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a20dbe4913551cefa6b4b0a77fd4397c4">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_number_chars
|
||||||
|
: <a class="el" href="json__object__private_8h.html#a27427f89f2fc995639e366635fbe58ac">json_object_private.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_free_userdata
|
||||||
|
: <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_userdata_to_json_string
|
||||||
|
: <a class="el" href="json__object_8h.html#a56091ddbd2ec6d6200558cbeff1b86b8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
51
doc/html/index.html
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Main Page</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json-c Documentation</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
57
doc/html/issues__closed__for__0_813_8md.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: issues_closed_for_0.13.md File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">issues_closed_for_0.13.md File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
57
doc/html/issues__closed__for__0_814_8md.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: issues_closed_for_0.14.md File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">issues_closed_for_0.14.md File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
8
doc/html/jquery.js
vendored
Normal file
62
doc/html/json_8h.html
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>A convenience header that may be included instead of other individual ones.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>A convenience header that may be included instead of other individual ones. </p>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
199
doc/html/json__c__version_8h.html
Normal file
@@ -0,0 +1,199 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_c_version.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_c_version.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Methods for retrieving the json-c version.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a251c3e1f59a379a4a905382b4e855125"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a>   0</td></tr>
|
||||||
|
<tr class="separator:a251c3e1f59a379a4a905382b4e855125"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a>   14</td></tr>
|
||||||
|
<tr class="separator:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a64457730097067ab096906d82e4a51a6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>   0</td></tr>
|
||||||
|
<tr class="separator:a64457730097067ab096906d82e4a51a6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a>   ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td></tr>
|
||||||
|
<tr class="separator:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a>   "0.14"</td></tr>
|
||||||
|
<tr class="separator:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||||
|
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a1c42f6f71943775e2696c47951989711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a1c42f6f71943775e2696c47951989711"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a860ee32b09f4faf38d73771a6ed193ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version_num</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a860ee32b09f4faf38d73771a6ed193ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Methods for retrieving the json-c version. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a251c3e1f59a379a4a905382b4e855125"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_MAJOR_VERSION   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a64457730097067ab096906d82e4a51a6"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_MICRO_VERSION   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adc87477fbc1c75848fe6b6feec21c2d6"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_MINOR_VERSION   14</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a894adda66a072bc3fd34ebe91a5aa7f4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VERSION   "0.14"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a78e176eee75ee6aed43c4d65ca4c5b44"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VERSION_NUM   ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a1c42f6f71943775e2696c47951989711"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_c_version </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a> </dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as a string </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a860ee32b09f4faf38d73771a6ed193ed"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_version_num </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The json-c version encoded into an int, with the low order 8 bits being the micro version, the next higher 8 bits being the minor version and the next higher 8 bits being the major version. For example, 7.12.99 would be 0x00070B63.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a> </dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as an int </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
111
doc/html/json__inttypes_8h.html
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_inttypes.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_inttypes.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:ae372e90b62c1e8b51dc5d95bf7f5ba48"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">PRId64</a>   "I64d"</td></tr>
|
||||||
|
<tr class="separator:ae372e90b62c1e8b51dc5d95bf7f5ba48"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae7044b3fb4cc5cde22155d59437c348f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">SCNd64</a>   "I64d"</td></tr>
|
||||||
|
<tr class="separator:ae7044b3fb4cc5cde22155d59437c348f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">PRIu64</a>   "I64u"</td></tr>
|
||||||
|
<tr class="separator:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="ae372e90b62c1e8b51dc5d95bf7f5ba48"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define PRId64   "I64d"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac582131d7a7c8ee57e73180d1714f9d5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define PRIu64   "I64u"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae7044b3fb4cc5cde22155d59437c348f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define SCNd64   "I64d"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2520
doc/html/json__object_8h.html
Normal file
334
doc/html/json__object__iterator_8h.html
Normal file
@@ -0,0 +1,334 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_object_iterator.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_object_iterator.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iterator.html">json_object_iterator</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:ae93958fa755852192553f1686d248cd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <br class="typebreak"/>
|
||||||
|
<a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a> (void)</td></tr>
|
||||||
|
<tr class="separator:ae93958fa755852192553f1686d248cd1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afdcd32f83dd8f20e25669f197fb7bde9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <br class="typebreak"/>
|
||||||
|
<a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a> (struct <a class="el" href="structjson__object.html">json_object</a> *obj)</td></tr>
|
||||||
|
<tr class="separator:afdcd32f83dd8f20e25669f197fb7bde9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a381fbae848a3268013110002d553c32e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <br class="typebreak"/>
|
||||||
|
<a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a> (const struct <a class="el" href="structjson__object.html">json_object</a> *obj)</td></tr>
|
||||||
|
<tr class="separator:a381fbae848a3268013110002d553c32e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8a152d153844f1ec1698419abae8c2e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a> (struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||||
|
<tr class="separator:a8a152d153844f1ec1698419abae8c2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adbbc3583aef14d9416a0fc8dbf750727"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iter_peek_name</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||||
|
<tr class="separator:adbbc3583aef14d9416a0fc8dbf750727"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad8fe9251ca04af4d8e6840a44de7984b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#ad8fe9251ca04af4d8e6840a44de7984b">json_object_iter_peek_value</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||||
|
<tr class="separator:ad8fe9251ca04af4d8e6840a44de7984b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9cbb250d185348e8b193a886c35ae39e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter1, const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter2)</td></tr>
|
||||||
|
<tr class="separator:a9cbb250d185348e8b193a886c35ae39e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>. </p>
|
||||||
|
<p>Copyright (c) 2009-2012 Hewlett-Packard Development Company, L.P.</p>
|
||||||
|
<p>This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See COPYING for details.</p>
|
||||||
|
<p>API attributes: <br/>
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>Thread-safe: NO<br/>
|
||||||
|
</li>
|
||||||
|
<li>Reentrant: NO </li>
|
||||||
|
</ul>
|
||||||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="afdcd32f83dd8f20e25669f197fb7bde9"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_begin </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieves an iterator to the first pair of the JSON Object.</p>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>Any modification of the underlying pair invalidates all iterators to that pair.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type <a class="el" href="structjson__object.html">json_object</a>)</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> If the JSON Object has at least one pair, on return, the iterator refers to the first pair. If the JSON Object doesn't have any pairs, the returned iterator is equivalent to the "end" iterator for the same JSON Object instance.</dd></dl>
|
||||||
|
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object__iterator.html">json_object_iterator</a> it;</div>
|
||||||
|
<div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object__iterator.html">json_object_iterator</a> itEnd;</div>
|
||||||
|
<div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object.html">json_object</a>* obj;</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="line">obj = <a class="code" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse</a>(<span class="stringliteral">"{'first':'george', 'age':100}"</span>);</div>
|
||||||
|
<div class="line">it = <a class="code" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a>(obj);</div>
|
||||||
|
<div class="line">itEnd = <a class="code" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a>(obj);</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="line"><span class="keywordflow">while</span> (!<a class="code" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a>(&it, &itEnd)) {</div>
|
||||||
|
<div class="line"> printf(<span class="stringliteral">"%s\n"</span>,</div>
|
||||||
|
<div class="line"> <a class="code" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iter_peek_name</a>(&it));</div>
|
||||||
|
<div class="line"> <a class="code" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a>(&it);</div>
|
||||||
|
<div class="line">}</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a381fbae848a3268013110002d553c32e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_end </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieves the iterator that represents the position beyond the last pair of the given JSON Object instance.</p>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>Do NOT write code that assumes that the "end" iterator value is NULL, even if it is so in a particular instance of the implementation.</dd></dl>
|
||||||
|
<dl class="section note"><dt>Note</dt><dd>The reason we do not (and MUST NOT) provide "json_object_iter_is_end(json_object_iterator* iter)" type of API is because it would limit the underlying representation of name/value containment (or force us to add additional, otherwise unnecessary, fields to the iterator structure). The "end" iterator and the equality test method, on the other hand, permit us to cleanly abstract pretty much any reasonable underlying representation without burdening the iterator structure with unnecessary data.</dd>
|
||||||
|
<dd>
|
||||||
|
For performance reasons, memorize the "end" iterator prior to any loop.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type <a class="el" href="structjson__object.html">json_object</a>)</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> On return, the iterator refers to the "end" of the Object instance's pairs (i.e., NOT the last pair, but "beyond the last
|
||||||
|
pair" value) </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9cbb250d185348e8b193a886c35ae39e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> json_object_iter_equal </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter1</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter2</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Tests two iterators for equality. Typically used to test for end of iteration by comparing an iterator to the corresponding "end" iterator (that was derived from the same JSON Object instance).</p>
|
||||||
|
<dl class="section note"><dt>Note</dt><dd>The reason we do not (and MUST NOT) provide "json_object_iter_is_end(json_object_iterator* iter)" type of API is because it would limit the underlying representation of name/value containment (or force us to add additional, otherwise unnecessary, fields to the iterator structure). The equality test method, on the other hand, permits us to cleanly abstract pretty much any reasonable underlying representation.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter1</td><td>Pointer to first valid, non-NULL iterator </td></tr>
|
||||||
|
<tr><td class="paramname">iter2</td><td>POinter to second valid, non-NULL iterator</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>if a NULL iterator pointer or an uninitialized or invalid iterator, or iterators derived from different JSON Object instances are passed, bad things will happen!</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>json_bool non-zero if iterators are equal (i.e., both reference the same name/value pair or are both at "end"); zero if they are not equal. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae93958fa755852192553f1686d248cd1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_init_default </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Initializes an iterator structure to a "default" value that is convenient for initializing an iterator variable to a default state (e.g., initialization list in a class' constructor).</p>
|
||||||
|
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object__iterator.html">json_object_iterator</a> iter = <a class="code" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a>();</div>
|
||||||
|
<div class="line">MyClass() : iter_(<a class="code" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a>())</div>
|
||||||
|
</div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>The initialized value doesn't reference any specific pair, is considered an invalid iterator, and MUST NOT be passed to any json-c API that expects a valid iterator.</dd>
|
||||||
|
<dd>
|
||||||
|
User and internal code MUST NOT make any assumptions about and dependencies on the value of the "default" iterator value.</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a8a152d153844f1ec1698419abae8c2e4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_object_iter_next </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Returns an iterator to the next pair, if any</p>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>Any modification of the underlying pair invalidates all iterators to that pair.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter</td><td>[IN/OUT] Pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator. WARNING: bad things will happen if invalid or "end" iterator is passed. Upon return will contain the reference to the next pair if there is one; if there are no more pairs, will contain the "end" iterator value, which may be compared against the return value of <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end()</a> for the same JSON Object instance. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adbbc3583aef14d9416a0fc8dbf750727"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_object_iter_peek_name </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Returns a const pointer to the name of the pair referenced by the given iterator.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter</td><td>pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>bad things will happen if an invalid or "end" iterator is passed.</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>const char* Pointer to the name of the referenced name/value pair. The name memory belongs to the name/value pair, will be freed when the pair is deleted or modified, and MUST NOT be modified or freed by the user. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad8fe9251ca04af4d8e6840a44de7984b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_object_iter_peek_value </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Returns a pointer to the json-c instance representing the value of the referenced name/value pair, without altering the instance's reference count.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter</td><td>pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>bad things will happen if invalid or "end" iterator is passed.</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>struct json_object* Pointer to the json-c value instance of the referenced name/value pair; the value's reference count is not changed by this function: if you plan to hold on to this json-c node, take a look at <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object_get()</a> and <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>. IMPORTANT: json-c API represents the JSON Null value as a NULL <a class="el" href="structjson__object.html">json_object</a> instance pointer. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
220
doc/html/json__object__private_8h.html
Normal file
@@ -0,0 +1,220 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_object_private.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#enum-members">Enumerations</a> |
|
||||||
|
<a href="#func-members">Functions</a> |
|
||||||
|
<a href="#var-members">Variables</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_object_private.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html">json_object</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="unionjson__object_1_1data.html">json_object::data</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a227adaf0073e17006f614190d414fa1a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">LEN_DIRECT_STRING_DATA</a>   32</td></tr>
|
||||||
|
<tr class="separator:a227adaf0073e17006f614190d414fa1a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:aa125a0d39945a73a7d52b9823a2ef741"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private_delete_fn</a> )(struct <a class="el" href="structjson__object.html">json_object</a> *o)</td></tr>
|
||||||
|
<tr class="separator:aa125a0d39945a73a7d52b9823a2ef741"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aee51efb4329e981ca92b991a26d26e5d"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#aee51efb4329e981ca92b991a26d26e5d">json_object_int_type</a></td></tr>
|
||||||
|
<tr class="separator:aee51efb4329e981ca92b991a26d26e5d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||||
|
Enumerations</h2></td></tr>
|
||||||
|
<tr class="memitem:a2c399964853692c47023a88167f551ff"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> { <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610">json_object_int_type_int64</a>,
|
||||||
|
<a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992">json_object_int_type_uint64</a>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:a2c399964853692c47023a88167f551ff"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a2b38dd2d14fbfa6585de5664b6d61c0c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a2b38dd2d14fbfa6585de5664b6d61c0c">_json_c_set_last_err</a> (const char *err_fmt,...)</td></tr>
|
||||||
|
<tr class="separator:a2b38dd2d14fbfa6585de5664b6d61c0c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||||
|
Variables</h2></td></tr>
|
||||||
|
<tr class="memitem:a27427f89f2fc995639e366635fbe58ac"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a27427f89f2fc995639e366635fbe58ac">json_number_chars</a></td></tr>
|
||||||
|
<tr class="separator:a27427f89f2fc995639e366635fbe58ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a20dbe4913551cefa6b4b0a77fd4397c4"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a20dbe4913551cefa6b4b0a77fd4397c4">json_hex_chars</a></td></tr>
|
||||||
|
<tr class="separator:a20dbe4913551cefa6b4b0a77fd4397c4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a227adaf0073e17006f614190d414fa1a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LEN_DIRECT_STRING_DATA   32</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>< how many bytes are directly stored in <a class="el" href="structjson__object.html">json_object</a> for strings? </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="aee51efb4329e981ca92b991a26d26e5d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa125a0d39945a73a7d52b9823a2ef741"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( json_object_private_delete_fn)(struct <a class="el" href="structjson__object.html">json_object</a> *o)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||||
|
<a class="anchor" id="a2c399964853692c47023a88167f551ff"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610"></a>json_object_int_type_int64</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992"></a>json_object_int_type_uint64</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a2b38dd2d14fbfa6585de5664b6d61c0c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void _json_c_set_last_err </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>err_fmt</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Variable Documentation</h2>
|
||||||
|
<a class="anchor" id="a20dbe4913551cefa6b4b0a77fd4397c4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">const char* json_hex_chars</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a27427f89f2fc995639e366635fbe58ac"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">const char* json_number_chars</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
268
doc/html/json__pointer_8h.html
Normal file
@@ -0,0 +1,268 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_pointer.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_pointer.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:aff88937e32b0ba6ffbd07cb4b1919053"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer_get</a> (struct <a class="el" href="structjson__object.html">json_object</a> *obj, const char *path, struct <a class="el" href="structjson__object.html">json_object</a> **res)</td></tr>
|
||||||
|
<tr class="separator:aff88937e32b0ba6ffbd07cb4b1919053"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af0ac03df64b215d05041e8007ed0233d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer_getf</a> (struct <a class="el" href="structjson__object.html">json_object</a> *obj, struct <a class="el" href="structjson__object.html">json_object</a> **res, const char *path_fmt,...)</td></tr>
|
||||||
|
<tr class="separator:af0ac03df64b215d05041e8007ed0233d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aef0e651f63ce5ce35648503705e2586b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set</a> (struct <a class="el" href="structjson__object.html">json_object</a> **obj, const char *path, struct <a class="el" href="structjson__object.html">json_object</a> *value)</td></tr>
|
||||||
|
<tr class="separator:aef0e651f63ce5ce35648503705e2586b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a66f1f98a2ce085c19f6750193b4c726d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer_setf</a> (struct <a class="el" href="structjson__object.html">json_object</a> **obj, struct <a class="el" href="structjson__object.html">json_object</a> *value, const char *path_fmt,...)</td></tr>
|
||||||
|
<tr class="separator:a66f1f98a2ce085c19f6750193b4c726d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree. </p>
|
||||||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="aff88937e32b0ba6ffbd07cb4b1919053"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_get </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>res</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieves a JSON sub-object from inside another JSON object using the JSON pointer notation as defined in RFC 6901 <a href="https://tools.ietf.org/html/rfc6901">https://tools.ietf.org/html/rfc6901</a></p>
|
||||||
|
<p>The returned JSON sub-object is equivalent to parsing manually the 'obj' JSON tree ; i.e. it's not a new object that is created, but rather a pointer inside the JSON tree.</p>
|
||||||
|
<p>Internally, this is equivalent to doing a series of '<a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object_object_get()</a>' and '<a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object_array_get_idx()</a>' along the given 'path'.</p>
|
||||||
|
<p>Note that the 'path' string supports 'printf()' type arguments, so, whatever is added after the 'res' param will be treated as an argument for 'path' Example: json_pointer_get(obj, "/foo/%d/%s", &res, 0, bar) This means, that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> instance/tree from where to retrieve sub-objects </td></tr>
|
||||||
|
<tr><td class="paramname">path</td><td>a (RFC6901) string notation for the sub-object to retrieve </td></tr>
|
||||||
|
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the <a class="el" href="structjson__object.html">json_object</a> associated with the given path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af0ac03df64b215d05041e8007ed0233d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_getf </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>res</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path_fmt</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This is a variant of '<a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer_get()</a>' that supports printf() style arguments.</p>
|
||||||
|
<p>Example: json_pointer_getf(obj, res, "/foo/%d/%s", 0, bak) This also means that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<p>Please take into consideration all recommended 'printf()' format security aspects when using this function.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> instance/tree to which to add a sub-object </td></tr>
|
||||||
|
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the <a class="el" href="structjson__object.html">json_object</a> associated with the given path </td></tr>
|
||||||
|
<tr><td class="paramname">path_fmt</td><td>a printf() style format for the path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aef0e651f63ce5ce35648503705e2586b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_set </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>value</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Sets JSON object 'value' in the 'obj' tree at the location specified by the 'path'. 'path' is JSON pointer notation as defined in RFC 6901 <a href="https://tools.ietf.org/html/rfc6901">https://tools.ietf.org/html/rfc6901</a></p>
|
||||||
|
<p>Note that 'obj' is a double pointer, mostly for the "" (empty string) case, where the entire JSON object would be replaced by 'value'. In the case of the "" path, the object at '*obj' will have it's refcount decremented with '<a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>' and the 'value' object will be assigned to it.</p>
|
||||||
|
<p>For other cases (JSON sub-objects) ownership of 'value' will be transferred into '*obj' via '<a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a>' & '<a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object_array_put_idx()</a>', so the only time the refcount should be decremented for 'value' is when the return value of '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' is negative (meaning the 'value' object did not get set into '*obj').</p>
|
||||||
|
<p>That also implies that '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' does not do any refcount incrementing. (Just that single decrement that was mentioned above).</p>
|
||||||
|
<p>Note that the 'path' string supports 'printf()' type arguments, so, whatever is added after the 'value' param will be treated as an argument for 'path' Example: json_pointer_set(obj, "/foo/%d/%s", value, 0, bak) This means, that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> instance/tree to which to add a sub-object </td></tr>
|
||||||
|
<tr><td class="paramname">path</td><td>a (RFC6901) string notation for the sub-object to set in the tree </td></tr>
|
||||||
|
<tr><td class="paramname">value</td><td>object to set at path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a66f1f98a2ce085c19f6750193b4c726d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_setf </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>value</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path_fmt</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This is a variant of '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' that supports printf() style arguments.</p>
|
||||||
|
<p>Example: json_pointer_setf(obj, value, "/foo/%d/%s", 0, bak) This also means that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<p>Please take into consideration all recommended 'printf()' format security aspects when using this function.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> instance/tree to which to add a sub-object </td></tr>
|
||||||
|
<tr><td class="paramname">value</td><td>object to set at path </td></tr>
|
||||||
|
<tr><td class="paramname">path_fmt</td><td>a printf() style format for the path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
649
doc/html/json__tokener_8h.html
Normal file
@@ -0,0 +1,649 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_tokener.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#enum-members">Enumerations</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_tokener.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Methods to parse an input string into a tree of <a class="el" href="structjson__object.html">json_object</a> objects.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html">json_tokener</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a5ccd346459feb66e4e0af32005360279"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">JSON_TOKENER_DEFAULT_DEPTH</a>   32</td></tr>
|
||||||
|
<tr class="separator:a5ccd346459feb66e4e0af32005360279"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a72be595cb7e090c70b1d29feb1cbfb16"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">JSON_TOKENER_STRICT</a>   0x01</td></tr>
|
||||||
|
<tr class="separator:a72be595cb7e090c70b1d29feb1cbfb16"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a633ab043f2b07fd22420af2b369a260a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">JSON_TOKENER_VALIDATE_UTF8</a>   0x10</td></tr>
|
||||||
|
<tr class="separator:a633ab043f2b07fd22420af2b369a260a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:a4dd5e5b65aee7f376f529f86b210ff49"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__tokener.html">json_tokener</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener</a></td></tr>
|
||||||
|
<tr class="separator:a4dd5e5b65aee7f376f529f86b210ff49"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||||
|
Enumerations</h2></td></tr>
|
||||||
|
<tr class="memitem:a0a31f0df8a532ef8be5c09ba40eacb59"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> { <br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener_error_depth</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener_error_parse_eof</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener_error_parse_unexpected</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener_error_parse_null</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener_error_parse_boolean</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener_error_parse_number</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener_error_parse_array</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener_error_parse_object_key_name</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener_error_parse_object_key_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener_error_parse_object_value_sep</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener_error_parse_string</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener_error_parse_comment</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener_error_parse_utf8_string</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener_error_size</a>
|
||||||
|
<br/>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:a0a31f0df8a532ef8be5c09ba40eacb59"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af026dec71e4548e6200eb2f902f1c4e2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> { <br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener_state_eatws</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener_state_start</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener_state_finish</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener_state_null</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener_state_comment_start</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener_state_comment</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener_state_comment_eol</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener_state_comment_end</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener_state_string</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener_state_string_escape</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener_state_escape_unicode</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener_state_boolean</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener_state_number</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener_state_array</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener_state_array_add</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener_state_array_sep</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener_state_object_field_start</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener_state_object_field</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener_state_object_field_end</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener_state_object_value</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener_state_object_value_add</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener_state_object_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener_state_array_after_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener_state_object_field_start_after_sep</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener_state_inf</a>
|
||||||
|
<br/>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:af026dec71e4548e6200eb2f902f1c4e2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a4a2fa28d815f8b370cbb00b80ebc0f1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:a4a2fa28d815f8b370cbb00b80ebc0f1d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af060dd6b593b3b710044bcb97dcec07f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener_error_desc</a> (enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> jerr)</td></tr>
|
||||||
|
<tr class="separator:af060dd6b593b3b710044bcb97dcec07f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af5d7ffd95a0f6e5d5bb5994d233b4197"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:af5d7ffd95a0f6e5d5bb5994d233b4197"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5ac7e2c350bc592cf2fa7b9935b00ef5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener_new</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a5ac7e2c350bc592cf2fa7b9935b00ef5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6a1583ddd434e13515d6232de813462e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener_new_ex</a> (int depth)</td></tr>
|
||||||
|
<tr class="separator:a6a1583ddd434e13515d6232de813462e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a887c4661906fc6b36cc366304e522534"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:a887c4661906fc6b36cc366304e522534"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a238649a59737be5152d525aeaf4153ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener_reset</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:a238649a59737be5152d525aeaf4153ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a236ef64d079822a4411d13eae7190c4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse</a> (const char *str)</td></tr>
|
||||||
|
<tr class="separator:a236ef64d079822a4411d13eae7190c4d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a735f2dc755d57ed5c5b807aaaaef3b14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a735f2dc755d57ed5c5b807aaaaef3b14">json_tokener_parse_verbose</a> (const char *str, enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> *error)</td></tr>
|
||||||
|
<tr class="separator:a735f2dc755d57ed5c5b807aaaaef3b14"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7e7a0c0c9dc79e5e47b2608bb8aad7b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok, int flags)</td></tr>
|
||||||
|
<tr class="separator:a7e7a0c0c9dc79e5e47b2608bb8aad7b7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a61679f178111963a9ffa3c8179553f7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok, const char *str, int len)</td></tr>
|
||||||
|
<tr class="separator:a61679f178111963a9ffa3c8179553f7a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Methods to parse an input string into a tree of <a class="el" href="structjson__object.html">json_object</a> objects. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a5ccd346459feb66e4e0af32005360279"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_DEFAULT_DEPTH   32</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a72be595cb7e090c70b1d29feb1cbfb16"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_STRICT   0x01</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Be strict when parsing JSON input. Use caution with this flag as what is considered valid may become more restrictive from one release to the next, causing your code to fail on previously working input.</p>
|
||||||
|
<p>This flag is not set by default.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a633ab043f2b07fd22420af2b369a260a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_VALIDATE_UTF8   0x10</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Cause <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> to validate that input is UTF8. If this flag is specified and validation fails, then json_tokener_get_error(tok) will return json_tokener_error_parse_utf8_string</p>
|
||||||
|
<p>This flag is not set by default.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a4dd5e5b65aee7f376f529f86b210ff49"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structjson__tokener.html">json_tokener</a> <a class="el" href="structjson__tokener.html">json_tokener</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Unused in json-c code </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||||
|
<a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0"></a>json_tokener_success</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0"></a>json_tokener_continue</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c"></a>json_tokener_error_depth</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded"></a>json_tokener_error_parse_eof</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710"></a>json_tokener_error_parse_unexpected</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c"></a>json_tokener_error_parse_null</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c"></a>json_tokener_error_parse_boolean</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81"></a>json_tokener_error_parse_number</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e"></a>json_tokener_error_parse_array</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0"></a>json_tokener_error_parse_object_key_name</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd"></a>json_tokener_error_parse_object_key_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013"></a>json_tokener_error_parse_object_value_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7"></a>json_tokener_error_parse_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28"></a>json_tokener_error_parse_comment</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1"></a>json_tokener_error_parse_utf8_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d"></a>json_tokener_error_size</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd></dl>
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d"></a>json_tokener_state_eatws</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72"></a>json_tokener_state_start</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2"></a>json_tokener_state_finish</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792"></a>json_tokener_state_null</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c"></a>json_tokener_state_comment_start</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9"></a>json_tokener_state_comment</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162"></a>json_tokener_state_comment_eol</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1"></a>json_tokener_state_comment_end</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65"></a>json_tokener_state_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e"></a>json_tokener_state_string_escape</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0"></a>json_tokener_state_escape_unicode</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e"></a>json_tokener_state_boolean</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81"></a>json_tokener_state_number</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4"></a>json_tokener_state_array</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771"></a>json_tokener_state_array_add</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865"></a>json_tokener_state_array_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29"></a>json_tokener_state_object_field_start</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc"></a>json_tokener_state_object_field</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7"></a>json_tokener_state_object_field_end</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa"></a>json_tokener_state_object_value</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162"></a>json_tokener_state_object_value_add</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215"></a>json_tokener_state_object_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9"></a>json_tokener_state_array_after_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523"></a>json_tokener_state_object_field_start_after_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53"></a>json_tokener_state_inf</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="af060dd6b593b3b710044bcb97dcec07f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_tokener_error_desc </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td>
|
||||||
|
<td class="paramname"><em>jerr</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Given an error previously returned by <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a>, return a human readable description of the error.</p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>a generic error message is returned if an invalid error value is provided. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a887c4661906fc6b36cc366304e522534"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af5d7ffd95a0f6e5d5bb5994d233b4197"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> json_tokener_get_error </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieve the error caused by the last call to <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a>, or json_tokener_success if there is no error.</p>
|
||||||
|
<p>When parsing a JSON string in pieces, if the tokener is in the middle of parsing this will return json_tokener_continue.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener_error_desc()</a>. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a4a2fa28d815f8b370cbb00b80ebc0f1d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> size_t json_tokener_get_parse_end </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return the offset of the byte after the last byte parsed relative to the start of the most recent string passed in to <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a>. i.e. this is where parsing would start again if the input contains another JSON object after the currently parsed one.</p>
|
||||||
|
<p>Note that when multiple parse calls are issued, this is <em>not</em> the total number of characters parsed.</p>
|
||||||
|
<p>In the past this would have been accessed as tok->char_offset.</p>
|
||||||
|
<p>See <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> for an example of how to use this. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5ac7e2c350bc592cf2fa7b9935b00ef5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a>* json_tokener_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6a1583ddd434e13515d6232de813462e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a>* json_tokener_new_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>depth</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a236ef64d079822a4411d13eae7190c4d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_parse </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>str</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a61679f178111963a9ffa3c8179553f7a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_parse_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>str</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>len</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Parse a string and return a non-NULL <a class="el" href="structjson__object.html">json_object</a> if a valid JSON value is found. The string does not need to be a JSON object or array; it can also be a string, number or boolean value.</p>
|
||||||
|
<p>A partial JSON string can be parsed. If the parsing is incomplete, NULL will be returned and <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> will return json_tokener_continue. <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> can then be called with additional bytes in str to continue the parsing.</p>
|
||||||
|
<p>If <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> returns NULL and the error is anything other than json_tokener_continue, a fatal error has occurred and parsing must be halted. Then, the tok object must not be reused until <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener_reset()</a> is called.</p>
|
||||||
|
<p>When a valid JSON value is parsed, a non-NULL <a class="el" href="structjson__object.html">json_object</a> will be returned, with a reference count of one which belongs to the caller. Also, <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> will return json_tokener_success. Be sure to check the type with <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object_is_type()</a> or <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object_get_type()</a> before using the object.</p>
|
||||||
|
<p>Trailing characters after the parsed value do not automatically cause an error. It is up to the caller to decide whether to treat this as an error or to handle the additional characters, perhaps by parsing another json value starting from that point.</p>
|
||||||
|
<p>Extra characters can be detected by comparing the value returned by <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> against the length of the last len parameter passed in.</p>
|
||||||
|
<p>The tokener does <b>not</b> maintain an internal buffer so the caller is responsible for calling json_tokener_parse_ex with an appropriate str parameter starting with the extra characters.</p>
|
||||||
|
<p>This interface is presently not 64-bit clean due to the int len argument so the function limits the maximum string size to INT32_MAX (2GB). If the function is called with len == -1 then strlen is called to check the string length is less than INT32_MAX (2GB)</p>
|
||||||
|
<p>Example: </p>
|
||||||
|
<div class="fragment"><div class="line"><a class="code" href="structjson__object.html">json_object</a> *jobj = NULL;</div>
|
||||||
|
<div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span> *mystring = NULL;</div>
|
||||||
|
<div class="line"><span class="keywordtype">int</span> stringlen = 0;</div>
|
||||||
|
<div class="line"><span class="keyword">enum</span> <a class="code" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> jerr;</div>
|
||||||
|
<div class="line"><span class="keywordflow">do</span> {</div>
|
||||||
|
<div class="line"> mystring = ... <span class="comment">// get JSON string, e.g. read from file, etc...</span></div>
|
||||||
|
<div class="line"> stringlen = strlen(mystring);</div>
|
||||||
|
<div class="line"> jobj = <a class="code" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex</a>(tok, mystring, stringlen);</div>
|
||||||
|
<div class="line">} <span class="keywordflow">while</span> ((jerr = <a class="code" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a>(tok)) == <a class="code" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a>);</div>
|
||||||
|
<div class="line"><span class="keywordflow">if</span> (jerr != <a class="code" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a>)</div>
|
||||||
|
<div class="line">{</div>
|
||||||
|
<div class="line"> fprintf(stderr, <span class="stringliteral">"Error: %s\n"</span>, <a class="code" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener_error_desc</a>(jerr));</div>
|
||||||
|
<div class="line"> <span class="comment">// Handle errors, as appropriate for your application.</span></div>
|
||||||
|
<div class="line">}</div>
|
||||||
|
<div class="line"><span class="keywordflow">if</span> (<a class="code" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a>(tok) < stringlen)</div>
|
||||||
|
<div class="line">{</div>
|
||||||
|
<div class="line"> <span class="comment">// Handle extra characters after parsed object as desired.</span></div>
|
||||||
|
<div class="line"> <span class="comment">// e.g. issue an error, parse another object from that point, etc...</span></div>
|
||||||
|
<div class="line">}</div>
|
||||||
|
<div class="line"><span class="comment">// Success, use jobj here.</span></div>
|
||||||
|
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">tok</td><td>a <a class="el" href="structjson__tokener.html">json_tokener</a> previously allocated with <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener_new()</a> </td></tr>
|
||||||
|
<tr><td class="paramname">str</td><td>an string with any valid JSON expression, or portion of. This does not need to be null terminated. </td></tr>
|
||||||
|
<tr><td class="paramname">len</td><td>the length of str </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a735f2dc755d57ed5c5b807aaaaef3b14"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_parse_verbose </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>str</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> * </td>
|
||||||
|
<td class="paramname"><em>error</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a238649a59737be5152d525aeaf4153ab"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_reset </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a7e7a0c0c9dc79e5e47b2608bb8aad7b7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_set_flags </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>flags</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Set flags that control how parsing will be done. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
230
doc/html/json__types_8h.html
Normal file
@@ -0,0 +1,230 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_types.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#enum-members">Enumerations</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_types.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Basic types used in a few places in json-c, but you should include "json_object.h" instead.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iter.html">json_object_iter</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||||
|
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:af88126730e765f2068968f4b16fd074f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__object__iter.html">json_object_iter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_object_iter</a></td></tr>
|
||||||
|
<tr class="separator:af88126730e765f2068968f4b16fd074f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a81f02022906fafc71eb9197049f07f73"><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a></td></tr>
|
||||||
|
<tr class="separator:a81f02022906fafc71eb9197049f07f73"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af27907ced0f5a43409ad96430fe0f914"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__object.html">json_object</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></td></tr>
|
||||||
|
<tr class="memdesc:af27907ced0f5a43409ad96430fe0f914"><td class="mdescLeft"> </td><td class="mdescRight">The core type for all type of JSON objects handled by json-c. <a href="#af27907ced0f5a43409ad96430fe0f914"></a><br/></td></tr>
|
||||||
|
<tr class="separator:af27907ced0f5a43409ad96430fe0f914"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa647d7c567a06abe1a1a511f6d6860e4"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_object_delete_fn</a> )(struct <a class="el" href="structjson__object.html">json_object</a> *jso, void *userdata)</td></tr>
|
||||||
|
<tr class="separator:aa647d7c567a06abe1a1a511f6d6860e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af84078100a9025df418f31626ea866fa"><td class="memItemLeft" align="right" valign="top">typedef int( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_object_to_json_string_fn</a> )(struct <a class="el" href="structjson__object.html">json_object</a> *jso, struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int level, int flags)</td></tr>
|
||||||
|
<tr class="separator:af84078100a9025df418f31626ea866fa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aba5eff84f8638d22f50403175f270c96"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#aba5eff84f8638d22f50403175f270c96">json_type</a></td></tr>
|
||||||
|
<tr class="separator:aba5eff84f8638d22f50403175f270c96"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||||
|
Enumerations</h2></td></tr>
|
||||||
|
<tr class="memitem:ac75c61993722a9b8aaa44704072ec06c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> { <br/>
|
||||||
|
  <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_type_null</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_type_boolean</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_type_double</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_type_int</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_type_object</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_type_array</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_type_string</a>
|
||||||
|
<br/>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:ac75c61993722a9b8aaa44704072ec06c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Basic types used in a few places in json-c, but you should include "json_object.h" instead. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a81f02022906fafc71eb9197049f07f73"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af27907ced0f5a43409ad96430fe0f914"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structjson__object.html">json_object</a> <a class="el" href="structjson__object.html">json_object</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>The core type for all type of JSON objects handled by json-c. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa647d7c567a06abe1a1a511f6d6860e4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( json_object_delete_fn)(struct <a class="el" href="structjson__object.html">json_object</a> *jso, void *userdata)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Type of custom user delete functions. See json_object_set_serializer. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af88126730e765f2068968f4b16fd074f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structjson__object__iter.html">json_object_iter</a> <a class="el" href="structjson__object__iter.html">json_object_iter</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af84078100a9025df418f31626ea866fa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int( json_object_to_json_string_fn)(struct <a class="el" href="structjson__object.html">json_object</a> *jso, struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int level, int flags)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Type of a custom serialization function. See json_object_set_serializer. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aba5eff84f8638d22f50403175f270c96"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||||
|
<a class="anchor" id="ac75c61993722a9b8aaa44704072ec06c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1"></a>json_type_null</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c"></a>json_type_boolean</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd"></a>json_type_double</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956"></a>json_type_int</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f"></a>json_type_object</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c"></a>json_type_array</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6"></a>json_type_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
472
doc/html/json__util_8h.html
Normal file
@@ -0,0 +1,472 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_util.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_util.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Miscllaneous utility functions and macros.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a3dde282dc23d0eaa3c4840df8dc262d4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_min</a>(a, b)   ((a) < (b) ? (a) : (b))</td></tr>
|
||||||
|
<tr class="separator:a3dde282dc23d0eaa3c4840df8dc262d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a57d63d199d4b9ea40359253618951300"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_max</a>(a, b)   ((a) > (b) ? (a) : (b))</td></tr>
|
||||||
|
<tr class="separator:a57d63d199d4b9ea40359253618951300"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a084b6afc8f7fbef88976aabe4aca7efd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">JSON_FILE_BUF_SIZE</a>   4096</td></tr>
|
||||||
|
<tr class="separator:a084b6afc8f7fbef88976aabe4aca7efd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a03119ec0a71af4eee95318e9b2aaf05b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a03119ec0a71af4eee95318e9b2aaf05b">json_object_from_file</a> (const char *filename)</td></tr>
|
||||||
|
<tr class="separator:a03119ec0a71af4eee95318e9b2aaf05b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a88c5c7ce735d95f6c3c81c73475e14aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_object_from_fd_ex</a> (int fd, int depth)</td></tr>
|
||||||
|
<tr class="separator:a88c5c7ce735d95f6c3c81c73475e14aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5b72bf6f3ac8fb03da38d2e2d1e18d1b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a5b72bf6f3ac8fb03da38d2e2d1e18d1b">json_object_from_fd</a> (int fd)</td></tr>
|
||||||
|
<tr class="separator:a5b72bf6f3ac8fb03da38d2e2d1e18d1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a486fc95fafe7cb91c58c7f6487036bc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_object_to_file</a> (const char *filename, struct <a class="el" href="structjson__object.html">json_object</a> *obj)</td></tr>
|
||||||
|
<tr class="separator:a486fc95fafe7cb91c58c7f6487036bc5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a68a7385c555cf21797e361d1d4de3441"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_object_to_file_ext</a> (const char *filename, struct <a class="el" href="structjson__object.html">json_object</a> *obj, int flags)</td></tr>
|
||||||
|
<tr class="separator:a68a7385c555cf21797e361d1d4de3441"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afd492c120e359d2d75b67da96b580661"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_object_to_fd</a> (int fd, struct <a class="el" href="structjson__object.html">json_object</a> *obj, int flags)</td></tr>
|
||||||
|
<tr class="separator:afd492c120e359d2d75b67da96b580661"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9fe4dbb5fe32850cdc22a97454e4500b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a9fe4dbb5fe32850cdc22a97454e4500b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9d9a63936cdae6639b9cdd87fdd13506"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_parse_int64</a> (const char *buf, int64_t *retval)</td></tr>
|
||||||
|
<tr class="separator:a9d9a63936cdae6639b9cdd87fdd13506"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a94c2340c1344d57f7aa067f2dd0407f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_parse_uint64</a> (const char *buf, uint64_t *retval)</td></tr>
|
||||||
|
<tr class="separator:a94c2340c1344d57f7aa067f2dd0407f9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3f0f0b8f29a41b47d62e6c867707be50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_parse_double</a> (const char *buf, double *retval)</td></tr>
|
||||||
|
<tr class="separator:a3f0f0b8f29a41b47d62e6c867707be50"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a762aaf3df0a9c7b6919cdc1035348012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a762aaf3df0a9c7b6919cdc1035348012">json_type_to_name</a> (enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> o_type)</td></tr>
|
||||||
|
<tr class="separator:a762aaf3df0a9c7b6919cdc1035348012"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Miscllaneous utility functions and macros. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a084b6afc8f7fbef88976aabe4aca7efd"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_FILE_BUF_SIZE   4096</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a57d63d199d4b9ea40359253618951300"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define json_max</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">a, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">b </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   ((a) > (b) ? (a) : (b))</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a3dde282dc23d0eaa3c4840df8dc262d4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define json_min</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">a, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">b </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   ((a) < (b) ? (a) : (b))</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a5b72bf6f3ac8fb03da38d2e2d1e18d1b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_object_from_fd </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>fd</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Create a JSON object from an already opened file descriptor, using the default maximum object depth. (JSON_TOKENER_DEFAULT_DEPTH)</p>
|
||||||
|
<p>See <a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_object_from_fd_ex()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a88c5c7ce735d95f6c3c81c73475e14aa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_object_from_fd_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>fd</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>depth</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Create a JSON object from already opened file descriptor.</p>
|
||||||
|
<p>This function can be helpful, when you opened the file already, e.g. when you have a temp file. Note, that the fd must be readable at the actual position, i.e. use lseek(fd, 0, SEEK_SET) before.</p>
|
||||||
|
<p>The depth argument specifies the maximum object depth to pass to <a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener_new_ex()</a>. When depth == -1, JSON_TOKENER_DEFAULT_DEPTH is used instead.</p>
|
||||||
|
<p>Returns NULL on failure. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a03119ec0a71af4eee95318e9b2aaf05b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_object_from_file </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>filename</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Read the full contents of the given file, then convert it to a <a class="el" href="structjson__object.html">json_object</a> using <a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse()</a>.</p>
|
||||||
|
<p>Returns NULL on failure. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="afd492c120e359d2d75b67da96b580661"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_fd </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>fd</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>flags</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convert the <a class="el" href="structjson__object.html">json_object</a> to a string and write it to the file descriptor. Handles partial writes and will keep writing until done, or an error occurs.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">fd</td><td>an open, writable file descriptor to write to </td></tr>
|
||||||
|
<tr><td class="paramname">obj</td><td>the object to serializer and write </td></tr>
|
||||||
|
<tr><td class="paramname">flags</td><td>flags to pass to <a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object_to_json_string_ext()</a> </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>-1 if something fails. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a486fc95fafe7cb91c58c7f6487036bc5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_file </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>filename</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Equivalent to: json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN);</p>
|
||||||
|
<p>Returns -1 if something fails. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a68a7385c555cf21797e361d1d4de3441"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_file_ext </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>filename</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>flags</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Open and truncate the given file, creating it if necessary, then convert the <a class="el" href="structjson__object.html">json_object</a> to a string and write it to the file.</p>
|
||||||
|
<p>Returns -1 if something fails. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a3f0f0b8f29a41b47d62e6c867707be50"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_double </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">double * </td>
|
||||||
|
<td class="paramname"><em>retval</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9d9a63936cdae6639b9cdd87fdd13506"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_int64 </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int64_t * </td>
|
||||||
|
<td class="paramname"><em>retval</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a94c2340c1344d57f7aa067f2dd0407f9"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_uint64 </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">uint64_t * </td>
|
||||||
|
<td class="paramname"><em>retval</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a762aaf3df0a9c7b6919cdc1035348012"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_type_to_name </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td>
|
||||||
|
<td class="paramname"><em>o_type</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return a string describing the type of the object. e.g. "int", or "object", etc... </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9fe4dbb5fe32850cdc22a97454e4500b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_util_get_last_err </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return the last error from various json-c functions, including: json_object_to_file{,<em>ext}, <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_object_to_fd()</a> or json_object_from</em>{file,fd}, or NULL if there is none. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
239
doc/html/json__visit_8h.html
Normal file
@@ -0,0 +1,239 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_visit.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_visit.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Methods for walking a tree of objects.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:ac5be4a96b99b724833943003715dfc1c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">JSON_C_VISIT_SECOND</a>   0x02</td></tr>
|
||||||
|
<tr class="separator:ac5be4a96b99b724833943003715dfc1c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a98b35e1ba1d52d41799dccbfd2c170a1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">JSON_C_VISIT_RETURN_CONTINUE</a>   0</td></tr>
|
||||||
|
<tr class="separator:a98b35e1ba1d52d41799dccbfd2c170a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adc7ca60a79c4ae870d9463e41527c2a1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">JSON_C_VISIT_RETURN_SKIP</a>   7547</td></tr>
|
||||||
|
<tr class="separator:adc7ca60a79c4ae870d9463e41527c2a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a327a21f1f1c6f84e7a13fbaaf4a51b13"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">JSON_C_VISIT_RETURN_POP</a>   767</td></tr>
|
||||||
|
<tr class="separator:a327a21f1f1c6f84e7a13fbaaf4a51b13"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5956f41bed48f90a127f9b37fad7ea97"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">JSON_C_VISIT_RETURN_STOP</a>   7867</td></tr>
|
||||||
|
<tr class="separator:a5956f41bed48f90a127f9b37fad7ea97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:abfacb0713b81c897a8ce5f37ff6ffb9c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">JSON_C_VISIT_RETURN_ERROR</a>   -1</td></tr>
|
||||||
|
<tr class="separator:abfacb0713b81c897a8ce5f37ff6ffb9c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:a0fadec4abb2befcacfaff7df822f3f8d"><td class="memItemLeft" align="right" valign="top">typedef int( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_c_visit_userfunc</a> )(<a class="el" href="structjson__object.html">json_object</a> *jso, int flags, <a class="el" href="structjson__object.html">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td></tr>
|
||||||
|
<tr class="separator:a0fadec4abb2befcacfaff7df822f3f8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a0f585e56a5d417381cdf6c28538dbb20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_c_visit</a> (<a class="el" href="structjson__object.html">json_object</a> *jso, int future_flags, <a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_c_visit_userfunc</a> *userfunc, void *userarg)</td></tr>
|
||||||
|
<tr class="separator:a0f585e56a5d417381cdf6c28538dbb20"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Methods for walking a tree of objects. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a98b35e1ba1d52d41799dccbfd2c170a1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_CONTINUE   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration should proceed normally. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="abfacb0713b81c897a8ce5f37ff6ffb9c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_ERROR   -1</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration should stop immediately, and cause json_c_visit to return an error. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a327a21f1f1c6f84e7a13fbaaf4a51b13"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_POP   767</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration of the fields/elements of the <b>containing</b> object should stop and continue "popped up" a level of the object hierarchy. For example, returning this when handling arg will result in arg3 and any other fields being skipped. The next call to userfunc will be the JSON_C_VISIT_SECOND call on "foo", followed by a userfunc call on "bar". </p>
|
||||||
|
<pre>
|
||||||
|
{
|
||||||
|
"foo": {
|
||||||
|
"arg1": 1,
|
||||||
|
"arg2": 2,
|
||||||
|
"arg3": 3,
|
||||||
|
...
|
||||||
|
},
|
||||||
|
"bar": {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adc7ca60a79c4ae870d9463e41527c2a1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_SKIP   7547</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration over the members of the current object should be skipped. If the current object isn't a container (array or object), this is no different than JSON_C_VISIT_RETURN_CONTINUE. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5956f41bed48f90a127f9b37fad7ea97"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_STOP   7867</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration should stop immediately, and cause json_c_visit to return success. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac5be4a96b99b724833943003715dfc1c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_SECOND   0x02</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Passed to json_c_visit_userfunc as one of the flags values to indicate that this is the second time a container (array or object) is being called, after all of it's members have been iterated over. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a0fadec4abb2befcacfaff7df822f3f8d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int( json_c_visit_userfunc)(<a class="el" href="structjson__object.html">json_object</a> *jso, int flags, <a class="el" href="structjson__object.html">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a0f585e56a5d417381cdf6c28538dbb20"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_visit </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>jso</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>future_flags</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_c_visit_userfunc</a> * </td>
|
||||||
|
<td class="paramname"><em>userfunc</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void * </td>
|
||||||
|
<td class="paramname"><em>userarg</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Visit each object in the JSON hierarchy starting at jso. For each object, userfunc is called, passing the object and userarg. If the object has a parent (i.e. anything other than jso itself) its parent will be passed as parent_jso, and either jso_key or jso_index will be set, depending on whether the parent is an object or an array.</p>
|
||||||
|
<p>Nodes will be visited depth first, but containers (arrays and objects) will be visited twice, the second time with JSON_C_VISIT_SECOND set in flags.</p>
|
||||||
|
<p>userfunc must return one of the defined return values, to indicate whether and how to continue visiting nodes, or one of various ways to stop.</p>
|
||||||
|
<p>Returns 0 if nodes were visited successfully, even if some were intentionally skipped due to what userfunc returned. Returns <0 if an error occurred during iteration, including if userfunc returned JSON_C_VISIT_RETURN_ERROR. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
956
doc/html/linkhash_8h.html
Normal file
@@ -0,0 +1,956 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: linkhash.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">linkhash.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html">lh_entry</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html">lh_table</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a032f1bd115df254dda325437203ce5fb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">LH_PRIME</a>   0x9e370001UL</td></tr>
|
||||||
|
<tr class="separator:a032f1bd115df254dda325437203ce5fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a66b61772c29d85eb52b697e0b0dc0aaf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">LH_LOAD_FACTOR</a>   0.66</td></tr>
|
||||||
|
<tr class="separator:a66b61772c29d85eb52b697e0b0dc0aaf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a93fad7f8ae44575dc89c9567859972d2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">LH_EMPTY</a>   (void *)-1</td></tr>
|
||||||
|
<tr class="separator:a93fad7f8ae44575dc89c9567859972d2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac69428f2de0a6fb080b6fb373d506aa7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">LH_FREED</a>   (void *)-2</td></tr>
|
||||||
|
<tr class="separator:ac69428f2de0a6fb080b6fb373d506aa7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac32e80138c5be6dd9b0483a9cbcc8799"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">JSON_C_STR_HASH_DFLT</a>   0</td></tr>
|
||||||
|
<tr class="separator:ac32e80138c5be6dd9b0483a9cbcc8799"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a62316f34fd42941b97a8e9a6b6e68faa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">JSON_C_STR_HASH_PERLLIKE</a>   1</td></tr>
|
||||||
|
<tr class="separator:a62316f34fd42941b97a8e9a6b6e68faa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad7dd67da915065dce2c6f44cb03e2d82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">lh_foreach</a>(table, entry)   for (entry = table->head; entry; entry = entry->next)</td></tr>
|
||||||
|
<tr class="separator:ad7dd67da915065dce2c6f44cb03e2d82"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:abcbb0df08b4976d0649b826b6bacfca1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">lh_foreach_safe</a>(table, entry, tmp)   for (entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)</td></tr>
|
||||||
|
<tr class="separator:abcbb0df08b4976d0649b826b6bacfca1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a77c5cddef96e6f1ab036ccf911783456"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">_LH_INLINE</a>   inline</td></tr>
|
||||||
|
<tr class="separator:a77c5cddef96e6f1ab036ccf911783456"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afb856ed4a9bcfd090dde5151fa3ad9ae"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>(a)   ((void *)(uintptr_t)(const void *)(a))</td></tr>
|
||||||
|
<tr class="separator:afb856ed4a9bcfd090dde5151fa3ad9ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7579ce28b8366fc9b8656f14270aa3aa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">lh_entry_k</a>(entry)   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((entry)->k)</td></tr>
|
||||||
|
<tr class="separator:a7579ce28b8366fc9b8656f14270aa3aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a0d4052ccfd8c5d351a9c1d3ba07671b3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">lh_entry_v</a>(entry)   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((entry)->v)</td></tr>
|
||||||
|
<tr class="separator:a0d4052ccfd8c5d351a9c1d3ba07671b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:a671553d0ee3c2a123190ba0f8ed2b635"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> )(struct <a class="el" href="structlh__entry.html">lh_entry</a> *e)</td></tr>
|
||||||
|
<tr class="separator:a671553d0ee3c2a123190ba0f8ed2b635"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a38bae27995dcfb6ee3fb109a9be229b2"><td class="memItemLeft" align="right" valign="top">typedef unsigned long( </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> )(const void *k)</td></tr>
|
||||||
|
<tr class="separator:a38bae27995dcfb6ee3fb109a9be229b2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a91fd85fc81b0c7c83c62f00e84729091"><td class="memItemLeft" align="right" valign="top">typedef int( </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> )(const void *k1, const void *k2)</td></tr>
|
||||||
|
<tr class="separator:a91fd85fc81b0c7c83c62f00e84729091"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a766e90057496fc6712d6be0da180a21f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structlh__table.html">lh_table</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">lh_table</a></td></tr>
|
||||||
|
<tr class="separator:a766e90057496fc6712d6be0da180a21f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:ac8e1d61af44d9c0824d8c7980385bcd3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">json_global_set_string_hash</a> (const int h)</td></tr>
|
||||||
|
<tr class="separator:ac8e1d61af44d9c0824d8c7980385bcd3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9c4f8a71dbe4d3390d9f7adb331beb0e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__table.html">lh_table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a9c4f8a71dbe4d3390d9f7adb331beb0e">lh_table_new</a> (int size, <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> *free_fn, <a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> *hash_fn, <a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> *equal_fn)</td></tr>
|
||||||
|
<tr class="separator:a9c4f8a71dbe4d3390d9f7adb331beb0e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6bf630754affe92612639542a6c49c3f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__table.html">lh_table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a6bf630754affe92612639542a6c49c3f">lh_kchar_table_new</a> (int size, <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> *free_fn)</td></tr>
|
||||||
|
<tr class="separator:a6bf630754affe92612639542a6c49c3f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af8108563b961dbf5471fe2c0e51f40a5"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__table.html">lh_table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#af8108563b961dbf5471fe2c0e51f40a5">lh_kptr_table_new</a> (int size, <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> *free_fn)</td></tr>
|
||||||
|
<tr class="separator:af8108563b961dbf5471fe2c0e51f40a5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a81653acf740cf8c9fe672e6cd16df0cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">lh_table_free</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t)</td></tr>
|
||||||
|
<tr class="separator:a81653acf740cf8c9fe672e6cd16df0cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a86c0cd547be1e2c2486a73bd58e1352c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">lh_table_insert</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, const void *v)</td></tr>
|
||||||
|
<tr class="separator:a86c0cd547be1e2c2486a73bd58e1352c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a4558a9347a422e03a15b0b7a29b82dc3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">lh_table_insert_w_hash</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, const void *v, const unsigned long h, const unsigned opts)</td></tr>
|
||||||
|
<tr class="separator:a4558a9347a422e03a15b0b7a29b82dc3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad3b6ca2d967a6c3021ee6c39e014a918"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ad3b6ca2d967a6c3021ee6c39e014a918">lh_table_lookup_entry</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k)</td></tr>
|
||||||
|
<tr class="separator:ad3b6ca2d967a6c3021ee6c39e014a918"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a59ecaf34ef59280952f4459b2de63677"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a59ecaf34ef59280952f4459b2de63677">lh_table_lookup_entry_w_hash</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, const unsigned long h)</td></tr>
|
||||||
|
<tr class="separator:a59ecaf34ef59280952f4459b2de63677"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a81c270bb0dd9d5c8a3e7ae20bc4d67f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">lh_table_lookup_ex</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, void **v)</td></tr>
|
||||||
|
<tr class="separator:a81c270bb0dd9d5c8a3e7ae20bc4d67f3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae5885a71c3457190fb1dc2d6e20dde3b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">lh_table_delete_entry</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, struct <a class="el" href="structlh__entry.html">lh_entry</a> *e)</td></tr>
|
||||||
|
<tr class="separator:ae5885a71c3457190fb1dc2d6e20dde3b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2fed2c78f70d229edb2d00775ffe593c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">lh_table_delete</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k)</td></tr>
|
||||||
|
<tr class="separator:a2fed2c78f70d229edb2d00775ffe593c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac9ba631c91fe80fb905f04c7cd526f2b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">lh_table_length</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t)</td></tr>
|
||||||
|
<tr class="separator:ac9ba631c91fe80fb905f04c7cd526f2b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a30c8414e31aeee7669acc938116d933f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">lh_table_resize</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, int new_size)</td></tr>
|
||||||
|
<tr class="separator:a30c8414e31aeee7669acc938116d933f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a77c5cddef96e6f1ab036ccf911783456"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define _LH_INLINE   inline</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="afb856ed4a9bcfd090dde5151fa3ad9ae"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define _LH_UNCONST</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">a</td><td>)</td>
|
||||||
|
<td>   ((void *)(uintptr_t)(const void *)(a))</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac32e80138c5be6dd9b0483a9cbcc8799"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_STR_HASH_DFLT   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>default string hash function </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a62316f34fd42941b97a8e9a6b6e68faa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_STR_HASH_PERLLIKE   1</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>perl-like string hash function </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a93fad7f8ae44575dc89c9567859972d2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_EMPTY   (void *)-1</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>sentinel pointer value for empty slots </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a7579ce28b8366fc9b8656f14270aa3aa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_entry_k</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry</td><td>)</td>
|
||||||
|
<td>   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((entry)->k)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return a non-const version of <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry.k</a>.</p>
|
||||||
|
<p><a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry.k</a> is const to indicate and help ensure that linkhash itself doesn't modify it, but callers are allowed to do what they want with it. See also <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry.k_is_constant</a> </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0d4052ccfd8c5d351a9c1d3ba07671b3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_entry_v</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry</td><td>)</td>
|
||||||
|
<td>   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((entry)->v)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return a non-const version of <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry.v</a>.</p>
|
||||||
|
<p>v is const to indicate and help ensure that linkhash itself doesn't modify it, but callers are allowed to do what they want with it. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad7dd67da915065dce2c6f44cb03e2d82"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_foreach</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">table, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   for (entry = table->head; entry; entry = entry->next)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convenience list iterator. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="abcbb0df08b4976d0649b826b6bacfca1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_foreach_safe</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">table, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">tmp </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   for (entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>lh_foreach_safe allows calling of deletion routine while iterating.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">table</td><td>a struct <a class="el" href="structlh__table.html">lh_table</a> * to iterate over </td></tr>
|
||||||
|
<tr><td class="paramname">entry</td><td>a struct <a class="el" href="structlh__entry.html">lh_entry</a> * variable to hold each element </td></tr>
|
||||||
|
<tr><td class="paramname">tmp</td><td>a struct <a class="el" href="structlh__entry.html">lh_entry</a> * variable to hold a temporary pointer to the next element </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac69428f2de0a6fb080b6fb373d506aa7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_FREED   (void *)-2</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>sentinel pointer value for freed slots </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a66b61772c29d85eb52b697e0b0dc0aaf"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_LOAD_FACTOR   0.66</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The fraction of filled hash buckets until an insert will cause the table to be resized. This can range from just above 0 up to 1.0. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a032f1bd115df254dda325437203ce5fb"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_PRIME   0x9e370001UL</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>golden prime used in hash functions </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a671553d0ee3c2a123190ba0f8ed2b635"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( lh_entry_free_fn)(struct <a class="el" href="structlh__entry.html">lh_entry</a> *e)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>callback function prototypes </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a91fd85fc81b0c7c83c62f00e84729091"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int( lh_equal_fn)(const void *k1, const void *k2)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>callback function prototypes </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a38bae27995dcfb6ee3fb109a9be229b2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef unsigned long( lh_hash_fn)(const void *k)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>callback function prototypes </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a766e90057496fc6712d6be0da180a21f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structlh__table.html">lh_table</a> <a class="el" href="structlh__table.html">lh_table</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="ac8e1d61af44d9c0824d8c7980385bcd3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_global_set_string_hash </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const int </td>
|
||||||
|
<td class="paramname"><em>h</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This function sets the hash function to be used for strings. Must be one of the JSON_C_STR_HASH_* values. </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>0 - ok, -1 if parameter was invalid </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6bf630754affe92612639542a6c49c3f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* lh_kchar_table_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convenience function to create a new linkhash table with char keys.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">size</td><td>initial table size. </td></tr>
|
||||||
|
<tr><td class="paramname">free_fn</td><td>callback function used to free memory for entries. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af8108563b961dbf5471fe2c0e51f40a5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* lh_kptr_table_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convenience function to create a new linkhash table with ptr keys.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">size</td><td>initial table size. </td></tr>
|
||||||
|
<tr><td class="paramname">free_fn</td><td>callback function used to free memory for entries. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2fed2c78f70d229edb2d00775ffe593c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_delete </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Delete a record from the table.</p>
|
||||||
|
<p>If a callback free function is provided then it is called for the for the item being deleted. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to delete from. </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to delete. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>0 if the item was deleted. </dd>
|
||||||
|
<dd>
|
||||||
|
-1 if it was not found. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae5885a71c3457190fb1dc2d6e20dde3b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_delete_entry </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td>
|
||||||
|
<td class="paramname"><em>e</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Delete a record from the table.</p>
|
||||||
|
<p>If a callback free function is provided then it is called for the for the item being deleted. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to delete from. </td></tr>
|
||||||
|
<tr><td class="paramname">e</td><td>a pointer to the entry to delete. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>0 if the item was deleted. </dd>
|
||||||
|
<dd>
|
||||||
|
-1 if it was not found. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a81653acf740cf8c9fe672e6cd16df0cf"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void lh_table_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Free a linkhash table.</p>
|
||||||
|
<p>If a lh_entry_free_fn callback free function was provided then it is called for all entries in the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>table to free. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a86c0cd547be1e2c2486a73bd58e1352c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_insert </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>v</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Insert a record into the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to insert into. </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to insert. </td></tr>
|
||||||
|
<tr><td class="paramname">v</td><td>a pointer to the value to insert.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, <code>0</code> is returned. On error, a negative value is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a4558a9347a422e03a15b0b7a29b82dc3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_insert_w_hash </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>v</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned long </td>
|
||||||
|
<td class="paramname"><em>h</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned </td>
|
||||||
|
<td class="paramname"><em>opts</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Insert a record into the table using a precalculated key hash.</p>
|
||||||
|
<p>The hash h, which should be calculated with lh_get_hash() on k, is provided by the caller, to allow for optimization when multiple operations with the same key are known to be needed.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to insert into. </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to insert. </td></tr>
|
||||||
|
<tr><td class="paramname">v</td><td>a pointer to the value to insert. </td></tr>
|
||||||
|
<tr><td class="paramname">h</td><td>hash value of the key to insert </td></tr>
|
||||||
|
<tr><td class="paramname">opts</td><td>if set to JSON_C_OBJECT_KEY_IS_CONSTANT, sets <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry.k_is_constant</a> so t's free function knows to avoid freeing the key. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac9ba631c91fe80fb905f04c7cd526f2b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_length </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad3b6ca2d967a6c3021ee6c39e014a918"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table_lookup_entry </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Lookup a record in the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to lookup </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>a pointer to the record structure of the value or NULL if it does not exist. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a59ecaf34ef59280952f4459b2de63677"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table_lookup_entry_w_hash </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned long </td>
|
||||||
|
<td class="paramname"><em>h</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Lookup a record in the table using a precalculated key hash.</p>
|
||||||
|
<p>The hash h, which should be calculated with lh_get_hash() on k, is provided by the caller, to allow for optimization when multiple operations with the same key are known to be needed.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">h</td><td>hash value of the key to lookup </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>a pointer to the record structure of the value or NULL if it does not exist. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a81c270bb0dd9d5c8a3e7ae20bc4d67f3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> lh_table_lookup_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void ** </td>
|
||||||
|
<td class="paramname"><em>v</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Lookup a record in the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">v</td><td>a pointer to a where to store the found value (set to NULL if it doesn't exist). </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>whether or not the key was found </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9c4f8a71dbe4d3390d9f7adb331beb0e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* lh_table_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>hash_fn</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>equal_fn</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Create a new linkhash table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">size</td><td>initial table size. The table is automatically resized although this incurs a performance penalty. </td></tr>
|
||||||
|
<tr><td class="paramname">free_fn</td><td>callback function used to free memory for entries when lh_table_free or lh_table_delete is called. If NULL is provided, then memory for keys and values must be freed by the caller. </td></tr>
|
||||||
|
<tr><td class="paramname">hash_fn</td><td>function used to hash keys. 2 standard ones are defined: lh_ptr_hash and lh_char_hash for hashing pointer values and C strings respectively. </td></tr>
|
||||||
|
<tr><td class="paramname">equal_fn</td><td>comparison function to compare keys. 2 standard ones defined: lh_ptr_hash and lh_char_hash for comparing pointer values and C strings respectively. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a30c8414e31aeee7669acc938116d933f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_resize </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>new_size</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Resizes the specified table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>Pointer to table to resize. </td></tr>
|
||||||
|
<tr><td class="paramname">new_size</td><td>New table size. Must be positive.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, <code>0</code> is returned. On error, a negative value is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
125
doc/html/math__compat_8h.html
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: math_compat.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">math_compat.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a956e2723d559858d08644ac99146e910"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a>   (DBL_MAX + DBL_MAX)</td></tr>
|
||||||
|
<tr class="separator:a956e2723d559858d08644ac99146e910"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a77914bc4c960d1bfda49328bd0646985"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a77914bc4c960d1bfda49328bd0646985">HAVE_DECL_INFINITY</a></td></tr>
|
||||||
|
<tr class="separator:a77914bc4c960d1bfda49328bd0646985"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8abfcc76130f3f991d124dd22d7e69bc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a8abfcc76130f3f991d124dd22d7e69bc">NAN</a>   (<a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a> - <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a>)</td></tr>
|
||||||
|
<tr class="separator:a8abfcc76130f3f991d124dd22d7e69bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9025492cba029d3e372532a1d012f119"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a9025492cba029d3e372532a1d012f119">HAVE_DECL_NAN</a></td></tr>
|
||||||
|
<tr class="separator:a9025492cba029d3e372532a1d012f119"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a77914bc4c960d1bfda49328bd0646985"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define HAVE_DECL_INFINITY</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9025492cba029d3e372532a1d012f119"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define HAVE_DECL_NAN</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a956e2723d559858d08644ac99146e910"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define INFINITY   (DBL_MAX + DBL_MAX)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a8abfcc76130f3f991d124dd22d7e69bc"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define NAN   (<a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a> - <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a>)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
190
doc/html/md_README.html
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: `json-c`</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">`json-c` </div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><ol type="1">
|
||||||
|
<li><a href="#overview">Overview and Build Status</a></li>
|
||||||
|
<li><a href="#buildunix">Building on Unix</a><ul>
|
||||||
|
<li><a href="#installprereq">Prerequisites</a></li>
|
||||||
|
<li><a href="#buildcmds">Build commands</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#CMake">CMake options</a></li>
|
||||||
|
<li><a href="#testing">Testing</a></li>
|
||||||
|
<li><a href="#buildvcpkg">Building with `vcpkg`</a></li>
|
||||||
|
<li><a href="#linking">Linking to libjson-c</a></li>
|
||||||
|
<li><a href="#using">Using json-c</a></li>
|
||||||
|
</ol>
|
||||||
|
<h2>JSON-C - A JSON implementation in C <a class="anchor" id="overview"></a></h2>
|
||||||
|
<p>Build Status</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://ci.appveyor.com/project/hawicz/json-c">AppVeyor Build</a> <div class="image">
|
||||||
|
<img src="https://ci.appveyor.com/api/projects/status/github/json-c/json-c?branch=master&svg=true" alt="AppVeyor Build Status"/>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li><a href="https://travis-ci.org/json-c/json-c">Travis Build</a> <div class="image">
|
||||||
|
<img src="https://travis-ci.org/json-c/json-c.svg?branch=master" alt="Travis Build Status"/>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>Test Status</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://coveralls.io/github/json-c/json-c?branch=master">Coveralls</a> <a href="https://coveralls.io/github/json-c/json-c?branch=master"></a></li>
|
||||||
|
</ul>
|
||||||
|
<p>JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects. It aims to conform to <a href="https://tools.ietf.org/html/rfc7159">RFC 7159</a>.</p>
|
||||||
|
<h2>Building on Unix with <code>git</code>, <code>gcc</code> and <code>cmake</code> <a class="anchor" id="buildunix"></a></h2>
|
||||||
|
<p>Home page for json-c: <a href="https://github.com/json-c/json-c/wiki">https://github.com/json-c/json-c/wiki</a></p>
|
||||||
|
<h3>Prerequisites: <a class="anchor" id="installprereq"></a></h3>
|
||||||
|
<ul>
|
||||||
|
<li><code>gcc</code>, <code>clang</code>, or another C compiler</li>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
|
<li>cmake>=2.8, >=3.16 recommended</li>
|
||||||
|
</ul>
|
||||||
|
<p>To generate docs you'll also need:</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>doxygen>=1.8.13</code></li>
|
||||||
|
</ul>
|
||||||
|
<p>If you are on a relatively modern system, you'll likely be able to install the prerequisites using your OS's packaging system.</p>
|
||||||
|
<h3>Install using apt (e.g. Ubuntu 16.04.2 LTS)</h3>
|
||||||
|
<p>```sh sudo apt install git sudo apt install cmake sudo apt install doxygen # optional sudo apt install valgrind # optional ```</p>
|
||||||
|
<h3>Build instructions: <a class="anchor" id="buildcmds"></a></h3>
|
||||||
|
<p><code>json-c</code> GitHub repo: <a href="https://github.com/json-c/json-c">https://github.com/json-c/json-c</a></p>
|
||||||
|
<p>```sh $ git clone <a href="https://github.com/json-c/json-c.git">https://github.com/json-c/json-c.git</a> $ mkdir json-c-build $ cd json-c-build $ cmake ../json-c # See CMake section below for custom arguments ```</p>
|
||||||
|
<p>Note: it's also possible to put your build directory inside the json-c source directory, or even not use a separate build directory at all, but certain things might not work quite right (notably, <code>make distcheck</code>)</p>
|
||||||
|
<p>Then:</p>
|
||||||
|
<p>```sh $ make $ make test $ make USE_VALGRIND=0 test # optionally skip using valgrind $ make install ```</p>
|
||||||
|
<h3>Generating documentation with Doxygen:</h3>
|
||||||
|
<p>The libray documentation can be generated directly from the source codes using Doxygen tool:</p>
|
||||||
|
<p>```sh </p>
|
||||||
|
<h1>in build directory</h1>
|
||||||
|
<p>make doc google-chrome doc/html/index.html ```</p>
|
||||||
|
<h2>CMake Options <a class="anchor" id="CMake"></a></h2>
|
||||||
|
<p>The json-c library is built with <a href="https://cmake.org/cmake-tutorial/">CMake</a>, which can take a few options.</p>
|
||||||
|
<table class="doxtable">
|
||||||
|
<tr>
|
||||||
|
<th>Variable </th><th>Type </th><th>Description</th></tr>
|
||||||
|
<tr>
|
||||||
|
<td>CMAKE_INSTALL_PREFIX </td><td>String </td><td>The install location. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>CMAKE_BUILD_TYPE </td><td>String </td><td>Defaults to "debug" </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>BUILD_SHARED_LIBS </td><td>Bool </td><td>The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library instead. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>ENABLE_RDRAND </td><td>Bool </td><td>Enable RDRAND Hardware RNG Hash Seed </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>ENABLE_THREADING </td><td>Bool </td><td>Enable partial threading support </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>DISABLE_WERROR </td><td>Bool </td><td>Disable use of -Werror </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>DISABLE_BSYMBOLIC </td><td>Bool </td><td>Disable use of -Bsymbolic-functions </td></tr>
|
||||||
|
</table>
|
||||||
|
<p>Pass these options as <code>-D</code> on CMake's command-line.</p>
|
||||||
|
<p>```sh cmake -DBUILD_SHARED_LIBS=OFF ... ```</p>
|
||||||
|
<h3>Building with partial threading support</h3>
|
||||||
|
<p>Although json-c does not support fully multi-threaded access to object trees, it has some code to help make its use in threaded programs a bit safer. Currently, this is limited to using atomic operations for <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object_get()</a> and <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>.</p>
|
||||||
|
<p>Since this may have a performance impact, of at least 3x slower according to <a href="https://stackoverflow.com/a/11609063,">https://stackoverflow.com/a/11609063,</a> it is disabled by default. You may turn it on by adjusting your cmake command with: -DENABLE_THREADING=ON</p>
|
||||||
|
<p>Separately, the default hash function used for object field keys, lh_char_hash, uses a compare-and-swap operation to ensure the random seed is only generated once. Because this is a one-time operation, it is always compiled in when the compare-and-swap operation is available.</p>
|
||||||
|
<h3>cmake-configure wrapper script</h3>
|
||||||
|
<p>For those familiar with the old autoconf/autogen.sh/configure method, there is a <code>cmake-configure</code> wrapper script to ease the transition to cmake.</p>
|
||||||
|
<p>```sh mkdir build cd build ../cmake-configure –prefix=/some/install/path make ```</p>
|
||||||
|
<p>cmake-configure can take a few options.</p>
|
||||||
|
<table class="doxtable">
|
||||||
|
<tr>
|
||||||
|
<th>options </th><th>Description</th></tr>
|
||||||
|
<tr>
|
||||||
|
<td>prefix=PREFIX </td><td>install architecture-independent files in PREFIX </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-threading </td><td>Enable code to support partly multi-threaded use </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-rdrand </td><td>Enable RDRAND Hardware RNG Hash Seed generation on supported x86/x64 platforms. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-shared </td><td>build shared libraries [default=yes] </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-static </td><td>build static libraries [default=yes] </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>disable-Bsymbolic </td><td>Avoid linking with -Bsymbolic-function </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>disable-werror </td><td>Avoid treating compiler warnings as fatal errors </td></tr>
|
||||||
|
</table>
|
||||||
|
<h2>Testing: <a class="anchor" id="testing"></a></h2>
|
||||||
|
<p>By default, if valgrind is available running tests uses it. That can slow the tests down considerably, so to disable it use: ```sh export USE_VALGRIND=0 ```</p>
|
||||||
|
<p>To run tests a separate build directory is recommended: ```sh mkdir build-test cd build-test </p>
|
||||||
|
<h1>VALGRIND=1 causes -DVALGRIND=1 to be passed when compiling code</h1>
|
||||||
|
<h1>which uses slightly slower, but valgrind-safe code.</h1>
|
||||||
|
<p>VALGRIND=1 cmake .. make</p>
|
||||||
|
<p>make test </p>
|
||||||
|
<h1>By default, if valgrind is available running tests uses it.</h1>
|
||||||
|
<p>make USE_VALGRIND=0 test # optionally skip using valgrind ```</p>
|
||||||
|
<p>If a test fails, check <code>Testing/Temporary/LastTest.log</code>, <code>tests/testSubDir/${testname}/${testname}.vg.out</code>, and other similar files. If there is insufficient output try: ```sh VERBOSE=1 make test ``` or ```sh JSONC_TEST_TRACE=1 make test ``` and check the log files again.</p>
|
||||||
|
<h2>Building on Unix and Windows with <code>vcpkg</code> <a class="anchor" id="buildvcpkg"></a></h2>
|
||||||
|
<p>You can download and install JSON-C using the <a href="https://github.com/Microsoft/vcpkg/">vcpkg</a> dependency manager: </p>
|
||||||
|
<pre class="fragment">git clone https://github.com/Microsoft/vcpkg.git
|
||||||
|
cd vcpkg
|
||||||
|
./bootstrap-vcpkg.sh
|
||||||
|
./vcpkg integrate install
|
||||||
|
vcpkg install json-c
|
||||||
|
</pre><p>The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please <a href="https://github.com/Microsoft/vcpkg">create an issue or pull request</a> on the vcpkg repository.</p>
|
||||||
|
<h2>Linking to <code>libjson-c</code> <a class="anchor" id="linking"></a></h2>
|
||||||
|
<p>If your system has <code>pkgconfig</code>, then you can just add this to your <code>makefile</code>:</p>
|
||||||
|
<p>```make CFLAGS += $(shell pkg-config –cflags json-c) LDFLAGS += $(shell pkg-config –libs json-c) ```</p>
|
||||||
|
<p>Without <code>pkgconfig</code>, you would do something like this:</p>
|
||||||
|
<p>```make JSON_C_DIR=/path/to/json_c/install CFLAGS += -I/include/json-c LDFLAGS+= -L/lib -ljson-c ```</p>
|
||||||
|
<h2>Using json-c <a class="anchor" id="using"></a></h2>
|
||||||
|
<p>To use json-c you can either include <a class="el" href="json_8h.html" title="A convenience header that may be included instead of other individual ones.">json.h</a>, or preferrably, one of the following more specific header files:</p>
|
||||||
|
<ul>
|
||||||
|
<li><a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a> - Core types and methods.</li>
|
||||||
|
<li><a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a> - Methods for parsing and serializing json-c object trees.</li>
|
||||||
|
<li><a class="el" href="json__pointer_8h.html" title="JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree...">json_pointer.h</a> - JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.</li>
|
||||||
|
<li><a class="el" href="json__object__iterator_8h.html" title="An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike json_object_object_foreach() and json_object_object_foreachC(), this avoids the need to expose json-c internals like lh_entry.">json_object_iterator.h</a> - Methods for iterating over single <a class="el" href="structjson__object.html">json_object</a> instances.</li>
|
||||||
|
<li><a class="el" href="json__visit_8h.html" title="Methods for walking a tree of objects.">json_visit.h</a> - Methods for walking a tree of json-c objects.</li>
|
||||||
|
<li><a class="el" href="json__util_8h.html" title="Miscllaneous utility functions and macros.">json_util.h</a> - Miscelleanous utility functions.</li>
|
||||||
|
</ul>
|
||||||
|
<p>For a full list of headers see <a href="http://json-c.github.io/json-c/json-c-0.13.1/doc/html/files.html">files.html</a> </p>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
72
doc/html/md_issues_closed_for_0.html
Normal file
BIN
doc/html/nav_f.png
Normal file
|
After Width: | Height: | Size: 153 B |
BIN
doc/html/nav_g.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
doc/html/nav_h.png
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
doc/html/open.png
Normal file
|
After Width: | Height: | Size: 123 B |
58
doc/html/pages.html
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Related Pages</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.14</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Related Pages</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all related documentation pages:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><a class="el" href="md_issues_closed_for_0.html" target="_self">issues_closed_for_0</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><a class="el" href="md_README.html" target="_self">`json-c`</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_2_" class="even"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><a class="el" href="deprecated.html" target="_self">Deprecated List</a></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Apr 19 2020 03:40:44 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||