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:
Johan Wikman
2017-06-19 15:24:51 +03:00
parent dcfe118457
commit 33fe89772a
2 changed files with 10 additions and 13 deletions

View File

@ -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