2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __IA_CSS_VERSION_H
16 #define __IA_CSS_VERSION_H
19 * This file contains functions to retrieve CSS-API version information
22 #include <ia_css_err.h>
24 /** a common size for the version arrays */
25 #define MAX_VERSION_SIZE 500
27 /** @brief Retrieves the current CSS version
28 * @param[out] version A pointer to a buffer where to put the generated
29 * version string. NULL is ignored.
30 * @param[in] max_size Size of the version buffer. If version string
31 * would be larger than max_size, an error is
32 * returned by this function.
34 * This function generates and returns the version string. If FW is loaded, it
35 * attaches the FW version.
38 ia_css_get_version(char *version, int max_size);
40 #endif /* __IA_CSS_VERSION_H */