SAI Metadata
|
Define the current version. More...
#include <saitypes.h>
Go to the source code of this file.
Macros | |
#define | SAI_MAJOR 1 |
#define | SAI_MINOR 13 |
#define | SAI_REVISION 0 |
#define | SAI_VERSION(major, minor, revision) (10000 * (major) + 100 * (minor) + (revision)) |
#define | SAI_API_VERSION SAI_VERSION(SAI_MAJOR, SAI_MINOR, SAI_REVISION) |
Functions | |
sai_status_t | sai_query_api_version (_Out_ sai_api_version_t *version) |
Retrieve a SAI API version this implementation is aligned to. | |
Define the current version.
Copyright (c) 2014 Microsoft Open Technologies, Inc.
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
THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.
Definition in file saiversion.h.
#define SAI_API_VERSION SAI_VERSION(SAI_MAJOR, SAI_MINOR, SAI_REVISION) |
Definition at line 36 of file saiversion.h.
#define SAI_MAJOR 1 |
Definition at line 30 of file saiversion.h.
#define SAI_MINOR 13 |
Definition at line 31 of file saiversion.h.
#define SAI_REVISION 0 |
Definition at line 32 of file saiversion.h.
#define SAI_VERSION | ( | major, | |
minor, | |||
revision | |||
) | (10000 * (major) + 100 * (minor) + (revision)) |
Definition at line 34 of file saiversion.h.
sai_status_t sai_query_api_version | ( | _Out_ sai_api_version_t * | version | ) |
Retrieve a SAI API version this implementation is aligned to.
[out] | version | Version number |