summaryrefslogtreecommitdiff
path: root/components/services/install/lib/eazel-install-rpm-glue.h
blob: 5057fb5a1bd30ae3683313f8d3193997112abaca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* 
 * Copyright (C) 2000 Eazel, Inc
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Authors: J Shane Culpepper <pepper@eazel.com>
 *          Eskil Heyn Olsen <eskil@eazel.com>
 */

/* eazel-install - services command line install/update/uninstall
 * component.  This program will parse the eazel-services-config.xml
 * file and install a services generated package-list.xml.
 */

#ifndef EAZEL_INSTALL_RPM_GLUE_H
#define EAZEL_INSTALL_RPM_GLUE_H

#include "eazel-package-system-types.h"
#include "eazel-install-public.h"

void eazel_install_rpm_set_settings (EazelInstall *service);
void eazel_install_start_transaction_make_rpm_argument_list (EazelInstall *service,
							     GList **args);
gboolean eazel_install_monitor_rpm_process_pipe (GIOChannel *source,
						 GIOCondition condition,
						 EazelInstall *service);
gboolean eazel_install_free_rpm_system (EazelInstall *service);
gboolean eazel_install_prepare_rpm_system(EazelInstall *service);
void eazel_install_do_rpm_dependency_check (EazelInstall *service,
					    GList **packages,
					    GList **failedpackages,
					    GList **requirements);



#endif /* EAZEL_INSTALL_RPM_GLUE_H */