summaryrefslogtreecommitdiffstats
path: root/libmapper/mapper.h
Commit message (Collapse)AuthorAgeFilesLines
* clang-format updatesMatt Spinler2018-09-191-10/+12
| | | | | | | | Pick up latest clang-format from the docs repo and rerun with clang-format-6.0 Change-Id: I2f0411bb01d78f096563d63b197ce12daf43bcbd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* clang-format this repoEd Tanous2018-05-301-7/+5
| | | | | | | | Use the proper-clang-format file on this repository as required by the openbmc documentation. Change-Id: I4f1e0d707388605f1e818dfdc647533a335e5f2d Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Create libmapper subtree function and call it in event loopAdriana Kobylak2017-05-111-0/+8
| | | | | | | | | | | Call a new mapper subtree interface in an event loop. Create an enum to specify the mapper action, in this case wait for an interface to be removed. This allows to later add other operations like wait for an interface to be added since the logic would be different. Change-Id: I8330852d47185c3c4e40e994c6e4719054a9fc06 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Revert "Add mapper-wait-until-removed"Adriana Kobylak2017-05-041-3/+1
| | | | | | | | | | | | This reverts commit 9f4c3c7c408a5f84a52416da99d0dd8035f1ae5a. After further design discussions, the new wait until removed implementation should be a new API. Reverting this change to put back the original wait interfaces since new ones will be created instead of modifying the existing ones. Change-Id: I605439dcb24c6dca7f394325afc6587eacf417f1 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Revert "wait-until-removed: Add Interface parameter"Adriana Kobylak2017-05-041-1/+1
| | | | | | | | | | This reverts commit e4d6c79030ad7b7638d0fc5ea09cf13afe224cda. The commit had incomplete changes, reverting it since the implementation is changing per feedback from code reviews. Change-Id: Ia99b9ae57cda805d419f3ed0e326c09154335051 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* wait-until-removed: Add Interface parameterAdriana Kobylak2017-04-231-1/+1
| | | | | | | | | | | | | | The additional interface parameter can be a string (ex. "intf" "obj1"), or be in a single string with the obj parameter (ex. "intf obj1 obj2..."). The latter is used when passing the parameters from a systemd unit. The wait-until-removed option will block until the requested interface is not present in the specified dbus object. Change-Id: Ia935af5721e2aec8c271eff483cff9c3a1f1fa24 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add mapper-wait-until-removedAdriana Kobylak2017-04-211-1/+3
| | | | | | | | | This option will do the opposite of mapper wait by blocking if a dbus object exists until that object is removed. Change-Id: Ia460b1ffdb912ba475b15ae5f8499a177e801dfd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* sdbus client: add retriesBrad Bishop2016-09-201-1/+3
| | | | | | | Handle busy responses from the server with retries. Change-Id: I8c13faddec1bfaffe702609f2e682e8b1181946d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* mapper-cli: rewrite with sdbusBrad Bishop2016-08-161-0/+5
| | | | | | | | There are too many instances of the wait/call applications spawned during BMC startup. Re-write using sdbus. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ia6fb3b74cb70f93cfd5cc57c1a8b7a9aa2d944c4
* Introducing libmapperBrad Bishop2016-07-271-0/+9
libmapper is a convenience library for sdbus applications that interact with the phosphor object manager. Change-Id: I5a638e0a313d575591055214cb3ac5701b730ae5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud