session: Add callback helpers
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 19 Mar 2013 12:46:28 +0000 (13:46 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 25 Mar 2013 11:17:57 +0000 (13:17 +0200)
commita0b5c505ec9e42811bfe3b398b7b074cd7aab355
tree3d607d971a7a10e8ddeeb487cb067c90bebc45a2
parent4b8c92a7423ddc8e5c306e631f9025092f109284
session: Add callback helpers

There is a common pattern when writing a callback function. Let's
add a few helper for this.

It is added to session.h because apart from the core also
the session_policy_local.c will make use of it.

This is shamelessly stolen from oFono.
include/session.h