libkeepalive
Loading...
Searching...
No Matches
keepalive-timeout.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
34#ifndef KEEPALIVE_GLIB_TIMEOUT_H_
35# define KEEPALIVE_GLIB_TIMEOUT_H_
36
37# include <glib.h>
38
39# ifdef __cplusplus
40extern "C" {
41# elif 0
42} /* fool JED indentation ... */
43# endif
44
45# pragma GCC visibility push(default)
46
83guint keepalive_timeout_add_full(gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify);
84
95guint keepalive_timeout_add(guint interval, GSourceFunc function, gpointer data);
96
111guint keepalive_timeout_add_seconds_full(gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify);
112
123guint keepalive_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data);
124
125# pragma GCC visibility pop
126
127# ifdef __cplusplus
128};
129# endif
130
131#endif /* KEEPALIVE_GLIB_TIMEOUT_H_ */
guint keepalive_timeout_add(guint interval, GSourceFunc function, gpointer data)
guint keepalive_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)
guint keepalive_timeout_add_seconds_full(gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify)
guint keepalive_timeout_add_full(gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify)