libzypp
11.13.5
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Applydeltarpm.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_SOURCE_APPLYDELTARPM_H
13
#define ZYPP_SOURCE_APPLYDELTARPM_H
14
15
#include <iosfwd>
16
#include <string>
17
18
#include "
zypp/base/Function.h
"
19
#include "
zypp/Pathname.h
"
20
22
namespace
zypp
23
{
24
26
27
namespace
applydeltarpm
28
{
29
31
bool
haveApplydeltarpm
();
32
40
bool
check
(
const
std::string & sequenceinfo_r,
bool
quick_r =
false
);
41
45
bool
check
(
const
Pathname & delta_r,
bool
quick_r =
false
);
46
48
inline
bool
quickcheck
(
const
std::string & sequenceinfo_r )
49
{
return
check
( sequenceinfo_r,
true
); }
50
52
inline
bool
quickcheck
(
const
Pathname & delta_r )
53
{
return
check
( delta_r,
true
); }
55
61
typedef
function<void( unsigned )>
Progress
;
62
66
bool
provide
(
const
Pathname & delta_r,
const
Pathname & new_r,
67
const
Progress
& report_r =
Progress
() );
68
72
bool
provide
(
const
Pathname & old_r,
const
Pathname & delta_r,
73
const
Pathname & new_r,
74
const
Progress
& report_r =
Progress
() );
76
78
}
// namespace applydeltarpm
81
}
// namespace zypp
83
#endif // ZYPP_SOURCE_APPLYDELTARPM_H
zypp
repo
Applydeltarpm.h
Generated by
1.8.1