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. .gitignore
  2. LICENSE
  3. Makefile
  4. README
  5. include/
  6. src/