How to get photon version from a function call

Is there any c function call telling me the version, major and minor version
of photon, like 2.0.
Thanks.