otaupdaterClient.h
Go to the documentation of this file.
29 void getVersion(dpyOtaupdater::versionlist_handler_function handler, std::vector<std::string> packages = {""});
30 void getRemoteVersions(dpyOtaupdater::remoteversionlist_handler_function handler, std::vector<std::string> packages = {});
32 void upgrade(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
33 void install(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
34 void uninstall(dpyOtaupdater::result_handler_function handler, std::vector<std::string> packages = {""});
40 void addChannel(dpyOtaupdater::result_handler_function handler, std::string name, dpyOtaupdater::Channel channel);
boost::function< void(boost::system::error_code error_code, std::vector< std::pair< std::string, std::string >> &updatesList)> remoteversionlist_handler_function
Handler for GetRemoteVersions function callback.
Definition: otaupdaterApi.h:127
boost::function< void(boost::system::error_code error_code, std::vector< std::pair< std::string, Channel >> &channelList)> channels_handler_function
Handler for getchannels function callback.
Definition: otaupdaterApi.h:120
boost::function< void(boost::system::error_code error_code)> result_handler_function
Handler for command function callback.
Definition: otaupdaterApi.h:111
Definition: otaupdaterApi.h:27
boost::function< void(boost::system::error_code error_code, int status, int rfsstatus)> status_handler_function
Handler for status function callback.
Definition: otaupdaterApi.h:89
boost::function< void(boost::system::error_code error_code, int operation, int percentage)> operation_percentage_handler_function
Handler for operation percentage function callback.
Definition: otaupdaterApi.h:137
boost::function< void(boost::system::error_code error_code, std::map< std::string, std::pair< std::string, std::string >> &versionList)> versionlist_handler_function
Handler for getVersions function callback.
Definition: otaupdaterApi.h:103
boost::function< void(boost::system::error_code error_code, std::vector< std::pair< std::string, std::string >> &updatesList)> updateslist_handler_function
Handler for getUpdates function callback.
Definition: otaupdaterApi.h:96