rpm  4.17.1.1
Todo List
globalScope> Global headerPutBin (Header h, rpmTagVal tag, const uint8_t *val, rpm_count_t size)
Make doxygen group these meaningfully.
globalScope> Global rpm_machtable_e
Eliminate from API.
globalScope> Global rpmcliQuery (rpmts ts, QVA_t qva, ARGV_const_t argv)
hack: RPMQV_ALL can pass char ** arglist = NULL, not char * arg. Union?
Parameters
tstransaction set
qvaparsed query/verify options
argvquery argument(s) (or NULL)
Returns
0 on success, else no. of failures
globalScope> Global rpmcliVerify (rpmts ts, QVA_t qva, ARGV_const_t argv)
hack: RPMQV_ALL can pass char ** arglist = NULL, not char * arg. Union?
Parameters
tstransaction set
qvaparsed query/verify options
argvverify argument(s) (or NULL)
Returns
0 on success, else no. of failures
globalScope> Global RPMFILE_SPECFILE
(unnecessary) marks 1st file in srpm.
globalScope> Global rpmFreeRpmrc (void)
Eliminate from API.
globalScope> Global rpmGetArchInfo (const char **name, int *num)
Generalize to extract arch component from target_platform macro.
Parameters
[out]nameaddress of arch name (or NULL)
[out]numaddress of arch number (or NULL)
globalScope> Global rpmGetOsInfo (const char **name, int *num)
Generalize to extract os component from target_platform macro.
Parameters
[out]nameaddress of os name (or NULL)
[out]numaddress of os number (or NULL)
globalScope> Global rpmInstall (rpmts ts, struct rpmInstallArguments_s *ia, ARGV_t fileArgv)
fileArgv is modified on errors, should be ARGV_const_t
globalScope> Global rpmlogClose (void)
Implement.
globalScope> Global rpmlogOpen (const char *ident, int option, int facility)
Implement.
globalScope> Global rpmMachineScore (int type, const char *name)
Rewrite to use RE's against config.guess target platform output.
globalScope> Global rpmprobFilterFlags_e
Generalize filter mechanism.
globalScope> Global rpmProblemGetStr (rpmProblem prob)
needs a better name
globalScope> Global rpmQueryFlags_e
Merge rpmQueryFlags, rpmVerifyFlags, and rpmVerifyAttrs?.
globalScope> Global rpmQVSources_e
Reassign to tag values.
globalScope> Global rpmShowProgress (const void *arg, const rpmCallbackType what, const rpm_loff_t amount, const rpm_loff_t total, fnpyKey key, void *data)
Remove headerFormat() from the progress callback.
globalScope> Global rpmSpecParse (const char *specFile, rpmSpecFlags flags, const char *buildRoot)
Eliminate buildRoot from here, its a build, not spec property
globalScope> Global rpmTag
: Somehow supply type
globalScope> Global rpmTag
: Somehow supply type
Class rpmtd_s
Make this opaque (at least outside rpm itself)
globalScope> Global rpmtdDup (rpmtd td)
Only string arrays types are supported currently
Parameters
tdContainer to copy
Returns
New container or NULL on error
globalScope> Global rpmtePkgFileSize (rpmte te)
Signature header is estimated at 256b.
Parameters
tetransaction element
Returns
size in bytes of package file.
globalScope> Global rpmtsImportPubkey (rpmts ts, const unsigned char *pkt, size_t pktlen)
Implicit –update policy for gpg-pubkey headers.
Parameters
tstransaction set
pktpgp pubkey packet(s)
pktlenpgp pubkey length
Returns
RPMRC_OK/RPMRC_FAIL
File rpmtypes.h
The grouping needs love to look sane...
globalScope> Global showQueryPackage (QVA_t qva, rpmts ts, Header h)
Devise a meaningful return code.
Parameters
qvaparsed query/verify options
tstransaction set
hheader to use for query
Returns
0 always