summaryrefslogtreecommitdiffstats
path: root/mboxctl.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: Replace license blurb with kernel-style SPDX markersAndrew Jeffery2018-03-241-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was roughly achieved by the following shell script: $ git ls-files | grep '\.[ch]p*$' | while read F; do EXT=${F##*.}; cat spdx.$EXT <(sed '/^\/\*$/,/^ \*\/$/d' $F) > ${F}.tmp; mv ${F}.tmp $F; done With the following context: $ cat spdx.c // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2018 IBM Corp. $ cat spdx.h /* SPDX-License-Identifier: Apache-2.0 */ /* Copyright (C) 2018 IBM Corp. */ $ ls -l spdx.* -rw-r--r-- 1 andrew andrew 71 Feb 27 12:02 spdx.c lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.cpp -> spdx.c -rw-r--r-- 1 andrew andrew 77 Feb 27 12:02 spdx.h lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.hpp -> spdx.h The `sed` invocation catches a lot of function documentation, so the hunks were manually added to avoid removing information that we want to keep. Change-Id: I63e49ca2593aa0db0568c7a63bfdead388642e76 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* version: Update to version 2.1.0Suraj Jitindar Singh2017-05-041-4/+3
| | | | | | | | | | | | | | | | Update to package version V2.1.0 to reflect that a backwards compatible API change was made. This API change was the introduction of the timeout to the GET_MBOX_INFO command. This version update also encompasses previous bug fixes. The versioning scheme is now aligned to semver. Use the version from config.h for both mboxd and mboxctl instead of an independant value for the daemon and control programs. Change-Id: I12d7fe8e40697801594b1727054342613923a784 Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
* mboxctl: Implement mboxctl to facilitate dbus control of the daemonSuraj Jitindar Singh2017-04-111-0/+485
The daemon can now be controlled by issuing commands over dbus. Implement a mailbox control program to facilitate communication with the daemon over dbus. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Change-Id: I2a11f187268d28ce92d3c2592e0021e1ba5588b4
OpenPOWER on IntegriCloud