Debian Codegraph @

lib/packagekit-glib2/pk-control-sync.h

raw
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
2 *
3 * Copyright (C) 2009 Richard Hughes <[email protected]>
4 *
5 * Licensed under the GNU Lesser General Public License Version 2.1
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #ifndef __PK_CONTROL_SYNC_H
23 #define __PK_CONTROL_SYNC_H
24
25 #include <glib.h>
26 #include <packagekit-glib2/pk-control.h>
27
28 G_BEGIN_DECLS
29
30 gboolean pk_control_get_properties (PkControl *control,
31 GCancellable *cancellable,
32 GError **error);
33 gchar **pk_control_get_transaction_list (PkControl *control,
34 GCancellable *cancellable,
35 GError **error);
36 gboolean pk_control_suggest_daemon_quit (PkControl *control,
37 GCancellable *cancellable,
38 GError **error);
39 gboolean pk_control_set_proxy (PkControl *control,
40 const gchar *proxy_http,
41 const gchar *proxy_ftp,
42 GCancellable *cancellable,
43 GError **error);
44 gboolean pk_control_set_proxy2 (PkControl *control,
45 const gchar *proxy_http,
46 const gchar *proxy_https,
47 const gchar *proxy_ftp,
48 const gchar *proxy_socks,
49 const gchar *no_proxy,
50 const gchar *pac,
51 GCancellable *cancellable,
52 GError **error);
53
54 G_END_DECLS
55
56
57 #endif /* __PK_CONTROL_SYNC_H */
58