libqmi: Build functionality of qrbs into qmidev.

The functionality that qrbs offer is annoyingly separate from the qmidev
object.  This patch gets rid of the separate object, moves the criteria
and callback into the arguments to qmidev_listen, and uses the return
value of the callback to implement persistence.

BUG=chromium-os:27299
TEST=test program still works

Change-Id: Ifca97090424209af0d96e31a6c939fc8743cfbe1
6 files changed
tree: bc3ef40522f8e432c40cd6747a6e213f59e0b5ca
  1. include/
  2. src/
  3. .gitignore
  4. LICENSE
  5. Makefile
  6. README