diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-28 22:35:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-28 22:35:57 +0100 |
commit | fb124841605dabe843f4d5713e58a516ddc84d48 (patch) | |
tree | 9a6b126fcba5a36547045e7a1f50cb7dcf2753eb | |
parent | 1466048e4d19a198a33d1f224dbb5a25fa42b9c2 (diff) | |
download | exchange-fb124841605dabe843f4d5713e58a516ddc84d48.tar.gz exchange-fb124841605dabe843f4d5713e58a516ddc84d48.zip |
update docu
-rw-r--r-- | src/mint/mint_db.c | 9 | ||||
-rw-r--r-- | src/mint/mint_db.h | 4 | ||||
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 4 | ||||
-rw-r--r-- | src/mint/taler-mint-httpd_db.h | 2 |
4 files changed, 14 insertions, 5 deletions
diff --git a/src/mint/mint_db.c b/src/mint/mint_db.c index dcde03dc1..b23a5b65f 100644 --- a/src/mint/mint_db.c +++ b/src/mint/mint_db.c | |||
@@ -15,8 +15,15 @@ | |||
15 | */ | 15 | */ |
16 | /** | 16 | /** |
17 | * @file mint_db.c | 17 | * @file mint_db.c |
18 | * @brief Database access for the mint | 18 | * @brief Low-level (statement-level) database access for the mint |
19 | * @author Florian Dold | 19 | * @author Florian Dold |
20 | * @author Christian Grothoff | ||
21 | * | ||
22 | * TODO: | ||
23 | * - The mint_db.h-API should ideally be what we need to port | ||
24 | * when using other databases; so here we should enable | ||
25 | * alternative implementations by returning | ||
26 | * a more opaque DB handle. | ||
20 | */ | 27 | */ |
21 | #include "platform.h" | 28 | #include "platform.h" |
22 | #include "db_pq.h" | 29 | #include "db_pq.h" |
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h index 6e1fb4753..01fd737bd 100644 --- a/src/mint/mint_db.h +++ b/src/mint/mint_db.h | |||
@@ -13,11 +13,11 @@ | |||
13 | You should have received a copy of the GNU General Public License along with | 13 | You should have received a copy of the GNU General Public License along with |
14 | TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> | 14 | TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> |
15 | */ | 15 | */ |
16 | |||
17 | /** | 16 | /** |
18 | * @file mint/mint_db.h | 17 | * @file mint/mint_db.h |
19 | * @brief Mint-specific database access | 18 | * @brief Low-level (statement-level) database access for the mint |
20 | * @author Florian Dold | 19 | * @author Florian Dold |
20 | * @author Christian Grothoff | ||
21 | */ | 21 | */ |
22 | 22 | ||
23 | #ifndef _NEURO_MINT_DB_H | 23 | #ifndef _NEURO_MINT_DB_H |
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 6dffbcd63..7e9dde849 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c | |||
@@ -15,11 +15,13 @@ | |||
15 | */ | 15 | */ |
16 | /** | 16 | /** |
17 | * @file taler-mint-httpd_db.c | 17 | * @file taler-mint-httpd_db.c |
18 | * @brief Database access abstraction for the mint. | 18 | * @brief High-level (transactional-layer) database operations for the mint. |
19 | * @author Christian Grothoff | 19 | * @author Christian Grothoff |
20 | * | 20 | * |
21 | * TODO: | 21 | * TODO: |
22 | * - actually abstract DB implementation (i.e. via plugin logic) | 22 | * - actually abstract DB implementation (i.e. via plugin logic) |
23 | * (this file should remain largely unchanged with the exception | ||
24 | * of the PQ-specific DB handle types) | ||
23 | * - /deposit: properly check existing deposits | 25 | * - /deposit: properly check existing deposits |
24 | * - /deposit: properly perform commit (check return value) | 26 | * - /deposit: properly perform commit (check return value) |
25 | * - /deposit: check for leaks | 27 | * - /deposit: check for leaks |
diff --git a/src/mint/taler-mint-httpd_db.h b/src/mint/taler-mint-httpd_db.h index a5c195317..54d2aab34 100644 --- a/src/mint/taler-mint-httpd_db.h +++ b/src/mint/taler-mint-httpd_db.h | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | /** | 16 | /** |
17 | * @file mint/taler-mint_httpd_db.h | 17 | * @file mint/taler-mint_httpd_db.h |
18 | * @brief Mint-specific database access | 18 | * @brief High-level (transactional-layer) database operations for the mint |
19 | * @author Chrisitan Grothoff | 19 | * @author Chrisitan Grothoff |
20 | */ | 20 | */ |
21 | #ifndef TALER_MINT_HTTPD_DB_H | 21 | #ifndef TALER_MINT_HTTPD_DB_H |