MXS-1249: Return service version
Since it is now a single value, the service version can be returned as a return value instead of via an out-argument. More convenient to use that way.
This commit is contained in:
@ -374,10 +374,9 @@ typedef enum service_version_which_t
|
||||
*
|
||||
* @param service The service.
|
||||
* @param which Which version.
|
||||
* @param version On output contains the version of the service.
|
||||
*
|
||||
* @return The version of the service.
|
||||
*/
|
||||
void service_get_version(const SERVICE *service,
|
||||
service_version_which_t which,
|
||||
uint64_t* version);
|
||||
uint64_t service_get_version(const SERVICE *service, service_version_which_t which);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
Reference in New Issue
Block a user