summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* implement session stat commandPatrick Venture2019-05-064-0/+45
| | | | | | | Implement the session stat command. Change-Id: I1ff715dd32d963722182db84b475bc9adbfcc7ea Signed-off-by: Patrick Venture <venture@google.com>
* blob_handler: fprintf tweakPatrick Venture2019-03-151-1/+1
| | | | | | | | [src/ipmiblob/blob_handler.cpp:141]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. Change-Id: I8e695a4656d47abe80396e1929b62b86421e761d Signed-off-by: Patrick Venture <venture@google.com>
* ipmi_errors: object cleanupPatrick Venture2019-03-151-14/+14
| | | | | | | | Cleanup the object to use a function to generate a constructor parameter instead of a constructor body. Change-Id: Ib9c9aea86212c67c1949d78e4105d6727557168b Signed-off-by: Patrick Venture <venture@google.com>
* install crc_mock headerPatrick Venture2019-03-072-0/+29
| | | | | | | | Install the crc_mock header for use in unit-tests in projects leveraging this implementation of CRC. Change-Id: Ia84caedb51e125ff3b051f93470990e44ff2540d Signed-off-by: Patrick Venture <venture@google.com>
* install crc headerPatrick Venture2019-03-071-1/+1
| | | | | | | | Originally, the CRC implementation was internal this library, however now it's going to be used by phosphor-ipmi-blobs. Change-Id: I7d528de1e593f791468b2cc7477a6c16ede2c43a Signed-off-by: Patrick Venture <venture@google.com>
* test header: s/host_tool/ipmiblob/Patrick Venture2019-03-071-6/+4
| | | | | | | Fixup the namespace for the mock. Change-Id: Id533f89fb8f2489895b749e9b864da419984cb37 Signed-off-by: Patrick Venture <venture@google.com>
* install blob_interface_mock headerPatrick Venture2019-03-072-0/+28
| | | | | | | | To enable unit-tests that deal with this library's objects, install the blob_interface_mock header. Change-Id: I230c9195c1c14a61c8b6bc838bb0a17ab8798053 Signed-off-by: Patrick Venture <venture@google.com>
* move internal namespace under ipmiblob namespacePatrick Venture2019-03-072-0/+6
| | | | | | | | | Avoid collisions if anyone else has this class under their own internal namespace by properly wrapping this internal namespace under the library's. Change-Id: I935c017cc109f12b339f4c65258ee43a03b3a3d5 Signed-off-by: Patrick Venture <venture@google.com>
* Makefile: add blob_errors to installed headersPatrick Venture2019-03-071-0/+1
| | | | | | | | | Add blob_errors.hpp to installed headers because code that uses this library will need to know the exceptions produced by it. Note: This was left out on accident. Change-Id: Id5da55b2e3c967481ea24442ada7232e15c97c36 Signed-off-by: Patrick Venture <venture@google.com>
* namespace: s/host_tool/ipmiblob/gPatrick Venture2019-03-0611-22/+22
| | | | | | | Renamed the namespace to encapsulate the library. Change-Id: I3deb82df5cf6916c505b57864e22a412542c9b6c Signed-off-by: Patrick Venture <venture@google.com>
* initial commitPatrick Venture2019-03-0615-0/+1064
Add initial code from phosphor-ipmi-flash/tools that was not specific to firmware update over ipmi-blobs. Change-Id: I360537a7392347fe989397a699f6a712bc36e62c Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud