Crate fastfetch_sys

Source

Structs§

FFBatteryOptions
FFBiosOptions
FFBlockConfig
FFBluetoothOptions
FFBluetoothRadioOptions
FFBoardOptions
FFBootmgrOptions
FFBreakOptions
FFBrightnessOptions
FFBtrfsOptions
FFCPUCacheOptions
FFCPUOptions
FFCPUUsageOptions
FFCameraOptions
FFChassisOptions
FFColorRangeConfig
FFColorsOptions
FFCommandOptions
FFCursorOptions
FFCustomOptions
FFDEOptions
FFDNSOptions
FFDateTimeOptions
FFDiskIOOptions
FFDiskOptions
FFDisplayOptions
FFEditorOptions
FFFontOptions
FFGPUOptions
FFGamepadOptions
FFHostOptions
FFIconsOptions
FFInitSystemOptions
FFKernelOptions
FFKeyValuePair
FFKeyboardOptions
FFLMOptions
FFLoadavgOptions
FFLocalIpOptions
FFLocaleOptions
FFMediaOptions
FFMemoryOptions
FFModuleArgs
FFModuleBaseInfo
FFModuleFormatArg
FFModuleFormatArgList
FFMonitorOptions
FFMouseOptions
FFNetIOOptions
FFOSOptions
FFOpenCLOptions
FFOpenGLOptions
FFOptionsDisplay
FFOptionsGeneral
FFOptionsLogo
FFOptionsModules
FFPackagesOptions
FFPercentageModuleConfig
FFPhysicalDiskOptions
FFPhysicalMemoryOptions
FFPlatform
FFPlatformSysinfo
FFPlayerOptions
FFPowerAdapterOptions
FFProcessesOptions
FFPublicIpOptions
FFSeparatorOptions
FFShellOptions
FFSoundOptions
FFSwapOptions
FFTPMOptions
FFTerminalFontOptions
FFTerminalOptions
FFTerminalSizeOptions
FFTerminalThemeOptions
FFThemeOptions
FFTitleOptions
FFUptimeOptions
FFUsersOptions
FFVersion
FFVersionOptions
FFVulkanOptions
FFWMOptions
FFWMThemeOptions
FFWallpaperOptions
FFWeatherOptions
FFWifiOptions
FFZpoolOptions
FFconfig
FFinstance
FFlist
FFstate
FFstrbuf
_G_fpos64_t
_G_fpos_t
_IO_FILE
_IO_codecvt
_IO_cookie_io_functions_t
_IO_marker
_IO_wide_data
__atomic_wide_counter__bindgen_ty_1
__fsid_t
__locale_data
__locale_struct
__mbstate_t
__once_flag
__pthread_cond_s
__pthread_internal_list
__pthread_internal_slist
__pthread_mutex_s
__pthread_rwlock_arch_t
__sigset_t
__va_list_tag
div_t
drand48_data
fd_set
ldiv_t
lldiv_t
max_align_t
random_data
timespec
timeval
yyjson_alc
A memory allocator.
yyjson_arr_iter
A JSON array iterator.
yyjson_doc
yyjson_incr_state
yyjson_mut_arr_iter
A mutable JSON array iterator.
yyjson_mut_doc
yyjson_mut_obj_iter
A mutable JSON object iterator.
yyjson_mut_val
Mutable JSON value, 24 bytes. The ‘tag’ and ‘uni’ field is same as immutable value. The ‘next’ field links all elements inside the container to be a cycle.
yyjson_obj_iter
A JSON object iterator.
yyjson_patch_err
Error information for JSON patch.
yyjson_ptr_ctx
A context for JSON pointer operation.
yyjson_ptr_err
Error information for JSON pointer.
yyjson_read_err
Error information for JSON reader.
yyjson_str_chunk
A memory chunk in string memory pool.
yyjson_str_pool
A memory pool to hold all strings in a mutable document.
yyjson_val
Immutable JSON value, 16 bytes.
yyjson_val_chunk
A memory chunk in value memory pool. sizeof(yyjson_val_chunk) should not larger than sizeof(yyjson_mut_val).
yyjson_val_pool
A memory pool to hold all values in a mutable document.
yyjson_write_err
Error information for JSON writer.

Constants§

AIO_PRIO_DELTA_MAX
ARG_MAX
BC_BASE_MAX
BC_DIM_MAX
BC_SCALE_MAX
BC_STRING_MAX
BIG_ENDIAN
BUFSIZ
BYTE_ORDER
CHARCLASS_NAME_MAX
COLL_WEIGHTS_MAX
DELAYTIMER_MAX
EOF
EXIT_FAILURE
EXIT_SUCCESS
EXPR_NEST_MAX
FASTFETCH_LOGO_MAX_COLORS
FASTFETCH_LOGO_MAX_NAMES
FASTFETCH_PROJECT_CMAKE_BUILD_TYPE
FASTFETCH_PROJECT_DESCRIPTION
FASTFETCH_PROJECT_HOMEPAGE_URL
FASTFETCH_PROJECT_LICENSE
FASTFETCH_PROJECT_NAME
FASTFETCH_PROJECT_VERSION
FASTFETCH_PROJECT_VERSION_GIT
FASTFETCH_PROJECT_VERSION_MAJOR
FASTFETCH_PROJECT_VERSION_MINOR
FASTFETCH_PROJECT_VERSION_PATCH
FASTFETCH_PROJECT_VERSION_TWEAK
FASTFETCH_PROJECT_VERSION_TWEAK_NUM
FASTFETCH_STRBUF_DEFAULT_ALLOC
FASTFETCH_TARGET_DIR_ETC
FASTFETCH_TARGET_DIR_HOME
FASTFETCH_TARGET_DIR_INSTALL_SYSCONF
FASTFETCH_TARGET_DIR_ROOT
FASTFETCH_TARGET_DIR_USR
FD_SETSIZE
FFColorsSymbol_FF_COLORS_SYMBOL_BACKGROUND
FFColorsSymbol_FF_COLORS_SYMBOL_BLOCK
FFColorsSymbol_FF_COLORS_SYMBOL_CIRCLE
FFColorsSymbol_FF_COLORS_SYMBOL_DIAMOND
FFColorsSymbol_FF_COLORS_SYMBOL_SQUARE
FFColorsSymbol_FF_COLORS_SYMBOL_STAR
FFColorsSymbol_FF_COLORS_SYMBOL_TRIANGLE
FFDNSShowType_FF_DNS_TYPE_BOTH
FFDNSShowType_FF_DNS_TYPE_FORCE_UNSIGNED
FFDNSShowType_FF_DNS_TYPE_IPV4_BIT
FFDNSShowType_FF_DNS_TYPE_IPV6_BIT
FFDiskCalcType_FF_DISK_CALC_TYPE_AVAILABLE
FFDiskCalcType_FF_DISK_CALC_TYPE_FREE
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_EXTERNAL_BIT
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_FORCE_UNSIGNED
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_HIDDEN_BIT
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_NONE
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_READONLY_BIT
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_REGULAR_BIT
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_SUBVOLUME_BIT
FFDiskVolumeType_FF_DISK_VOLUME_TYPE_UNKNOWN_BIT
FFDisplayCompactType_FF_DISPLAY_COMPACT_TYPE_NONE
FFDisplayCompactType_FF_DISPLAY_COMPACT_TYPE_ORIGINAL_BIT
FFDisplayCompactType_FF_DISPLAY_COMPACT_TYPE_REFRESH_RATE_BIT
FFDisplayCompactType_FF_DISPLAY_COMPACT_TYPE_SCALED_BIT
FFDisplayCompactType_FF_DISPLAY_COMPACT_TYPE_UNSIGNED
FFDisplayOrder_FF_DISPLAY_ORDER_ASC
FFDisplayOrder_FF_DISPLAY_ORDER_DESC
FFDisplayOrder_FF_DISPLAY_ORDER_NONE
FFDsForceDrmType_FF_DS_FORCE_DRM_TYPE_FALSE
FFDsForceDrmType_FF_DS_FORCE_DRM_TYPE_SYSFS_ONLY
FFDsForceDrmType_FF_DS_FORCE_DRM_TYPE_TRUE
FFGPUDetectionMethod_FF_GPU_DETECTION_METHOD_AUTO
FFGPUDetectionMethod_FF_GPU_DETECTION_METHOD_OPENCL
FFGPUDetectionMethod_FF_GPU_DETECTION_METHOD_OPENGL
FFGPUDetectionMethod_FF_GPU_DETECTION_METHOD_PCI
FFGPUDetectionMethod_FF_GPU_DETECTION_METHOD_VULKAN
FFGPUType_FF_GPU_TYPE_DISCRETE
FFGPUType_FF_GPU_TYPE_INTEGRATED
FFGPUType_FF_GPU_TYPE_NONE
FFGPUType_FF_GPU_TYPE_UNKNOWN
FFLocalIpType_FF_LOCALIP_TYPE_ALL_IPS_BIT
FFLocalIpType_FF_LOCALIP_TYPE_COMPACT_BIT
FFLocalIpType_FF_LOCALIP_TYPE_DEFAULT_ROUTE_ONLY_BIT
FFLocalIpType_FF_LOCALIP_TYPE_FLAGS_BIT
FFLocalIpType_FF_LOCALIP_TYPE_FORCE_UNSIGNED
FFLocalIpType_FF_LOCALIP_TYPE_IPV4_BIT
FFLocalIpType_FF_LOCALIP_TYPE_IPV6_BIT
FFLocalIpType_FF_LOCALIP_TYPE_LOOP_BIT
FFLocalIpType_FF_LOCALIP_TYPE_MAC_BIT
FFLocalIpType_FF_LOCALIP_TYPE_MTU_BIT
FFLocalIpType_FF_LOCALIP_TYPE_NONE
FFLocalIpType_FF_LOCALIP_TYPE_PREFIX_LEN_BIT
FFLocalIpType_FF_LOCALIP_TYPE_SPEED_BIT
FFLogoPosition_FF_LOGO_POSITION_LEFT
FFLogoPosition_FF_LOGO_POSITION_RIGHT
FFLogoPosition_FF_LOGO_POSITION_TOP
FFLogoType_FF_LOGO_TYPE_AUTO
FFLogoType_FF_LOGO_TYPE_BUILTIN
FFLogoType_FF_LOGO_TYPE_DATA
FFLogoType_FF_LOGO_TYPE_DATA_RAW
FFLogoType_FF_LOGO_TYPE_FILE
FFLogoType_FF_LOGO_TYPE_FILE_RAW
FFLogoType_FF_LOGO_TYPE_IMAGE_CHAFA
FFLogoType_FF_LOGO_TYPE_IMAGE_ITERM
FFLogoType_FF_LOGO_TYPE_IMAGE_KITTY
FFLogoType_FF_LOGO_TYPE_IMAGE_KITTY_DIRECT
FFLogoType_FF_LOGO_TYPE_IMAGE_KITTY_ICAT
FFLogoType_FF_LOGO_TYPE_IMAGE_RAW
FFLogoType_FF_LOGO_TYPE_IMAGE_SIXEL
FFLogoType_FF_LOGO_TYPE_NONE
FFLogoType_FF_LOGO_TYPE_SMALL
FFModuleKeyType_FF_MODULE_KEY_TYPE_BOTH
FFModuleKeyType_FF_MODULE_KEY_TYPE_FORCE_UNSIGNED
FFModuleKeyType_FF_MODULE_KEY_TYPE_ICON
FFModuleKeyType_FF_MODULE_KEY_TYPE_NONE
FFModuleKeyType_FF_MODULE_KEY_TYPE_STRING
FFOpenGLLibrary_FF_OPENGL_LIBRARY_AUTO
FFOpenGLLibrary_FF_OPENGL_LIBRARY_EGL
FFOpenGLLibrary_FF_OPENGL_LIBRARY_GLX
FFPackagesFlags_FF_PACKAGES_FLAG_AM_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_APK_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_BREW_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_CHOCO_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_DPKG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_EMERGE_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_EOPKG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_FLATPAK_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_FORCE_UNSIGNED
FFPackagesFlags_FF_PACKAGES_FLAG_GUIX_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_HPKG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_LINGLONG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_LPKGBUILD_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_LPKG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_MACPORTS_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_MPORT_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_NIX_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_NONE
FFPackagesFlags_FF_PACKAGES_FLAG_OPKG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PACMAN_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PACSTALL_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PALUDIS_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PISI_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PKGSRC_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PKGTOOL_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_PKG_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_QI_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_RPM_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_SCOOP_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_SNAP_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_SOAR_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_SORCERY_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_WINGET_BIT
FFPackagesFlags_FF_PACKAGES_FLAG_XBPS_BIT
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_BAR_BIT
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_BAR_MONOCHROME_BIT
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_FORCE_UNSIGNED_
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_HIDE_OTHERS_BIT
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_NONE
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_NUM_BIT
FFPercentageTypeFlags_FF_PERCENTAGE_TYPE_NUM_COLOR_BIT
FFSizeBinaryPrefixType_FF_SIZE_BINARY_PREFIX_TYPE_IEC
FFSizeBinaryPrefixType_FF_SIZE_BINARY_PREFIX_TYPE_JEDEC
FFSizeBinaryPrefixType_FF_SIZE_BINARY_PREFIX_TYPE_SI
FFSoundType_FF_SOUND_TYPE_ACTIVE
FFSoundType_FF_SOUND_TYPE_ALL
FFSoundType_FF_SOUND_TYPE_MAIN
FFTemperatureUnit_FF_TEMPERATURE_UNIT_CELSIUS
FFTemperatureUnit_FF_TEMPERATURE_UNIT_DEFAULT
FFTemperatureUnit_FF_TEMPERATURE_UNIT_FAHRENHEIT
FFTemperatureUnit_FF_TEMPERATURE_UNIT_KELVIN
FF_LIST_DEFAULT_ALLOC
FILENAME_MAX
FOPEN_MAX
HOST_NAME_MAX
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
LINE_MAX
LINK_MAX
LITTLE_ENDIAN
LOGIN_NAME_MAX
L_ctermid
L_tmpnam
MAX_CANON
MAX_INPUT
MB_LEN_MAX
MQ_PRIO_MAX
NAME_MAX
NGROUPS_MAX
NR_OPEN
PATH_MAX
PDP_ENDIAN
PIPE_BUF
PTHREAD_DESTRUCTOR_ITERATIONS
PTHREAD_KEYS_MAX
PTHREAD_STACK_MIN
PTRDIFF_MAX
PTRDIFF_MIN
P_tmpdir
RAND_MAX
RE_DUP_MAX
RTSIG_MAX
SEEK_CUR
SEEK_END
SEEK_SET
SEM_VALUE_MAX
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
TMP_MAX
TTY_NAME_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WCONTINUED
WEXITED
WINT_MAX
WINT_MIN
WNOHANG
WNOWAIT
WSTOPPED
WUNTRACED
XATTR_LIST_MAX
XATTR_NAME_MAX
XATTR_SIZE_MAX
YYJSON_CPP_VER
YYJSON_HAS_CONSTANT_P
YYJSON_IS_REAL_GCC
YYJSON_MSC_VER
YYJSON_PADDING_SIZE
YYJSON_PATCH_ERROR_EQUAL
JSON patch operation test not equal.
YYJSON_PATCH_ERROR_INVALID_MEMBER
JSON patch operation member is invalid.
YYJSON_PATCH_ERROR_INVALID_OPERATION
JSON patch operation is not object type.
YYJSON_PATCH_ERROR_INVALID_PARAMETER
Invalid parameter, such as NULL input or non-array patch.
YYJSON_PATCH_ERROR_MEMORY_ALLOCATION
Memory allocation failure occurs.
YYJSON_PATCH_ERROR_MISSING_KEY
JSON patch operation is missing a required key.
YYJSON_PATCH_ERROR_POINTER
JSON patch operation failed on JSON pointer.
YYJSON_PATCH_SUCCESS
Success, no error.
YYJSON_PTR_ERR_MEMORY_ALLOCATION
The memory allocation failed and a new value could not be created.
YYJSON_PTR_ERR_NONE
No JSON pointer error.
YYJSON_PTR_ERR_NULL_ROOT
Document’s root is NULL, but it is required for the function call.
YYJSON_PTR_ERR_PARAMETER
Invalid input parameter, such as NULL input.
YYJSON_PTR_ERR_RESOLVE
JSON pointer resolve failed, such as index out of range, key not found.
YYJSON_PTR_ERR_SET_ROOT
Cannot set root as the target is not a document.
YYJSON_PTR_ERR_SYNTAX
JSON pointer syntax error, such as invalid escape, token no prefix.
YYJSON_READ_ALLOW_BOM
Allow UTF-8 BOM and skip it before parsing if any (non-standard).
YYJSON_READ_ALLOW_COMMENTS
Allow C-style single line and multiple line comments (non-standard).
YYJSON_READ_ALLOW_INF_AND_NAN
Allow inf/nan number and literal, case-insensitive, such as 1e999, NaN, inf, -Infinity (non-standard).
YYJSON_READ_ALLOW_INVALID_UNICODE
Allow reading invalid unicode when parsing string values (non-standard). Invalid characters will be allowed to appear in the string values, but invalid escape sequences will still be reported as errors. This flag does not affect the performance of correctly encoded strings.
YYJSON_READ_ALLOW_TRAILING_COMMAS
Allow single trailing comma at the end of an object or array, such as [1,2,3,], {"a":1,"b":2,} (non-standard).
YYJSON_READ_BIGNUM_AS_RAW
Read big numbers as raw strings. These big numbers include integers that cannot be represented by int64_t and uint64_t, and floating-point numbers that cannot be represented by finite double. The flag will be overridden by YYJSON_READ_NUMBER_AS_RAW flag.
YYJSON_READ_ERROR_EMPTY_CONTENT
Input JSON string is empty.
YYJSON_READ_ERROR_FILE_OPEN
Failed to open a file.
YYJSON_READ_ERROR_FILE_READ
Failed to read a file.
YYJSON_READ_ERROR_INVALID_COMMENT
Invalid comment, such as unclosed multi-line comment.
YYJSON_READ_ERROR_INVALID_NUMBER
Invalid number, such as 123.e12, 000.
YYJSON_READ_ERROR_INVALID_PARAMETER
Invalid parameter, such as NULL input string or 0 input length.
YYJSON_READ_ERROR_INVALID_STRING
Invalid string, such as invalid escaped character inside a string.
YYJSON_READ_ERROR_JSON_STRUCTURE
Invalid JSON structure, such as [1,].
YYJSON_READ_ERROR_LITERAL
Invalid JSON literal, such as truu.
YYJSON_READ_ERROR_MEMORY_ALLOCATION
Memory allocation failure occurs.
YYJSON_READ_ERROR_MORE
Unexpected ending during incremental parsing. Parsing state is saved.
YYJSON_READ_ERROR_UNEXPECTED_CHARACTER
Unexpected character inside the document, such as [abc].
YYJSON_READ_ERROR_UNEXPECTED_CONTENT
Unexpected content after document, such as [123]abc.
YYJSON_READ_ERROR_UNEXPECTED_END
Unexpected ending, such as [123.
YYJSON_READ_INSITU
Read the input data in-situ. This option allows the reader to modify and use input data to store string values, which can increase reading speed slightly. The caller should hold the input data before free the document. The input data must be padded by at least YYJSON_PADDING_SIZE bytes. For example: [1,2] should be [1,2]\0\0\0\0, input length should be 5.
YYJSON_READ_NOFLAG
Default option (RFC 8259 compliant):
YYJSON_READ_NUMBER_AS_RAW
Read all numbers as raw strings (value with YYJSON_TYPE_RAW type), inf/nan literal is also read as raw with ALLOW_INF_AND_NAN flag.
YYJSON_READ_STOP_WHEN_DONE
Stop when done instead of issuing an error if there’s additional content after a JSON document. This option may be used to parse small pieces of JSON in larger data, such as NDJSON.
YYJSON_READ_SUCCESS
Success, no error.
YYJSON_U64_TO_F64_NO_IMPL
YYJSON_VERSION_HEX
YYJSON_VERSION_MAJOR
YYJSON_VERSION_MINOR
YYJSON_VERSION_PATCH
YYJSON_VERSION_STRING
YYJSON_WRITE_ALLOW_INF_AND_NAN
Write inf and nan number as ‘Infinity’ and ‘NaN’ literal (non-standard).
YYJSON_WRITE_ALLOW_INVALID_UNICODE
Allow invalid unicode when encoding string values (non-standard). Invalid characters in string value will be copied byte by byte. If YYJSON_WRITE_ESCAPE_UNICODE flag is also set, invalid character will be escaped as U+FFFD (replacement character). This flag does not affect the performance of correctly encoded strings.
YYJSON_WRITE_ERROR_FILE_OPEN
Failed to open a file.
YYJSON_WRITE_ERROR_FILE_WRITE
Failed to write a file.
YYJSON_WRITE_ERROR_INVALID_PARAMETER
Invalid parameter, such as NULL document.
YYJSON_WRITE_ERROR_INVALID_STRING
Invalid unicode in string.
YYJSON_WRITE_ERROR_INVALID_VALUE_TYPE
Invalid value type in JSON document.
YYJSON_WRITE_ERROR_MEMORY_ALLOCATION
Memory allocation failure occurs.
YYJSON_WRITE_ERROR_NAN_OR_INF
NaN or Infinity number occurs.
YYJSON_WRITE_ESCAPE_SLASHES
Escape ‘/’ as ‘/’.
YYJSON_WRITE_ESCAPE_UNICODE
Escape unicode as uXXXX, make the output ASCII only.
YYJSON_WRITE_FP_FLAG_BITS
YYJSON_WRITE_FP_PREC_BITS
YYJSON_WRITE_INF_AND_NAN_AS_NULL
Write inf and nan number as null literal. This flag will override YYJSON_WRITE_ALLOW_INF_AND_NAN flag.
YYJSON_WRITE_NEWLINE_AT_END
Adds a newline character \n at the end of the JSON. This can be helpful for text editors or NDJSON.
YYJSON_WRITE_NOFLAG
Default option:
YYJSON_WRITE_PRETTY
Write JSON pretty with 4 space indent.
YYJSON_WRITE_PRETTY_TWO_SPACES
Write JSON pretty with 2 space indent. This flag will override YYJSON_WRITE_PRETTY flag.
YYJSON_WRITE_SUCCESS
Success, no error.
_ALLOCA_H
_ASSERT_H
_ATFILE_SOURCE
_BITS_BYTESWAP_H
_BITS_ENDIANNESS_H
_BITS_ENDIAN_H
_BITS_POSIX1_LIM_H
_BITS_POSIX2_LIM_H
_BITS_PTHREADTYPES_ARCH_H
_BITS_PTHREADTYPES_COMMON_H
_BITS_STDINT_INTN_H
_BITS_STDINT_LEAST_H
_BITS_STDINT_UINTN_H
_BITS_STDIO_LIM_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_TYPES_LOCALE_T_H
_BITS_TYPES___LOCALE_T_H
_BITS_UINTN_IDENTITY_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_ENDIAN_H
_FEATURES_H
_IOFBF
_IOLBF
_IONBF
_IO_EOF_SEEN
_IO_ERR_SEEN
_IO_USER_LOCK
_LIBC_LIMITS_H_
_POSIX2_BC_BASE_MAX
_POSIX2_BC_DIM_MAX
_POSIX2_BC_SCALE_MAX
_POSIX2_BC_STRING_MAX
_POSIX2_CHARCLASS_NAME_MAX
_POSIX2_COLL_WEIGHTS_MAX
_POSIX2_EXPR_NEST_MAX
_POSIX2_LINE_MAX
_POSIX2_RE_DUP_MAX
_POSIX_AIO_LISTIO_MAX
_POSIX_AIO_MAX
_POSIX_ARG_MAX
_POSIX_CHILD_MAX
_POSIX_CLOCKRES_MIN
_POSIX_C_SOURCE
_POSIX_DELAYTIMER_MAX
_POSIX_HOST_NAME_MAX
_POSIX_LINK_MAX
_POSIX_LOGIN_NAME_MAX
_POSIX_MAX_CANON
_POSIX_MAX_INPUT
_POSIX_MQ_OPEN_MAX
_POSIX_MQ_PRIO_MAX
_POSIX_NAME_MAX
_POSIX_NGROUPS_MAX
_POSIX_OPEN_MAX
_POSIX_PATH_MAX
_POSIX_PIPE_BUF
_POSIX_RE_DUP_MAX
_POSIX_RTSIG_MAX
_POSIX_SEM_NSEMS_MAX
_POSIX_SEM_VALUE_MAX
_POSIX_SIGQUEUE_MAX
_POSIX_SOURCE
_POSIX_SSIZE_MAX
_POSIX_STREAM_MAX
_POSIX_SYMLINK_MAX
_POSIX_SYMLOOP_MAX
_POSIX_THREAD_DESTRUCTOR_ITERATIONS
_POSIX_THREAD_KEYS_MAX
_POSIX_THREAD_THREADS_MAX
_POSIX_TIMER_MAX
_POSIX_TTY_NAME_MAX
_POSIX_TZNAME_MAX
_STDC_PREDEF_H
_STDINT_H
_STDIO_H
_STDLIB_H
_STRINGS_H
_STRING_H
_STRUCT_TIMESPEC
_SYS_CDEFS_H
_SYS_SELECT_H
_SYS_TYPES_H
_THREAD_MUTEX_INTERNAL_H
_THREAD_SHARED_TYPES_H
__BIG_ENDIAN
__BIT_TYPES_DEFINED__
__BYTE_ORDER
__FD_SETSIZE
__FILE_defined
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC_USE_C2X_STRTOL
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_DISTINCT_FLOAT16
__HAVE_DISTINCT_FLOAT32
__HAVE_DISTINCT_FLOAT64
__HAVE_DISTINCT_FLOAT32X
__HAVE_DISTINCT_FLOAT64X
__HAVE_DISTINCT_FLOAT128
__HAVE_DISTINCT_FLOAT128X
__HAVE_FLOAT16
__HAVE_FLOAT32
__HAVE_FLOAT64
__HAVE_FLOAT32X
__HAVE_FLOAT64X
__HAVE_FLOAT64X_LONG_DOUBLE
__HAVE_FLOAT128
__HAVE_FLOAT128X
__HAVE_FLOATN_NOT_TYPEDEF
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__LITTLE_ENDIAN
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__PTHREAD_MUTEX_HAVE_PREV
__RLIM_T_MATCHES_RLIM64_T
__SIZEOF_PTHREAD_ATTR_T
__SIZEOF_PTHREAD_BARRIERATTR_T
__SIZEOF_PTHREAD_BARRIER_T
__SIZEOF_PTHREAD_CONDATTR_T
__SIZEOF_PTHREAD_COND_T
__SIZEOF_PTHREAD_MUTEXATTR_T
__SIZEOF_PTHREAD_MUTEX_T
__SIZEOF_PTHREAD_RWLOCKATTR_T
__SIZEOF_PTHREAD_RWLOCK_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WALL
__WCLONE
__WCOREFLAG
__WNOTHREAD
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__W_CONTINUED
____FILE_defined
_____fpos64_t_defined
_____fpos_t_defined
____mbstate_t_defined
__bool_true_false_are_defined
__clock_t_defined
__clockid_t_defined
__cookie_io_functions_t_defined
__glibc_c99_flexarr_available
__have_pthread_attr_t
__ldiv_t_defined
__lldiv_t_defined
__sigset_t_defined
__struct_FILE_defined
__time_t_defined
__timer_t_defined
__timeval_defined
false_
true_

Statics§

ffModuleInfos
instance
stderr
stdin
stdout

Functions§

_Exit
__asprintf
__assert
__assert_fail
__assert_perror_fail
__ctype_get_mb_cur_max
__getdelim
__memcmpeq
__mempcpy
__overflow
__stpcpy
__stpncpy
__strtok_r
__uflow
a64l
abort
abs
aligned_alloc
alloca
arc4random
arc4random_buf
arc4random_uniform
asprintf
at_quick_exit
atexit
atof
atoi
atol
atoll
bcmp
bcopy
bsearch
bzero
calloc
clearenv
clearerr
clearerr_unlocked
ctermid
div
dprintf
drand48
drand48_r
ecvt
ecvt_r
erand48
erand48_r
exit
explicit_bzero
fclose
fcvt
fcvt_r
fdopen
feof
feof_unlocked
ferror
ferror_unlocked
ffListAdd
ffListPop
ffListShift
ffOptionParseBoolean
ffOptionParseColorNoClear
ffOptionParseEnum
ffOptionParseInt32
ffOptionParseModuleArgs
ffOptionParseString
ffOptionParseUInt32
ffOptionTestPrefix
ffOptionsDestroyDisplay
ffOptionsDestroyGeneral
ffOptionsDestroyLogo
ffOptionsDestroyModules
ffOptionsGenerateDisplayJsonConfig
ffOptionsGenerateGeneralJsonConfig
ffOptionsGenerateLogoJsonConfig
ffOptionsInitDisplay
ffOptionsInitGeneral
ffOptionsInitLogo
ffOptionsInitModules
ffOptionsParseDisplayCommandLine
ffOptionsParseDisplayJsonConfig
ffOptionsParseGeneralCommandLine
ffOptionsParseGeneralJsonConfig
ffOptionsParseLogoCommandLine
ffOptionsParseLogoJsonConfig
ffParseDuration
ffParseFrequency
ffParseGTK
ffParseSemver
ffParseSize
ffPercentAppendBar
ffPercentAppendNum
ffPercentGenerateJsonConfig
ffPercentParseCommandOptions
ffPercentParseJsonObject
ffPercentParseTypeJsonConfig
ffPlatformDestroy
ffPlatformInit
ffStrbufAppendC
ffStrbufAppendF
ffStrbufAppendNC
ffStrbufAppendNS
ffStrbufAppendSUntilC
ffStrbufAppendTransformS
ffStrbufAppendVF
ffStrbufClear
ffStrbufCountC
ffStrbufEnsureEndsWithC
ffStrbufEnsureFixedLengthFree
ffStrbufEnsureFree
ffStrbufGetline
ffStrbufGetlineRestore
ffStrbufInitA
ffStrbufInitVF
ffStrbufInsertNC
ffStrbufLowerCase
ffStrbufNextIndexC
ffStrbufNextIndexS
ffStrbufPrependC
ffStrbufPrependNS
ffStrbufPreviousIndexC
ffStrbufPutTo
ffStrbufRemoveDupWhitespaces
ffStrbufRemoveIgnCaseEndS
ffStrbufRemoveS
ffStrbufRemoveStrings
ffStrbufRemoveSubstr
ffStrbufReplaceAllC
ffStrbufSetF
ffStrbufSetNS
ffStrbufSubstrAfter
ffStrbufSubstrAfterFirstC
ffStrbufSubstrAfterFirstS
ffStrbufSubstrAfterLastC
ffStrbufSubstrBefore
ffStrbufToDouble
ffStrbufToSInt
ffStrbufToUInt
ffStrbufTrimLeft
ffStrbufTrimRight
ffStrbufTrimRightSpace
ffStrbufUpperCase
ffStrbufWriteTo
ffVersionCompare
ffVersionToPretty
fflush
fflush_unlocked
ffs
ffsl
ffsll
fgetc
fgetc_unlocked
fgetpos
fgets
fileno
fileno_unlocked
flockfile
fmemopen
fopen
fopencookie
fprintf
fputc
fputc_unlocked
fputs
fread
fread_unlocked
free
freopen
fscanf
fscanf1
fseek
fseeko
fsetpos
ftell
ftello
ftrylockfile
funlockfile
fwrite
fwrite_unlocked
gcvt
getc
getc_unlocked
getchar
getchar_unlocked
getdelim
getenv
getline
getloadavg
getsubopt
getw
index
initstate
initstate_r
jrand48
jrand48_r
l64a
labs
lcong48
lcong48_r
ldiv
llabs
lldiv
lrand48
lrand48_r
malloc
mblen
mbstowcs
mbtowc
memccpy
memchr
memcmp
memcpy
memmem
memmove
mempcpy
memset
mkdtemp
mkstemp
mkstemps
mktemp
mrand48
mrand48_r
nrand48
nrand48_r
on_exit
open_memstream
pclose
perror
popen
posix_memalign
printf
pselect
putc
putc_unlocked
putchar
putchar_unlocked
putenv
puts
putw
qecvt
qecvt_r
qfcvt
qfcvt_r
qgcvt
qsort
quick_exit
rand
rand_r
random
random_r
realloc
reallocarray
realpath
remove
rename
renameat
rewind
rindex
rpmatch
scanf
scanf1
seed48
seed48_r
select
setbuf
setbuffer
setenv
setlinebuf
setstate
setstate_r
setvbuf
snprintf
sprintf
srand
srand48
srand48_r
srandom
srandom_r
sscanf
sscanf1
stpcpy
stpncpy
strcasecmp
strcasecmp_l
strcasestr
strcat
strchr
strchrnul
strcmp
strcoll
strcoll_l
strcpy
strcspn
strdup
strerror
strerror_l
strerror_r
strlcat
strlcpy
strlen
strncasecmp
strncasecmp_l
strncat
strncmp
strncpy
strndup
strnlen
strpbrk
strrchr
strsep
strsignal
strspn
strstr
strtod
strtof
strtok
strtok_r
strtol
strtold
strtoll
strtoq
strtoul
strtoull
strtouq
strxfrm
strxfrm_l
system
tempnam
tmpfile
tmpnam
tmpnam_r
ungetc
unsafe_yyjson_equals
unsafe_yyjson_mut_equals
unsafe_yyjson_mut_ptr_getx
unsafe_yyjson_mut_ptr_putx
unsafe_yyjson_mut_ptr_removex
unsafe_yyjson_mut_ptr_replacex
unsafe_yyjson_ptr_getx
unsafe_yyjson_str_pool_grow
unsafe_yyjson_val_pool_grow
unsetenv
valloc
vasprintf
vdprintf
vfprintf
vfscanf
vfscanf1
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1
wcstombs
wctomb
yyjson_alc_dyn_free
Free a dynamic allocator which is created by yyjson_alc_dyn_new(). @param alc The dynamic allocator to be destroyed.
yyjson_alc_dyn_new
A dynamic allocator.
yyjson_alc_pool_init
A pool allocator uses fixed length pre-allocated memory.
yyjson_doc_mut_copy
Copies and returns a new mutable document from input, returns NULL on error. This makes a deep-copy on the immutable document. If allocator is NULL, the default allocator will be used. @note imut_doc -> mut_doc.
yyjson_incr_free
Release the incremental read state and free the memory.
yyjson_incr_new
Initialize state for incremental read.
yyjson_incr_read
Performs incremental read of up to len bytes.
yyjson_locate_pos
Locate the line and column number for a byte position in a string. This can be used to get better description for error position.
yyjson_merge_patch
Creates and returns a merge-patched JSON value (RFC 7386). The memory of the returned value is allocated by the doc. Returns NULL if the patch could not be applied.
yyjson_mut_doc_free
Release the JSON document and free the memory. After calling this function, the doc and all values from the doc are no longer available. This function will do nothing if the doc is NULL.
yyjson_mut_doc_imut_copy
Copies and returns a new immutable document from input, returns NULL on error. This makes a deep-copy on the mutable document. The returned document should be freed with yyjson_doc_free(). @note mut_doc -> imut_doc. @warning This function is recursive and may cause a stack overflow if the object level is too deep.
yyjson_mut_doc_mut_copy
Copies and returns a new mutable document from input, returns NULL on error. This makes a deep-copy on the mutable document. If allocator is NULL, the default allocator will be used. @note mut_doc -> mut_doc.
yyjson_mut_doc_new
Creates and returns a new mutable JSON document, returns NULL on error. If allocator is NULL, the default allocator will be used.
yyjson_mut_doc_set_str_pool_size
Set the string pool size for a mutable document. This function does not allocate memory immediately, but uses the size when the next memory allocation is needed.
yyjson_mut_doc_set_val_pool_size
Set the value pool size for a mutable document. This function does not allocate memory immediately, but uses the size when the next memory allocation is needed.
yyjson_mut_merge_patch
Creates and returns a merge-patched JSON value (RFC 7386). The memory of the returned value is allocated by the doc. Returns NULL if the patch could not be applied.
yyjson_mut_patch
Creates and returns a patched JSON value (RFC 6902). The memory of the returned value is allocated by the doc. The err is used to receive error information, pass NULL if not needed. Returns NULL if the patch could not be applied.
yyjson_mut_val_imut_copy
Copies and returns a new immutable document from input, returns NULL on error. This makes a deep-copy on the mutable value. The returned document should be freed with yyjson_doc_free(). @note mut_val -> imut_doc. @warning This function is recursive and may cause a stack overflow if the object level is too deep.
yyjson_mut_val_mut_copy
Copies and returns a new mutable value from input, returns NULL on error. This makes a deep-copy on the mutable value. The memory was managed by mutable document. @note mut_val -> mut_val. @warning This function is recursive and may cause a stack overflow if the object level is too deep.
yyjson_mut_val_write_file
Write a value to JSON file with options.
yyjson_mut_val_write_fp
Write a value to JSON file with options.
yyjson_mut_val_write_opts
Write a value to JSON string with options.
yyjson_mut_write_file
Write a document to JSON file with options.
yyjson_mut_write_fp
Write a document to file pointer with options.
yyjson_mut_write_opts
Write a document to JSON string with options.
yyjson_patch
Creates and returns a patched JSON value (RFC 6902). The memory of the returned value is allocated by the doc. The err is used to receive error information, pass NULL if not needed. Returns NULL if the patch could not be applied.
yyjson_read_file
Read a JSON file.
yyjson_read_fp
Read JSON from a file pointer.
yyjson_read_number
Read a JSON number.
yyjson_read_opts
Read JSON with options.
yyjson_val_mut_copy
Copies and returns a new mutable value from input, returns NULL on error. This makes a deep-copy on the immutable value. The memory was managed by mutable document. @note imut_val -> mut_val.
yyjson_val_write_file
Write a value to JSON file with options.
yyjson_val_write_fp
Write a value to file pointer with options.
yyjson_val_write_opts
Write a value to JSON string with options.
yyjson_version
The version of yyjson in hex, same as YYJSON_VERSION_HEX.
yyjson_write_file
Write a document to JSON file with options.
yyjson_write_fp
Write a document to file pointer with options.
yyjson_write_opts
Write a document to JSON string with options.

Type Aliases§

FFColorsSymbol
FFDNSShowType
FFDiskCalcType
FFDiskVolumeType
FFDisplayCompactType
FFDisplayOrder
FFDsForceDrmType
FFGPUDetectionMethod
FFGPUType
FFLocalIpType
FFLogoPosition
FFLogoType
FFModuleKeyType
FFOpenGLLibrary
FFPackagesFlags
FFPercentageTypeFlags
FFSizeBinaryPrefixType
FFSoundType
FFTemperatureUnit
FILE
_Float32
_Float64
_Float32x
_Float64x
_IO_lock_t
__FILE
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__compar_fn_t
__daddr_t
__dev_t
__fd_mask
__fpos64_t
__fpos_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__locale_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__pthread_list_t
__pthread_slist_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__thrd_t
__time_t
__timer_t
__tss_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
blkcnt_t
blksize_t
caddr_t
clock_t
clockid_t
cookie_close_function_t
cookie_io_functions_t
cookie_read_function_t
cookie_seek_function_t
cookie_write_function_t
daddr_t
dev_t
fd_mask
fpos_t
fsblkcnt_t
fsfilcnt_t
fsid_t
gid_t
id_t
ino_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
key_t
locale_t
loff_t
mode_t
nlink_t
off_t
pid_t
pthread_key_t
pthread_once_t
pthread_spinlock_t
pthread_t
quad_t
register_t
sigset_t
suseconds_t
time_t
timer_t
u_char
u_int
u_int8_t
u_int16_t
u_int32_t
u_int64_t
u_long
u_quad_t
u_short
uid_t
uint
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
ulong
ushort
va_list
wchar_t
yyjson_patch_code
Result code for JSON patch.
yyjson_ptr_code
JSON Pointer error code.
yyjson_read_code
Result code for JSON reader.
yyjson_read_flag
Run-time options for JSON reader.
yyjson_subtype
Subtype of a JSON value (2 bit).
yyjson_type
Type of a JSON value (3 bit).
yyjson_write_code
Result code for JSON writer
yyjson_write_flag
Run-time options for JSON writer.

Unions§

__atomic_wide_counter
__mbstate_t__bindgen_ty_1
pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t
yyjson_val_uni
Payload of a JSON value (8 bytes).