Entire-Metadata: .entire/metadata/fb87247f-2a75-407e-b336-cbc8c20ba5a6 Entire-Session: fb87247f-2a75-407e-b336-cbc8c20ba5a6 Entire-Strategy: manual-commit
102 lines
2.5 KiB
C
102 lines
2.5 KiB
C
/*
|
|
(c) Copyright, Real-Time Innovations, 2018
|
|
All rights reserved.
|
|
No duplications, whole or partial, manual or electronic, may be made
|
|
without express written permission. Any such copies, or
|
|
revisions thereof, must display this notice unaltered.
|
|
This code contains trade secrets of Real-Time Innovations, Inc.
|
|
|
|
=========================================================================*/
|
|
|
|
#ifndef security_version_h
|
|
#define security_version_h
|
|
|
|
#ifndef security_dll_h
|
|
#include "security/security_dll.h"
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*i
|
|
* \file
|
|
* \brief Version facilities for the security module
|
|
*/
|
|
|
|
/*e
|
|
* \defgroup RTI_SecurityVersionModule
|
|
* \brief Security Plugin version
|
|
*/
|
|
|
|
|
|
/*e
|
|
* \ingroup RTI_SecurityVersionModule
|
|
* \brief The Security Plugin version.
|
|
*
|
|
* The four fields describing the Security Plugins version are char types
|
|
* so that RTI_Security_LibraryVersion matches the core libraries'
|
|
* DDS_ProductVersion_t type.
|
|
*/
|
|
typedef struct {
|
|
char major;
|
|
char minor;
|
|
char release;
|
|
char revision;
|
|
} RTI_Security_LibraryVersion;
|
|
|
|
/*e \ingroup RTI_SecurityVersionModule
|
|
*
|
|
* Gets the Builtin Security Plugins library version
|
|
*/
|
|
extern RTISecurityDllExport
|
|
const RTI_Security_LibraryVersion *RTI_Security_get_library_version(void);
|
|
|
|
/*e \ingroup RTI_SecurityVersionModule
|
|
*
|
|
* Gets the Lightweight Builtin Security Plugins library version
|
|
*/
|
|
extern RTISecurityDllExport const RTI_Security_LibraryVersion *
|
|
RTI_SecurityLightweight_get_library_version(void);
|
|
|
|
/*e \ingroup RTI_SecurityVersionModule
|
|
*
|
|
* Gets the Builtin Security Plugins library build version string
|
|
*/
|
|
extern RTISecurityDllExport
|
|
const char *RTI_Security_get_build_version_string(void);
|
|
|
|
/*e \ingroup RTI_SecurityVersionModule
|
|
*
|
|
* Gets the Lightweight Builtin Security Plugins library build version string
|
|
*/
|
|
extern RTISecurityDllExport const char *
|
|
RTI_SecurityLightweight_get_build_version_string(void);
|
|
|
|
/**
|
|
* @internal
|
|
*
|
|
* @brief Set the version of the Lightweight Builtin Security Plugins library.
|
|
*
|
|
* Function used only for testing purposes.
|
|
*/
|
|
extern RTISecurityDllExport void RTI_SecurityLightweight_set_library_version(
|
|
const RTI_Security_LibraryVersion *version);
|
|
|
|
/**
|
|
* @internal
|
|
*
|
|
* @brief Set the version of the Builtin Security Plugins library.
|
|
*
|
|
* Function used only for testing purposes.
|
|
*/
|
|
extern RTISecurityDllExport void RTI_Security_set_library_version(
|
|
const RTI_Security_LibraryVersion *version);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|