rpm
5.4.10
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
rpmdb
signature.h
Go to the documentation of this file.
1
#ifndef H_SIGNATURE
2
#define H_SIGNATURE
3
9
#include <
rpmtag.h
>
/* XXX Header typedef */
10
15
typedef
enum
pgpVersion_e
{
16
PGP_NOTDETECTED
= -1,
17
PGP_UNKNOWN
= 0,
18
PGP_2
= 2,
19
PGP_5
= 5
20
}
pgpVersion
;
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
39
int
rpmTempFile
(
/*@null@*/
const
char
*
prefix
,
40
/*@null@*/
/*@out@*/
const
char
** fnptr,
41
/*@out@*/
void
* fdptr)
42
/*@globals rpmGlobalMacroContext, h_errno,
43
fileSystem, internalState @*/
44
/*@modifies *fnptr, *fdptr, rpmGlobalMacroContext,
45
fileSystem, internalState @*/
;
46
55
int
rpmAddSignature
(
Header
sigh,
const
char
*
file
,
56
rpmSigTag
sigTag,
/*@null@*/
const
char
* passPhrase)
57
/*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
58
/*@modifies sigh, sigTag, rpmGlobalMacroContext, fileSystem, internalState @*/
;
59
65
int
rpmCheckPassPhrase
(
const
char
* passPhrase)
66
/*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
67
/*@modifies rpmGlobalMacroContext, fileSystem, internalState @*/
;
68
76
rpmRC
rpmVerifySignature
(
void
* _dig,
/*@out@*/
char
* result)
77
/*@globals internalState @*/
78
/*@modifies _dig, *result, internalState @*/
;
79
80
#ifdef __cplusplus
81
}
82
#endif
83
84
#endif
/* H_SIGNATURE */
Generated on Mon Nov 5 2012 15:32:19 for rpm by
1.8.1.2