SAI Metadata
Loading...
Searching...
No Matches
saiversion.h
Go to the documentation of this file.
1
25#if !defined (__SAIVERSION_H_)
26#define __SAIVERSION_H_
27
28#include <saitypes.h>
29
30#define SAI_MAJOR 1
31#define SAI_MINOR 13
32#define SAI_REVISION 0
33
34#define SAI_VERSION(major, minor, revision) (10000 * (major) + 100 * (minor) + (revision))
35
36#define SAI_API_VERSION SAI_VERSION(SAI_MAJOR, SAI_MINOR, SAI_REVISION)
37
46 _Out_ sai_api_version_t *version);
47
48#endif
This module defines SAI portable types.
sai_status_t sai_query_api_version(_Out_ sai_api_version_t *version)
Retrieve a SAI API version this implementation is aligned to.