From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5766523347065446880==" MIME-Version: 1.0 From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis Subject: [RFC v5 09/12] include: add set/get data APIs to emulator Date: Thu, 26 Apr 2012 16:27:01 +0200 Message-ID: <1335450424-19964-10-git-send-email-frederic.danis@linux.intel.com> In-Reply-To: <1335450424-19964-1-git-send-email-frederic.danis@linux.intel.com> List-Id: To: ofono@ofono.org --===============5766523347065446880== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- include/emulator.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/emulator.h b/include/emulator.h index 5cd894b..6dc1938 100644 --- a/include/emulator.h +++ b/include/emulator.h @@ -74,6 +74,11 @@ void ofono_emulator_register(struct ofono_emulator *em, = int fd); = void ofono_emulator_remove(struct ofono_emulator *em); = +void ofono_emulator_set_data(struct ofono_emulator *em, void *data, + ofono_destroy_func destroy); + +void *ofono_emulator_get_data(struct ofono_emulator *em); + void ofono_emulator_send_final(struct ofono_emulator *em, const struct ofono_error *final); void ofono_emulator_send_unsolicited(struct ofono_emulator *em, -- = 1.7.1 --===============5766523347065446880==--