Add phonebook_req_cancel function prototype to cancel pending request to backend. --- plugins/phonebook.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/plugins/phonebook.h b/plugins/phonebook.h index d7cfa46..7ae5ccc 100644 --- a/plugins/phonebook.h +++ b/plugins/phonebook.h @@ -107,3 +107,9 @@ int phonebook_get_entry(const char *folder, const char *id, */ int phonebook_create_cache(const char *name, phonebook_entry_cb entry_cb, phonebook_cache_ready_cb ready_cb, void *user_data); + +/* + * Function used to cancel pending request to backend and free resources + * allocated for phonebook request structure. + */ +void phonebook_req_cancel(void *request); -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html