geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
geopm_version.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 - 2024 Intel Corporation
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef GEOPM_VERSION_H_INCLUDE
7 #define GEOPM_VERSION_H_INCLUDE
8 
9 #include "geopm_public.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 const char GEOPM_PUBLIC *
16  geopm_version(void);
17 
18 #ifdef __cplusplus
19 } // End extern "C"
20 
21 #include <vector>
22 #include <string>
23 
24 namespace geopm {
25  std::string GEOPM_PUBLIC
26  version(void);
27  std::vector<int> GEOPM_PUBLIC
29 }
30 
31 #endif // End C++
32 #endif // Include guard
#define GEOPM_PUBLIC
Definition: geopm_public.h:10
const char GEOPM_PUBLIC * geopm_version(void)
Definition: geopm_version.cpp:15
Definition: Agg.cpp:20
std::vector< int > shared_object_version(void)
Definition: geopm_version.cpp:27
std::string version(void)
Definition: geopm_version.cpp:22