libkeepalive
Loading...
Searching...
No Matches
keepalive-cpukeepalive.h
Go to the documentation of this file.
1/****************************************************************************************
2**
3** Copyright (C) 2014 - 2018 Jolla Ltd.
4**
5** Author: Simo Piiroinen <simo.piiroinen@jollamobile.com>
6**
7** All rights reserved.
8**
9** This file is part of nemo-keepalive package.
10**
11** You may use this file under the terms of the GNU Lesser General
12** Public License version 2.1 as published by the Free Software Foundation
13** and appearing in the file license.lgpl included in the packaging
14** of this file.
15**
16** This library is free software; you can redistribute it and/or
17** modify it under the terms of the GNU Lesser General Public
18** License version 2.1 as published by the Free Software Foundation
19** and appearing in the file license.lgpl included in the packaging
20** of this file.
21**
22** This library is distributed in the hope that it will be useful,
23** but WITHOUT ANY WARRANTY; without even the implied warranty of
24** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25** Lesser General Public License for more details.
26**
27****************************************************************************************/
28
33
34#ifndef KEEPALIVE_GLIB_CPUKEEPALIVE_H_
35# define KEEPALIVE_GLIB_CPUKEEPALIVE_H_
36
37# ifdef __cplusplus
38extern "C" {
39# elif 0
40} /* fool JED indentation ... */
41# endif
42
43# pragma GCC visibility push(default)
44
51
64
74
84
94
100
112const char *cpukeepalive_get_id(const cpukeepalive_t *self);
113
114# pragma GCC visibility pop
115
116# ifdef __cplusplus
117};
118# endif
119
120#endif // KEEPALIVE_GLIB_CPUKEEPALIVE_H_
void cpukeepalive_stop(cpukeepalive_t *self)
cpukeepalive_t * cpukeepalive_new(void)
cpukeepalive_t * cpukeepalive_ref(cpukeepalive_t *self)
void cpukeepalive_start(cpukeepalive_t *self)
const char * cpukeepalive_get_id(const cpukeepalive_t *self)
struct cpukeepalive_t cpukeepalive_t
Definition keepalive-cpukeepalive.h:50
void cpukeepalive_unref(cpukeepalive_t *self)