sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 7f8aa4ae77ba01de45ea323ea4c89065577cac1b
parent 7ae3b90e4a32c7e1fb8149ba47463140733ae532
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 18 Feb 2024 15:41:11 +0100

doxygen fixes

Diffstat:
Msrc/include/sync_database_lib.h | 2+-
Msrc/lib/sync_api_curl_defaults.c | 7+------
Msrc/lib/sync_api_download.c | 15---------------
Msrc/lib/sync_api_upload.c | 7-------
Msrc/sync/sync-httpd_backup.h | 2+-
Msrc/sync/sync-httpd_backup_post.c | 10----------
Msrc/sync/sync-httpd_config.c | 13+------------
Msrc/sync/sync-httpd_config.h | 2+-
Msrc/sync/sync-httpd_mhd.c | 22----------------------
Msrc/syncdb/plugin_syncdb_postgres.c | 2+-
Msrc/syncdb/sync-dbinit.c | 2+-
Msrc/syncdb/sync_db_plugin.c | 11-----------
Msrc/testing/testing_api_cmd_backup_download.c | 2+-
Msrc/testing/testing_api_cmd_backup_upload.c | 2+-
Msrc/testing/testing_api_helpers.c | 2+-
Msrc/util/sync-config.c | 2+-
16 files changed, 11 insertions(+), 92 deletions(-)

diff --git a/src/include/sync_database_lib.h b/src/include/sync_database_lib.h @@ -35,7 +35,7 @@ SYNC_DB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg); /** * Shutdown the plugin. * - * @param plugin plugin to unload + * @param[in] plugin plugin to unload */ void SYNC_DB_plugin_unload (struct SYNC_DatabasePlugin *plugin); diff --git a/src/lib/sync_api_curl_defaults.c b/src/lib/sync_api_curl_defaults.c @@ -23,12 +23,7 @@ #include <taler/taler_curl_lib.h> #include "sync_api_curl_defaults.h" -/** - * Get a curl handle with the right defaults - * for the sync lib. - * - * @param url URL to query - */ + CURL * SYNC_curl_easy_get_ (const char *url) { diff --git a/src/lib/sync_api_download.c b/src/lib/sync_api_download.c @@ -247,16 +247,6 @@ handle_header (char *buffer, } -/** - * Download the latest version of a backup for account @a pub. - * - * @param ctx for HTTP client request processing - * @param base_url base URL of the Sync server - * @param pub account public key - * @param cb function to call with the backup - * @param cb_cls closure for @a cb - * @return handle for the operation - */ struct SYNC_DownloadOperation * SYNC_download (struct GNUNET_CURL_Context *ctx, const char *base_url, @@ -300,11 +290,6 @@ SYNC_download (struct GNUNET_CURL_Context *ctx, } -/** - * Cancel the download. - * - * @param do operation to cancel. - */ void SYNC_download_cancel (struct SYNC_DownloadOperation *download) { diff --git a/src/lib/sync_api_upload.c b/src/lib/sync_api_upload.c @@ -423,13 +423,6 @@ SYNC_upload (struct GNUNET_CURL_Context *ctx, } -/** - * Cancel the upload. Note that aborting an upload does NOT guarantee - * that it did not complete, it is possible that the server did - * receive the full request before the upload is aborted. - * - * @param uo operation to cancel. - */ void SYNC_upload_cancel (struct SYNC_UploadOperation *uo) { diff --git a/src/sync/sync-httpd_backup.h b/src/sync/sync-httpd_backup.h @@ -14,7 +14,7 @@ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ /** - * @file sync-httpd_policy.h + * @file sync-httpd_backup.h * @brief functions to handle incoming requests on /backup/ * @author Christian Grothoff */ diff --git a/src/sync/sync-httpd_backup_post.c b/src/sync/sync-httpd_backup_post.c @@ -682,16 +682,6 @@ handle_database_error (struct BackupContext *bc, } -/** - * Handle a client POSTing a backup to us. - * - * @param connection the MHD connection to handle - * @param[in,out] connection_cls the connection's closure (can be updated) - * @param account public key of the account the request is for - * @param upload_data upload data - * @param[in,out] upload_data_size number of bytes (left) in @a upload_data - * @return MHD result code - */ MHD_RESULT SH_backup_post (struct MHD_Connection *connection, void **con_cls, diff --git a/src/sync/sync-httpd_config.c b/src/sync/sync-httpd_config.c @@ -14,7 +14,7 @@ Sync; see the file COPYING.GPL. If not, see <http://www.gnu.org/licenses/> */ /** - * @file backend/sync-httpd_config.c + * @file sync/sync-httpd_config.c * @brief headers for /config handler * @author Christian Grothoff */ @@ -31,17 +31,6 @@ * to be created */ -/** - * Manages a /config call. - * - * @param rh context of the handler - * @param connection the MHD connection to handle - * @param[in,out] connection_cls the connection's closure (can be updated) - * @param upload_data upload data - * @param[in,out] upload_data_size number of bytes (left) in @a upload_data - * @param mi merchant backend instance, never NULL - * @return MHD result code - */ MHD_RESULT SH_handler_config (struct SH_RequestHandler *rh, struct MHD_Connection *connection, diff --git a/src/sync/sync-httpd_config.h b/src/sync/sync-httpd_config.h @@ -14,7 +14,7 @@ Sync; see the file COPYING.GPL. If not, see <http://www.gnu.org/licenses/> */ /** - * @file backend/sync-httpd_config.h + * @file sync/sync-httpd_config.h * @brief headers for /config handler * @author Christian Grothoff */ diff --git a/src/sync/sync-httpd_mhd.c b/src/sync/sync-httpd_mhd.c @@ -27,17 +27,6 @@ #include "sync-httpd_mhd.h" -/** - * Function to call to handle the request by sending - * back static data from the @a rh. - * - * @param rh context of the handler - * @param connection the MHD connection to handle - * @param[in,out] connection_cls the connection's closure (can be updated) - * @param upload_data upload data - * @param[in,out] upload_data_size number of bytes (left) in @a upload_data - * @return MHD result code - */ MHD_RESULT SH_MHD_handler_static_response (struct SH_RequestHandler *rh, struct MHD_Connection *connection, @@ -58,17 +47,6 @@ SH_MHD_handler_static_response (struct SH_RequestHandler *rh, } -/** - * Function to call to handle the request by sending - * back a redirect to the AGPL source code. - * - * @param rh context of the handler - * @param connection the MHD connection to handle - * @param[in,out] connection_cls the connection's closure (can be updated) - * @param upload_data upload data - * @param[in,out] upload_data_size number of bytes (left) in @a upload_data - * @return MHD result code - */ MHD_RESULT SH_MHD_handler_agpl_redirect (struct SH_RequestHandler *rh, struct MHD_Connection *connection, diff --git a/src/syncdb/plugin_syncdb_postgres.c b/src/syncdb/plugin_syncdb_postgres.c @@ -14,7 +14,7 @@ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ /** - * @file sync/plugin_syncdb_postgres.c + * @file syncdb/plugin_syncdb_postgres.c * @brief database helper functions for postgres used by sync * @author Christian Grothoff */ diff --git a/src/syncdb/sync-dbinit.c b/src/syncdb/sync-dbinit.c @@ -14,7 +14,7 @@ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ /** - * @file util/sync-dbinit.c + * @file syncdb/sync-dbinit.c * @brief Create tables for the sync database. * @author Christian Grothoff */ diff --git a/src/syncdb/sync_db_plugin.c b/src/syncdb/sync_db_plugin.c @@ -24,12 +24,6 @@ #include <ltdl.h> -/** - * Initialize the plugin. - * - * @param cfg configuration to use - * @return NULL on failure - */ struct SYNC_DatabasePlugin * SYNC_DB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg) { @@ -62,11 +56,6 @@ SYNC_DB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg) } -/** - * Shutdown the plugin. - * - * @param plugin the plugin to unload - */ void SYNC_DB_plugin_unload (struct SYNC_DatabasePlugin *plugin) { diff --git a/src/testing/testing_api_cmd_backup_download.c b/src/testing/testing_api_cmd_backup_download.c @@ -17,7 +17,7 @@ <http://www.gnu.org/licenses/> */ /** - * @file lib/testing_api_cmd_backup_download.c + * @file testing/testing_api_cmd_backup_download.c * @brief command to download data to the sync backend service. * @author Christian Grothoff */ diff --git a/src/testing/testing_api_cmd_backup_upload.c b/src/testing/testing_api_cmd_backup_upload.c @@ -17,7 +17,7 @@ <http://www.gnu.org/licenses/> */ /** - * @file lib/testing_api_cmd_backup_upload.c + * @file testing/testing_api_cmd_backup_upload.c * @brief command to upload data to the sync backend service. * @author Christian Grothoff */ diff --git a/src/testing/testing_api_helpers.c b/src/testing/testing_api_helpers.c @@ -17,7 +17,7 @@ <http://www.gnu.org/licenses/> */ /** - * @file lib/testing_api_helpers.c + * @file testing/testing_api_helpers.c * @brief helper functions for test library. * @author Christian Grothoff * @author Marcello Stanisci diff --git a/src/util/sync-config.c b/src/util/sync-config.c @@ -19,7 +19,7 @@ */ /** - * @file util/taler-config.c + * @file util/sync-config.c * @brief tool to access and manipulate Taler configuration files * @author Christian Grothoff */