diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-25 12:52:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-25 12:52:12 +0200 |
commit | 45532e7bc19a2a73ad6da6502969c536d6831436 (patch) | |
tree | ea7dea0ae4bbe406b12903c7fca2f4af9eb05d0f /src/pq/pq.h | |
parent | 47d691ee2dcba940a9de6b95866c2da9c579ce94 (diff) | |
download | gnunet-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.h | 23 |
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 | */ | ||
101 | void | ||
102 | GNUNET_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 | */ | ||
110 | void | ||
111 | GNUNET_PQ_event_scheduler_stop_ (struct GNUNET_PQ_Context *db); | ||
112 | |||
113 | |||
114 | #endif | 91 | #endif |