rpm
4.5
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
build
buildio.h
Go to the documentation of this file.
1
#ifndef _H_BUILDIO_
2
#define _H_BUILDIO_
3
11
#include "
rpmbuild.h
"
12
15
typedef
/*@abstract@*/
struct
cpioSourceArchive_s
{
16
unsigned
int
cpioArchiveSize
;
17
FD_t
cpioFdIn
;
18
/*@refcounted@*/
/*@relnull@*/
19
rpmfi
cpioList
;
20
/*@only@*/
21
struct
rpmlead
*
lead
;
/* XXX FIXME: exorcize lead/arch/os */
22
} *
CSA_t
;
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
37
/*@unused@*/
int
readRPM
(
/*@null@*/
const
char
* fileName,
38
/*@out@*/
Spec
* specp,
39
/*@out@*/
struct
rpmlead
* lead,
40
/*@out@*/
Header
* sigs,
41
CSA_t
csa)
42
/*@globals rpmGlobalMacroContext, h_errno,
43
fileSystem, internalState @*/
44
/*@modifies *specp, *lead, *sigs, csa, csa->cpioFdIn,
45
rpmGlobalMacroContext, fileSystem, internalState @*/
;
46
62
int
writeRPM
(
Header
* hdrp,
/*@null@*/
unsigned
char
** pkgidp,
63
const
char
* fileName,
64
int
type
,
65
CSA_t
csa,
66
/*@null@*/
char
* passPhrase,
67
/*@out@*/
const
char
** cookie)
68
/*@globals rpmGlobalMacroContext, h_errno,
69
fileSystem, internalState @*/
70
/*@modifies *hdrp, *pkgidp, *cookie, csa, csa->cpioArchiveSize,
71
rpmGlobalMacroContext, fileSystem, internalState @*/
;
72
73
#ifdef __cplusplus
74
}
75
#endif
76
77
#endif
/* _H_BUILDIO_ */
Generated on Tue Aug 28 2012 18:13:35 for rpm by
1.8.2