-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mjean/DAOS-16167
Skip-unit-tests: true Skip-fault-injection-test: true Test-tag: soak_smoke Required-githooks: true Signed-off-by: Maureen Jean <maureen.jean@intel.com>
- Loading branch information
Showing
73 changed files
with
2,575 additions
and
877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* (C) Copyright 2024 Intel Corporation. | ||
* | ||
* SPDX-License-Identifier: BSD-2-Clause-Patent | ||
*/ | ||
/** | ||
* This file is part of daos | ||
* | ||
* src/client/api/version.c | ||
*/ | ||
#define D_LOGFAC DD_FAC(client) | ||
|
||
#include <daos/common.h> | ||
#include <daos_version.h> | ||
|
||
/** | ||
* Retrieve DAOS client API version. | ||
*/ | ||
int | ||
daos_version_get(int *major, int *minor, int *fix) | ||
{ | ||
if (major == NULL || minor == NULL || fix == NULL) { | ||
D_ERROR("major, minor, fix must not be NULL\n"); | ||
return -DER_INVAL; | ||
} | ||
*major = DAOS_API_VERSION_MAJOR; | ||
*minor = DAOS_API_VERSION_MINOR; | ||
*fix = DAOS_API_VERSION_FIX; | ||
|
||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.