diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-23 13:10:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-23 13:10:07 +0100 |
commit | 28a4f4e5d78df67ccae80e1cf21a69227bf48f96 (patch) | |
tree | 8986d1183a2487f18602dd8dea4f7e0f2a619a47 /src/include/gnunet_pq_lib.h | |
parent | bf175e5d2785033528128909457e382cb1929165 (diff) | |
download | gnunet-28a4f4e5d78df67ccae80e1cf21a69227bf48f96.tar.gz gnunet-28a4f4e5d78df67ccae80e1cf21a69227bf48f96.zip |
add function to compute channel name for notifications
Diffstat (limited to 'src/include/gnunet_pq_lib.h')
-rw-r--r-- | src/include/gnunet_pq_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h index 4ea286b9f..550ba5eee 100644 --- a/src/include/gnunet_pq_lib.h +++ b/src/include/gnunet_pq_lib.h | |||
@@ -1140,6 +1140,17 @@ GNUNET_PQ_event_notify (struct GNUNET_PQ_Context *db, | |||
1140 | 1140 | ||
1141 | 1141 | ||
1142 | /** | 1142 | /** |
1143 | * Compute the channel that one should notify upon | ||
1144 | * for the given event specification. | ||
1145 | * | ||
1146 | * @param es event specification | ||
1147 | * @return channel to notify upon | ||
1148 | */ | ||
1149 | char * | ||
1150 | GNUNET_PG_get_event_notify_channel (const struct GNUNET_DB_EventHeaderP *es); | ||
1151 | |||
1152 | |||
1153 | /** | ||
1143 | * Within the @a db context, run all the SQL files | 1154 | * Within the @a db context, run all the SQL files |
1144 | * from the @a load_path from 0000-9999.sql (as long | 1155 | * from the @a load_path from 0000-9999.sql (as long |
1145 | * as the files exist contiguously). | 1156 | * as the files exist contiguously). |