rpm 4.15.1

rpmsign.h
Go to the documentation of this file.
1 #ifndef _RPMSIGN_H
2 #define _RPMSIGN_H
3
9 #include <rpm/argv.h>
10 #include <rpm/rpmpgp.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 struct rpmSignArgs {
17 char *keyid;
18 pgpHashAlgo hashalgo;
19 int signfiles;
20 /* ... what else? */
21 };
22
29 int rpmPkgSign(const char *path, const struct rpmSignArgs * args);
30
37 int rpmPkgDelSign(const char *path, const struct rpmSignArgs * args);
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* _RPMSIGN_H */
rpmSignArgs::signfiles
int signfiles
Definition: rpmsign.h:19
rpmSignArgs::hashalgo
pgpHashAlgo hashalgo
Definition: rpmsign.h:18
rpmSignArgs
Definition: rpmsign.h:16
rpmSignArgs::keyid
char * keyid
Definition: rpmsign.h:17
pgpHashAlgo
enum pgpHashAlgo_e pgpHashAlgo
rpmPkgSign
int rpmPkgSign(const char *path, const struct rpmSignArgs *args)
rpmPkgDelSign
int rpmPkgDelSign(const char *path, const struct rpmSignArgs *args)