Add the documentation for all public functions. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>