geopm 3.1.1.dev410+g40bf96ed
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
geopm_daemon.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_DAEMON_H_INCLUDE
7#define GEOPM_DAEMON_H_INCLUDE
8
9#include <stddef.h>
10
11#include "geopm_public.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17struct geopm_daemon_c;
18
19int GEOPM_PUBLIC
20 geopm_daemon_create(const char *endpoint_name, const char *policystore_path,
21 struct geopm_daemon_c **daemon);
22int GEOPM_PUBLIC
23 geopm_daemon_destroy(struct geopm_daemon_c *daemon);
24int GEOPM_PUBLIC
25 geopm_daemon_update_endpoint_from_policystore(struct geopm_daemon_c *daemon,
26 double timeout);
27int GEOPM_PUBLIC
28 geopm_daemon_stop_wait_loop(struct geopm_daemon_c *daemon);
29int GEOPM_PUBLIC
30 geopm_daemon_reset_wait_loop(struct geopm_daemon_c *daemon);
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif
int GEOPM_PUBLIC geopm_daemon_update_endpoint_from_policystore(struct geopm_daemon_c *daemon, double timeout)
Definition Daemon.cpp:95
int GEOPM_PUBLIC geopm_daemon_create(const char *endpoint_name, const char *policystore_path, struct geopm_daemon_c **daemon)
Definition Daemon.cpp:68
int GEOPM_PUBLIC geopm_daemon_reset_wait_loop(struct geopm_daemon_c *daemon)
Definition Daemon.cpp:122
int GEOPM_PUBLIC geopm_daemon_destroy(struct geopm_daemon_c *daemon)
Definition Daemon.cpp:83
int GEOPM_PUBLIC geopm_daemon_stop_wait_loop(struct geopm_daemon_c *daemon)
Definition Daemon.cpp:109