Add the function of outputting rdcd version information
Change-Id: I0572fd4b98f697660ab9099deabfd4f0fce802f3
Signed-off-by: Chen Gong <curry.gong@amd.com>
[ROCm/rdc commit: 9f8d447e75]
This commit is contained in:
committed by
Galantsev, Dmitrii
parent
5db56b48eb
commit
c495b7d086
@@ -30,6 +30,17 @@ THE SOFTWARE.
|
||||
#include "rdc/rdc_admin_service.h"
|
||||
#include "rdc/rdc_api_service.h"
|
||||
|
||||
#define RDC_SERVER_VERSION_MAJOR 1
|
||||
#define RDC_SERVER_VERSION_MINOR 0
|
||||
#define RDC_SERVER_VERSION_RELEASE 0
|
||||
|
||||
#define RDC_SERVER_VERSION_CREATE_STRING(MAJOR, MINOR, RELEASE) (#MAJOR "." #MINOR "." #RELEASE)
|
||||
#define RDC_SERVER_VERSION_EXPAND_PARTS(MAJOR_STR, MINOR_STR, RELEASE_STR) RDC_SERVER_VERSION_CREATE_STRING(MAJOR_STR, MINOR_STR, RELEASE_STR)
|
||||
#define RDC_SERVER_VERSION_STRING RDC_SERVER_VERSION_EXPAND_PARTS(RDC_SERVER_VERSION_MAJOR, RDC_SERVER_VERSION_MINOR, RDC_SERVER_VERSION_RELEASE)
|
||||
|
||||
#define Q(x) #x
|
||||
#define QUOTE(x) Q(x)
|
||||
|
||||
typedef struct {
|
||||
std::string listen_address;
|
||||
std::string listen_port;
|
||||
|
||||
Reference in New Issue
Block a user