aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/p2p/p2p.h')
-rw-r--r--src/p2p/p2p.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h
index 6e3f232..fe98f5e 100644
--- a/src/p2p/p2p.h
+++ b/src/p2p/p2p.h
@@ -1616,11 +1616,18 @@ int p2p_in_progress(struct p2p_data *p2p);
#ifdef ANDROID_P2P
/**
- * p2p_in_progress - Check whether a P2P SEARCH is in progress
+ * p2p_search_in_progress - Check whether a P2P SEARCH is in progress
* @p2p: P2P module context from p2p_init()
* Returns: 0 if P2P module is idle or 1 if an operation is in progress
*/
int p2p_search_in_progress(struct p2p_data *p2p);
+
+/**
+ * p2p_search_pending - Check whether there is a deferred P2P SEARCH
+ * @p2p: P2P module context from p2p_init()
+ * Returns: 0 if there is no deferred P2P search or 1 if there is one
+ */
+int p2p_search_pending(struct p2p_data *p2p);
#endif
/**