fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.5 KiB
46 lines
1.5 KiB
1 year ago
|
/*******************************************************************************
|
||
|
* Copyright (C) 2019 Intel Corporation
|
||
|
*
|
||
|
* Licensed under the Apache License, Version 2.0 (the 'License');
|
||
|
* you may not use this file except in compliance with the License.
|
||
|
* You may obtain a copy of the License at
|
||
|
*
|
||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||
|
*
|
||
|
* Unless required by applicable law or agreed to in writing,
|
||
|
* software distributed under the License is distributed on an 'AS IS' BASIS,
|
||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
* See the License for the specific language governing permissions
|
||
|
* and limitations under the License.
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
|
||
|
#ifndef VERSION_H
|
||
|
#define VERSION_H
|
||
|
|
||
|
#include <crypto_mb/defs.h>
|
||
|
|
||
|
/* crypto_mb name & version */
|
||
|
#define MBX_LIB_NAME() "crypto_mb"
|
||
|
#define MBX_VER_MAJOR 1
|
||
|
#define MBX_VER_MINOR 0
|
||
|
#define MBX_VER_REV 9
|
||
|
|
||
|
/* major interface version */
|
||
|
#define MBX_INTERFACE_VERSION_MAJOR 11
|
||
|
/* minor interface version */
|
||
|
#define MBX_INTERFACE_VERSION_MINOR 9
|
||
|
|
||
|
typedef struct {
|
||
|
int major; /* e.g. 1 */
|
||
|
int minor; /* e.g. 2 */
|
||
|
int revision; /* e.g. 3 */
|
||
|
const char* name; /* e,g. "crypto_mb" */
|
||
|
const char* buildDate; /* e.g. "Oct 28 2019" */
|
||
|
const char* strVersion;/* e.g. "crypto_mb (ver 1.2.3 Oct 28 2019)" */
|
||
|
} mbxVersion;
|
||
|
|
||
|
EXTERN_C const mbxVersion* mbx_getversion(void);
|
||
|
|
||
|
#endif /* VERSION_H */
|