[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-challenger] branch master updated: -doxygen fixes
From: |
gnunet |
Subject: |
[taler-challenger] branch master updated: -doxygen fixes |
Date: |
Sat, 06 May 2023 22:06:31 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository challenger.
The following commit(s) were added to refs/heads/master by this push:
new e8fbd0b -doxygen fixes
e8fbd0b is described below
commit e8fbd0b18ac4d2cf7fd3211b22cbf24a74d4f005
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat May 6 22:06:28 2023 +0200
-doxygen fixes
---
configure.ac | 1 +
contrib/.gitignore | 1 +
contrib/microhttpd.tag | 30 ++++++++
doc/Makefile.am | 2 +-
doc/doxygen/.gitignore | 3 +
doc/doxygen/Makefile.am | 18 +++++
Doxyfile => doc/doxygen/challenger.doxy | 51 ++++++-------
doc/doxygen/logo.svg | 87 ++++++++++++++++++++++
.../pg_challenge_set_address_and_pin.h | 6 +-
src/challengerdb/pg_login_start.h | 6 +-
src/challengerdb/pg_validate_challenge_open.h | 6 +-
src/challengerdb/pg_validate_login_address.h | 6 +-
src/challengerdb/pg_validate_login_pin.h | 6 +-
src/challengerdb/pg_validate_solve_pin.h | 6 +-
src/challengerdb/pg_validation_get.h | 6 +-
src/include/challenger_database_plugin.h | 24 +++---
16 files changed, 200 insertions(+), 59 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2121303..a262501 100644
--- a/configure.ac
+++ b/configure.ac
@@ -281,6 +281,7 @@ AM_CONDITIONAL([ENABLE_DOC], [true])
AC_CONFIG_FILES([Makefile
contrib/Makefile
doc/Makefile
+doc/doxygen/Makefile
src/Makefile
src/include/Makefile
src/util/Makefile
diff --git a/contrib/.gitignore b/contrib/.gitignore
new file mode 100644
index 0000000..2a542e8
--- /dev/null
+++ b/contrib/.gitignore
@@ -0,0 +1 @@
+challenger.tag
diff --git a/contrib/microhttpd.tag b/contrib/microhttpd.tag
index 8fab93d..0aad1dc 100644
--- a/contrib/microhttpd.tag
+++ b/contrib/microhttpd.tag
@@ -34,6 +34,12 @@
<anchorfile>microhttpd.h</anchorfile>
<arglist></arglist>
</member>
+ <member kind="define">
+ <type>#define</type>
+ <name>MHD_HTTP_NOT_FOUND</name>
+ <anchorfile>microhttpd.h</anchorfile>
+ <arglist></arglist>
+ </member>
<member kind="define">
<type>#define</type>
<name>MHD_HTTP_METHOD_PUT</name>
@@ -52,12 +58,30 @@
<anchorfile>microhttpd.h</anchorfile>
<arglist></arglist>
</member>
+ <member kind="define">
+ <type>#define</type>
+ <name>MHD_POSTDATA_KIND</name>
+ <anchorfile>microhttpd.h</anchorfile>
+ <arglist></arglist>
+ </member>
<member kind="define">
<type>#define</type>
<name>MHD_HTTP_VERSION_1_1</name>
<anchorfile>microhttpd.h</anchorfile>
<arglist></arglist>
</member>
+ <member kind="function">
+ <type>int</type>
+ <name>MHD_run</name>
+ <anchorfile>microhttpd.h</anchorfile>
+ <arglist>(const struct MHD_Daemon *d)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>MHD_get_connection_values</name>
+ <anchorfile>microhttpd.h</anchorfile>
+ <arglist>(...)</arglist>
+ </member>
<member kind="define">
<type>#define</type>
<name>MHD_OPTION_NOTIFY_COMPLETED</name>
@@ -70,5 +94,11 @@
<anchorfile>microhttpd.h</anchorfile>
<arglist>)(void *cls, struct MHD_Connection *connection, const char
*url, const char *method, const char *version, const char *upload_data, size_t
*upload_data_size, void **con_cls)</arglist>
</member>
+ <member kind="typedef">
+ <type>int</type>
+ <name>MHD_RequestCompletedCallback</name>
+ <anchorfile>microhttpd.h</anchorfile>
+ <arglist>)(void *cls, ...)</arglist>
+ </member>
</compound>
</tagfile>
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ae513d0..0101c3b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,6 @@
# This Makefile is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include
-SUBDIRS = .
+SUBDIRS = . doxygen
man_MANS = \
prebuilt/man/challenger-config.1 \
diff --git a/doc/doxygen/.gitignore b/doc/doxygen/.gitignore
new file mode 100644
index 0000000..2c2f64b
--- /dev/null
+++ b/doc/doxygen/.gitignore
@@ -0,0 +1,3 @@
+html/
+taler-exchange.tag
+challenger.tag
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
new file mode 100644
index 0000000..19812e3
--- /dev/null
+++ b/doc/doxygen/Makefile.am
@@ -0,0 +1,18 @@
+# This Makefile.am is in the public domain
+all:
+ @echo -e \
+"Generate documentation:\n" \
+"\tmake full - full documentation with dependency graphs (slow)\n" \
+"\tmake fast - fast mode without dependency graphs"
+
+full: challenger.doxy
+ doxygen $<
+
+fast: challenger.doxy
+ sed 's/\(HAVE_DOT.*=\).*/\1 NO/' $< | doxygen -
+
+clean:
+ rm -rf html
+
+EXTRA_DIST = \
+ challenger.doxy
diff --git a/Doxyfile b/doc/doxygen/challenger.doxy
similarity index 99%
rename from Doxyfile
rename to doc/doxygen/challenger.doxy
index adb227d..93436e7 100644
--- a/Doxyfile
+++ b/doc/doxygen/challenger.doxy
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
-PROJECT_NAME = Challenger
+PROJECT_NAME = "GNU Taler: Challenger"
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
This
# could be handy for archiving the generated documentation or if some version
@@ -51,14 +51,14 @@ PROJECT_BRIEF =
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
# the logo to the output directory.
-PROJECT_LOGO =
+PROJECT_LOGO = logo.svg
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
-OUTPUT_DIRECTORY = doc/doxygen-doc/
+OUTPUT_DIRECTORY = .
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format
and
@@ -170,7 +170,7 @@ FULL_PATH_NAMES = YES
# will be relative from the directory where doxygen is started.
# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-STRIP_FROM_PATH = .
+STRIP_FROM_PATH = ../..
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
# path mentioned in the documentation of a class, which tells the reader which
@@ -179,7 +179,9 @@ STRIP_FROM_PATH = .
# specify the list of include paths that are normally passed to the compiler
# using the -I flag.
-STRIP_FROM_INC_PATH = src/include
+STRIP_FROM_INC_PATH = ../../src/include \
+ src/include \
+ include
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
# less readable) file names. This can be useful is your file systems doesn't
@@ -195,7 +197,7 @@ SHORT_NAMES = NO
# description.)
# The default value is: NO.
-JAVADOC_AUTOBRIEF = NO
+JAVADOC_AUTOBRIEF = YES
# If the JAVADOC_BANNER tag is set to YES then doxygen will interpret a line
# such as
@@ -239,7 +241,7 @@ PYTHON_DOCSTRING = YES
# documentation from any documented member that it re-implements.
# The default value is: YES.
-INHERIT_DOCS = NO
+INHERIT_DOCS = YES
# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a
new
# page for each member. If set to NO, the documentation of a member will be
part
@@ -525,7 +527,7 @@ EXTRACT_LOCAL_CLASSES = NO
# included.
# The default value is: NO.
-EXTRACT_LOCAL_METHODS = YES
+EXTRACT_LOCAL_METHODS = NO
# If this flag is set to YES, the members of anonymous namespaces will be
# extracted and appear in the documentation as a namespace called
@@ -534,7 +536,7 @@ EXTRACT_LOCAL_METHODS = YES
# are hidden.
# The default value is: NO.
-EXTRACT_ANON_NSPACES = NO
+EXTRACT_ANON_NSPACES = YES
# If this flag is set to YES, the name of an unnamed parameter in a declaration
# will be determined by the corresponding definition. By default unnamed
@@ -578,7 +580,7 @@ HIDE_IN_BODY_DOCS = NO
# will be excluded. Set it to YES to include the internal documentation.
# The default value is: NO.
-INTERNAL_DOCS = NO
+INTERNAL_DOCS = YES
# With the correct setting of option CASE_SENSE_NAMES doxygen will better be
# able to match the capabilities of the underlying filesystem. In case the
@@ -640,7 +642,7 @@ INLINE_INFO = YES
# name. If set to NO, the members will appear in declaration order.
# The default value is: YES.
-SORT_MEMBER_DOCS = YES
+SORT_MEMBER_DOCS = NO
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
# descriptions of file, namespace and class members alphabetically by member
@@ -693,26 +695,26 @@ STRICT_PROTO_MATCHING = NO
# list. This list is created by putting \todo commands in the documentation.
# The default value is: YES.
-GENERATE_TODOLIST = NO
+GENERATE_TODOLIST = YES
# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the
test
# list. This list is created by putting \test commands in the documentation.
# The default value is: YES.
-GENERATE_TESTLIST = NO
+GENERATE_TESTLIST = YES
# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
# list. This list is created by putting \bug commands in the documentation.
# The default value is: YES.
-GENERATE_BUGLIST = NO
+GENERATE_BUGLIST = YES
# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
# the deprecated list. This list is created by putting \deprecated commands in
# the documentation.
# The default value is: YES.
-GENERATE_DEPRECATEDLIST= NO
+GENERATE_DEPRECATEDLIST= YES
# The ENABLED_SECTIONS tag can be used to enable conditional documentation
# sections, marked by \if <section_label> ... \endif and \cond <section_label>
@@ -864,7 +866,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
-INPUT = src/
+INPUT = ../../src/
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@@ -1348,7 +1350,7 @@ GENERATE_DOCSET = NO
# The default value is: Doxygen generated docs.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
-DOCSET_FEEDNAME = "Doxygen generated docs"
+DOCSET_FEEDNAME = "GNU Taler Source Documentation"
# This tag specifies a string that should uniquely identify the documentation
# set bundle. This should be a reverse domain-name style string, e.g.
@@ -1356,7 +1358,7 @@ DOCSET_FEEDNAME = "Doxygen generated docs"
# The default value is: org.doxygen.Project.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
-DOCSET_BUNDLE_ID = org.doxygen.Project
+DOCSET_BUNDLE_ID = net.taler.challenger
# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
# the documentation publisher. This should be a reverse domain-name style
@@ -1364,13 +1366,13 @@ DOCSET_BUNDLE_ID = org.doxygen.Project
# The default value is: org.doxygen.Publisher.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
-DOCSET_PUBLISHER_ID = org.doxygen.Publisher
+DOCSET_PUBLISHER_ID = net.taler
# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
# The default value is: Publisher.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
-DOCSET_PUBLISHER_NAME = Publisher
+DOCSET_PUBLISHER_NAME = Taler Systems SA
# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
@@ -1751,7 +1753,7 @@ EXTRA_SEARCH_MAPPINGS =
# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
# The default value is: YES.
-GENERATE_LATEX = YES
+GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If
a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front
of
@@ -2175,7 +2177,7 @@ ENABLE_PREPROCESSING = YES
# The default value is: NO.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-MACRO_EXPANSION = NO
+MACRO_EXPANSION = YES
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
# the macro expansion is limited to the macros specified with the PREDEFINED
and
@@ -2253,14 +2255,13 @@ SKIP_FUNCTION_MACROS = YES
# the path). If a tag file is not located in the directory in which doxygen is
# run, you must also specify the path to the tagfile here.
-TAGFILES = ./contrib/gnunet.tag \
- ./contrib/microhttpd.tag
+TAGFILES = ../../contrib/gnunet.tag ../../contrib/microhttpd.tag
# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
# tag file that is based on the input files it reads. See section "Linking to
# external documentation" for more information about the usage of tag files.
-GENERATE_TAGFILE = contrib/challenger.tag
+GENERATE_TAGFILE = challenger.tag
# If the ALLEXTERNALS tag is set to YES, all external class will be listed in
# the class index. If set to NO, only the inherited external classes will be
diff --git a/doc/doxygen/logo.svg b/doc/doxygen/logo.svg
new file mode 100644
index 0000000..ddb8425
--- /dev/null
+++ b/doc/doxygen/logo.svg
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ viewBox="0 0 180 40"
+ version="1.1"
+ id="svg14"
+ sodipodi:docname="logo-2018-dold.svg"
+ inkscape:version="0.92.2 2405546, 2018-03-11">
+ <metadata
+ id="metadata20">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs18" />
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1916"
+ inkscape:window-height="1041"
+ id="namedview16"
+ showgrid="false"
+ inkscape:zoom="1.8833333"
+ inkscape:cx="91.061947"
+ inkscape:cy="20"
+ inkscape:window-x="0"
+ inkscape:window-y="18"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="text12" />
+ <style
+ id="style2">
+ .ts1 { fill: #aa3939; letter-spacing:0; }
+ .ts2 { letter-spacing:0; }
+ </style>
+ <g
+ aria-label="❬Taler❭"
+ style="color:#ff0000;font-weight:bold;font-size:36px;font-family:'Lucida
Console', Monaco, monospace;letter-spacing:0.2em"
+ id="text12">
+ <path
+ d="M 15.978516,31.285156 H 12.234375 L 5.6953125,18.154297
12.234375,5.0058594 h 3.744141 L 9.4042969,18.154297 Z"
+ style="letter-spacing:0;fill:#aa3939"
+ id="path3725" />
+ <path
+ d="M 35.085937,29 H 29.900391 V 7.2910156 h -6.66211 V 2.7558594 h
18.509766 v 4.5351562 h -6.66211 z"
+ style=""
+ id="path3727" />
+ <path
+ d="m 62.817188,19.753906 q -2.882812,0 -4.02539,0.738281
-1.142578,0.738282 -1.142578,2.53125 0,1.335938 0.791015,2.126954
0.791016,0.791015 2.144531,0.791015 2.039063,0 3.164063,-1.529297
1.125,-1.546875 1.125,-4.30664 v -0.351563 z m 7.171875,-1.986328 V 29 h
-5.115234 v -2.197266 q -0.931641,1.300782 -2.390625,2.003907
-1.458984,0.703125 -3.216797,0.703125 -3.357422,0 -5.238281,-1.775391
-1.863281,-1.775391 -1.863281,-4.957031 0,-3.445313 2.232421,-5.080078
2.232422,-1.652344 6 [...]
+ style=""
+ id="path3729" />
+ <path
+ d="M 86.171486,20.791016 V 5.6035156 H 80.950783 V 1.6484375 H
91.321877 V 20.791016 q 0,2.320312 0.720703,3.287109 0.720703,0.966797
2.443359,0.966797 H 98.59922 V 29 h -5.554687 q -3.673828,0 -5.273438,-1.898438
-1.599609,-1.898437 -1.599609,-6.310546 z"
+ style=""
+ id="path3731" />
+ <path
+ d="m 127.59609,28.033203 q -1.79297,0.738281 -3.65625,1.107422
-1.86328,0.369141 -3.9375,0.369141 -4.93945,0 -7.55859,-2.636719
-2.60156,-2.654297 -2.60156,-7.628906 0,-4.816407 2.51367,-7.611328
2.51367,-2.7949224 6.85547,-2.7949224 4.37695,0 6.78515,2.6015624
2.42578,2.583985 2.42578,7.294922 v 2.091797 h -13.34179 q 0.0176,2.320312
1.37109,3.46289 1.35352,1.142579 4.04297,1.142579 1.77539,0 3.49805,-0.509766
1.72265,-0.509766 3.60351,-1.617188 z m -4.35937,-11.074219 q -0.0352, [...]
+ style=""
+ id="path3733" />
+ <path
+ d="m 157.31367,14.744141 q -0.84375,-0.773438 -1.98632,-1.160157
-1.125,-0.386718 -2.47852,-0.386718 -1.63476,0 -2.86523,0.580078
-1.21289,0.5625 -1.88086,1.652344 -0.42188,0.667968 -0.59766,1.617187
-0.1582,0.949219 -0.1582,2.882812 V 29 h -5.15039 V 9.3125 h 5.15039 v 3.058594
q 0.75586,-1.6875 2.32031,-2.6015627 1.56445,-0.9316407 3.65625,-0.9316407
1.05469,0 2.05664,0.2636719 1.01953,0.2460938 1.93359,0.7382813 z"
+ style="letter-spacing:0"
+ id="path3735" />
+ <path
+ d="m 164.43282,31.285156 6.55664,-13.130859 -6.53907,-13.1484376 h
3.72657 l 6.53906,13.1484376 -6.53906,13.130859 z"
+ style="letter-spacing:0;fill:#aa3939"
+ id="path3737" />
+ </g>
+</svg>
diff --git a/src/challengerdb/pg_challenge_set_address_and_pin.h
b/src/challengerdb/pg_challenge_set_address_and_pin.h
index aa67f2e..fd54c70 100644
--- a/src/challengerdb/pg_challenge_set_address_and_pin.h
+++ b/src/challengerdb/pg_challenge_set_address_and_pin.h
@@ -41,9 +41,9 @@
* @param[out] pin_transmit set to true if we should transmit the @a last_pin
to the @a address
* @param[out] pin_attempts_left set to number of attempts the user has left
on this pin
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the address was changed
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not permit further changes to the
address (attempts exhausted)
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the address was changed
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not permit further changes
to the address (attempts exhausted)
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_challenge_set_address_and_pin (
diff --git a/src/challengerdb/pg_login_start.h
b/src/challengerdb/pg_login_start.h
index 8168b75..c0d3695 100644
--- a/src/challengerdb/pg_login_start.h
+++ b/src/challengerdb/pg_login_start.h
@@ -41,9 +41,9 @@
* @param[out] last_address set to the last address used
* @param[out] address_attempts_left set to number of address changing
attempts left for this address
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the address was changed
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not permit further changes to the
address (attempts exhausted)
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the address was changed
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not permit further changes
to the address (attempts exhausted)
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_login_start (void *cls,
diff --git a/src/challengerdb/pg_validate_challenge_open.h
b/src/challengerdb/pg_validate_challenge_open.h
index ed91ca0..e362b55 100644
--- a/src/challengerdb/pg_validate_challenge_open.h
+++ b/src/challengerdb/pg_validate_challenge_open.h
@@ -33,9 +33,9 @@
* @param nonce unique nonce to use to identify the validation
* @param[out] is_open set to true if a challenge was sent
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the nonce was found
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not know the nonce
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the nonce was found
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not know the nonce
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_validate_challenge_open (void *cls,
diff --git a/src/challengerdb/pg_validate_login_address.h
b/src/challengerdb/pg_validate_login_address.h
index 6aa1be7..732391b 100644
--- a/src/challengerdb/pg_validate_login_address.h
+++ b/src/challengerdb/pg_validate_login_address.h
@@ -42,9 +42,9 @@
* @param[out] last_pin set to the PIN last send to @a address, 0 if never sent
* @param[in,out] pin_attempts_left set to number of PIN transmission attempts
left for this address; input is value to be used if address is new, output is
possibly different if address was not new
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the address was changed
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not permit further changes to the
address (attempts exhausted)
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the address was changed
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not permit further changes
to the address (attempts exhausted)
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_validate_login_address (void *cls,
diff --git a/src/challengerdb/pg_validate_login_pin.h
b/src/challengerdb/pg_validate_login_pin.h
index d56e2ea..003f782 100644
--- a/src/challengerdb/pg_validate_login_pin.h
+++ b/src/challengerdb/pg_validate_login_pin.h
@@ -35,9 +35,9 @@
* @param new_pin the PIN we are sending
* @param auth_attempts_allowed how many attempts do we give to the user to
enter the correct PIN
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the pin was stored
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not know the @a nonce or if pin
attempts left is zero
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the pin was stored
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not know the @a nonce or if
pin attempts left is zero
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_validate_login_pin (void *cls,
diff --git a/src/challengerdb/pg_validate_solve_pin.h
b/src/challengerdb/pg_validate_solve_pin.h
index 2aed4cd..91870d6 100644
--- a/src/challengerdb/pg_validate_solve_pin.h
+++ b/src/challengerdb/pg_validate_solve_pin.h
@@ -34,9 +34,9 @@
* @param new_pin the PIN the user entered
* @param[out] solved set to true if the PIN was correct
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the nonce was found
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not know the nonce
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the nonce was found
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not know the nonce
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_validate_solve_pin (void *cls,
diff --git a/src/challengerdb/pg_validation_get.h
b/src/challengerdb/pg_validation_get.h
index b3ea5ea..c716f1b 100644
--- a/src/challengerdb/pg_validation_get.h
+++ b/src/challengerdb/pg_validation_get.h
@@ -39,9 +39,9 @@
* @param[out] client_state set to client state
* @param[out] client_redirect_url set to client redirect URL
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the nonce was found
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not know the nonce
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the nonce was found
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not know the nonce
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
CH_PG_validation_get (void *cls,
diff --git a/src/include/challenger_database_plugin.h
b/src/include/challenger_database_plugin.h
index 21a3101..1cfa8e7 100644
--- a/src/include/challenger_database_plugin.h
+++ b/src/include/challenger_database_plugin.h
@@ -232,9 +232,9 @@ struct CHALLENGER_DatabasePlugin
* @param[out] last_address set to the last address used
* @param[out] address_attempts_left set to number change address operations
left for this @a nonce
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the address was changed
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not permit further changes to
the address (attempts exhausted)
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the address was changed
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not permit further
changes to the address (attempts exhausted)
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
(*login_start)(void *cls,
@@ -262,9 +262,9 @@ struct CHALLENGER_DatabasePlugin
* @param[out] pin_transmit set to true if we should transmit the @a
last_pin to the @a address
* @param[out] pin_attempts_left set to number of attempts the user has left
on this pin
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the address was changed
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not permit further changes to
the address (attempts exhausted)
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the address was changed
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not permit further
changes to the address (attempts exhausted)
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
(*challenge_set_address_and_pin)(
@@ -286,9 +286,9 @@ struct CHALLENGER_DatabasePlugin
* @param new_pin the PIN the user entered
* @param[out] solved set to true if the PIN was correct
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the nonce was found
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not know the nonce
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the nonce was found
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not know the nonce
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
(*validate_solve_pin)(void *cls,
@@ -310,9 +310,9 @@ struct CHALLENGER_DatabasePlugin
* @param[out] client_state set to client state
* @param[out] client_redirect_url set to client redirect URL
* @return transaction status:
- * #GNUNET_DB_SUCCESS_ONE_RESULT if the nonce was found
- * #GNUNET_DB_SUCCESS_NO_RESULTS if we do not know the nonce
- * #GNUNET_DB_SUCCESS_HARD_ERROR on failure
+ * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if the nonce was found
+ * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if we do not know the nonce
+ * #GNUNET_DB_STATUS_HARD_ERROR on failure
*/
enum GNUNET_DB_QueryStatus
(*validation_get)(void *cls,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.