Files
swupd-client/include/swupd-internal.h
T
Brad T. Peters e0be8cf0d3 swupd-client: Add Search Feature
New swupd primary command, offers the ability to
search for the provider of a specified binary or library.

A full complement of bundle manifests for the os-release version
is downloaded to the client prior to conducting any search. This
patch has been designed to enable this download, or staging, to
take place prior and separate from use of the search function.
However, with each search, the manifest complement is checked to
ensure completion.

Overhead:

A check against the Clear Linux 6300 manifest set
shows a search will entail a ONE TIME 83 MB network download
(the compressed manifest set), and a constant decompressed 400MB
usage on disk. Future searches will only require new or modified
manifests be downloaded.

Finally, download size is provided to notify user of expected delay

-----
Ex:
"Downloading manifests. Downloading 83.23 MB..."

Signed-off-by: Brad T. Peters <brad.t.peters@intel.com>
2016-03-07 14:23:01 -08:00

13 lines
439 B
C

#ifndef __INCLUDE_GUARD_SWUPD_INTERNAL_H
#define __INCLUDE_GUARD_SWUPD_INTERNAL_H
extern int bundle_add_main(int argc, char **argv);
extern int bundle_remove_main(int argc, char **argv);
extern int hashdump_main(int argc, char **argv);
extern int update_main(int argc, char **argv);
extern int verify_main(int argc, char **argv);
extern int check_update_main(int argc, char **argv);
extern int search_main(int argc, char **argv);
#endif