|
Packit Service |
def718 |
/*
|
|
Packit Service |
def718 |
* Copyright (c) 2012,2017 Eric Haszlakiewicz
|
|
Packit Service |
def718 |
*
|
|
Packit Service |
def718 |
* This library is free software; you can redistribute it and/or modify
|
|
Packit Service |
def718 |
* it under the terms of the MIT license. See COPYING for details.
|
|
Packit Service |
def718 |
*/
|
|
Packit Service |
def718 |
|
|
Packit Service |
def718 |
/**
|
|
Packit Service |
def718 |
* @file
|
|
Packit Service |
def718 |
* @brief Methods for retrieving the json-c version.
|
|
Packit Service |
def718 |
*/
|
|
Packit Service |
def718 |
#ifndef _json_c_version_h_
|
|
Packit Service |
def718 |
#define _json_c_version_h_
|
|
Packit Service |
def718 |
|
|
Packit Service |
def718 |
#define JSON_C_MAJOR_VERSION 0
|
|
Packit Service |
def718 |
#define JSON_C_MINOR_VERSION 13
|
|
Packit Service |
def718 |
#define JSON_C_MICRO_VERSION 01
|
|
Packit Service |
def718 |
#define JSON_C_VERSION_NUM ((JSON_C_MAJOR_VERSION << 16) | \
|
|
Packit Service |
def718 |
(JSON_C_MINOR_VERSION << 8) | \
|
|
Packit Service |
def718 |
JSON_C_MICRO_VERSION)
|
|
Packit Service |
def718 |
#define JSON_C_VERSION "0.13.1"
|
|
Packit Service |
def718 |
|
|
Packit Service |
def718 |
/**
|
|
Packit Service |
def718 |
* @see JSON_C_VERSION
|
|
Packit Service |
def718 |
* @return the version of the json-c library as a string
|
|
Packit Service |
def718 |
*/
|
|
Packit Service |
def718 |
const char *json_c_version(void); /* Returns JSON_C_VERSION */
|
|
Packit Service |
def718 |
|
|
Packit Service |
def718 |
/**
|
|
Packit Service |
def718 |
* The json-c version encoded into an int, with the low order 8 bits
|
|
Packit Service |
def718 |
* being the micro version, the next higher 8 bits being the minor version
|
|
Packit Service |
def718 |
* and the next higher 8 bits being the major version.
|
|
Packit Service |
def718 |
* For example, 7.12.99 would be 0x00070B63.
|
|
Packit Service |
def718 |
*
|
|
Packit Service |
def718 |
* @see JSON_C_VERSION_NUM
|
|
Packit Service |
def718 |
* @return the version of the json-c library as an int
|
|
Packit Service |
def718 |
*/
|
|
Packit Service |
def718 |
int json_c_version_num(void); /* Returns JSON_C_VERSION_NUM */
|
|
Packit Service |
def718 |
|
|
Packit Service |
def718 |
#endif
|