aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-25 12:52:12 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-25 12:52:12 +0200
commit45532e7bc19a2a73ad6da6502969c536d6831436 (patch)
treeea7dea0ae4bbe406b12903c7fca2f4af9eb05d0f /src/pq/pq.h
parent47d691ee2dcba940a9de6b95866c2da9c579ce94 (diff)
downloadgnunet-45532e7bc19a2a73ad6da6502969c536d6831436.tar.gz
gnunet-45532e7bc19a2a73ad6da6502969c536d6831436.zip
further simplify libgnunetpq event API and implementation, also trigger events on 'loopback' that are not socket-activated
Diffstat (limited to 'src/pq/pq.h')
-rw-r--r--src/pq/pq.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/pq/pq.h b/src/pq/pq.h
index 950d38220..d10931d99 100644
--- a/src/pq/pq.h
+++ b/src/pq/pq.h
@@ -73,11 +73,6 @@ struct GNUNET_PQ_Context
73 * File descriptor wrapper for @e event_task. 73 * File descriptor wrapper for @e event_task.
74 */ 74 */
75 struct GNUNET_NETWORK_Handle *rfd; 75 struct GNUNET_NETWORK_Handle *rfd;
76
77 /**
78 * Is scheduling via the GNUnet scheduler desired?
79 */
80 bool scheduler_on;
81}; 76};
82 77
83 78
@@ -93,22 +88,4 @@ GNUNET_PQ_event_reconnect_ (struct GNUNET_PQ_Context *db,
93 int fd); 88 int fd);
94 89
95 90
96/**
97 * Run poll event loop using the GNUnet scheduler.
98 *
99 * @param db database handle
100 */
101void
102GNUNET_PQ_event_scheduler_start_ (struct GNUNET_PQ_Context *db);
103
104
105/**
106 * Stop running poll event loop using the GNUnet scheduler.
107 *
108 * @param db database handle
109 */
110void
111GNUNET_PQ_event_scheduler_stop_ (struct GNUNET_PQ_Context *db);
112
113
114#endif 91#endif