diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-01 23:08:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-01 23:08:36 +0200 |
commit | ddb61a66435cd154f5a4d8e39b9a3c3a0530cc2b (patch) | |
tree | 522ce8be2e228b393f6a7f99678cfd8a42179993 | |
parent | c7581b1d2ecfe7823fbf3f08803f5d40c4a83f85 (diff) |
-doxygen fixes
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 24 | ||||
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 24 |
2 files changed, 6 insertions, 42 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 0cb2149a..1eccc12b 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -156,16 +156,10 @@ postgres_create_tables (void *cls) /** * Register callback to be invoked on events of type @a es. * - * Unlike many other calls, this function is thread-safe - * and may be called from threads that are different - * from the one that setup @a db. However, the @a cb - * will always be called from the thread that runs - * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler. - * - * @param db database context to use + * @param cls database context to use * @param es specification of the event to listen for * @param cb function to call when the event happens, possibly - * multiple times (until #GNUNET_PQ_event_listen_cancel() is invoked) + * multiple times (until cancel is invoked) * @param cb_cls closure for @a cb * @return handle useful to cancel the listener */ @@ -187,12 +181,6 @@ postgres_event_listen (void *cls, /** * Stop notifications. * - * Unlike many other calls, this function is thread-safe - * and may be called from threads that are different - * from the one that setup @a db. However, the @a cb - * will always be called from the thread that runs - * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler. - * * @param eh handle to unregister. */ static void @@ -205,13 +193,7 @@ postgres_event_listen_cancel (struct GNUNET_DB_EventHandler *eh) /** * Notify all that listen on @a es of an event. * - * Unlike many other calls, this function is thread-safe - * and may be called from threads that are different - * from the one that setup @a db. However, the @a cb - * will always be called from the thread that runs - * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler. - * - * @param db database context to use + * @param cls database context to use * @param es specification of the event to generate * @param extra additional event data provided * @param extra_size number of bytes in @a extra diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index d5c4e9b1..d54cafa3 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -719,16 +719,10 @@ struct TALER_MERCHANTDB_Plugin /** * Register callback to be invoked on events of type @a es. * - * Unlike many other calls, this function is thread-safe - * and may be called from threads that are different - * from the one that setup @a db. However, the @a cb - * will always be called from the thread that runs - * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler. - * - * @param db database context to use + * @param cls database context to use * @param es specification of the event to listen for * @param cb function to call when the event happens, possibly - * multiple times (until #GNUNET_PQ_event_listen_cancel() is invoked) + * multiple times (until cancel is invoked) * @param cb_cls closure for @a cb * @return handle useful to cancel the listener */ @@ -741,12 +735,6 @@ struct TALER_MERCHANTDB_Plugin /** * Stop notifications. * - * Unlike many other calls, this function is thread-safe - * and may be called from threads that are different - * from the one that setup @a db. However, the @a cb - * will always be called from the thread that runs - * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler. - * * @param eh handle to unregister. */ void @@ -756,13 +744,7 @@ struct TALER_MERCHANTDB_Plugin /** * Notify all that listen on @a es of an event. * - * Unlike many other calls, this function is thread-safe - * and may be called from threads that are different - * from the one that setup @a db. However, the @a cb - * will always be called from the thread that runs - * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler. - * - * @param db database context to use + * @param cls database context to use * @param es specification of the event to generate * @param extra additional event data provided * @param extra_size number of bytes in @a extra |