diff options
Diffstat (limited to 'src/include/gnunet_postgres_lib.h')
-rw-r--r-- | src/include/gnunet_postgres_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_postgres_lib.h b/src/include/gnunet_postgres_lib.h index 8f7204748..183105cd7 100644 --- a/src/include/gnunet_postgres_lib.h +++ b/src/include/gnunet_postgres_lib.h | |||
@@ -46,7 +46,7 @@ extern "C" | |||
46 | * @param ret return value from database operation to check | 46 | * @param ret return value from database operation to check |
47 | * @param expected_status desired status | 47 | * @param expected_status desired status |
48 | * @param command description of the command that was run | 48 | * @param command description of the command that was run |
49 | * @param args arguments given to the command | 49 | * @param args arguments given to the command |
50 | * @param filename name of the source file where the command was run | 50 | * @param filename name of the source file where the command was run |
51 | * @param line line number in the source file | 51 | * @param line line number in the source file |
52 | * @return GNUNET_OK if the result is acceptable | 52 | * @return GNUNET_OK if the result is acceptable |
@@ -66,7 +66,7 @@ GNUNET_POSTGRES_check_result_ (PGconn *dbh, PGresult * ret, int expected_status, | |||
66 | * @param ret return value from database operation to check | 66 | * @param ret return value from database operation to check |
67 | * @param expected_status desired status | 67 | * @param expected_status desired status |
68 | * @param command description of the command that was run | 68 | * @param command description of the command that was run |
69 | * @param args arguments given to the command | 69 | * @param args arguments given to the command |
70 | * @return GNUNET_OK if the result is acceptable | 70 | * @return GNUNET_OK if the result is acceptable |
71 | */ | 71 | */ |
72 | #define GNUNET_POSTGRES_check_result(dbh,ret,expected_status,command,args) GNUNET_POSTGRES_check_result_(dbh,ret,expected_status,command,args,__FILE__,__LINE__) | 72 | #define GNUNET_POSTGRES_check_result(dbh,ret,expected_status,command,args) GNUNET_POSTGRES_check_result_(dbh,ret,expected_status,command,args,__FILE__,__LINE__) |
@@ -78,7 +78,7 @@ GNUNET_POSTGRES_check_result_ (PGconn *dbh, PGresult * ret, int expected_status, | |||
78 | * @param dbh database handle | 78 | * @param dbh database handle |
79 | * @param sql statement to run | 79 | * @param sql statement to run |
80 | * @param filename filename for error reporting | 80 | * @param filename filename for error reporting |
81 | * @param line code line for error reporting | 81 | * @param line code line for error reporting |
82 | * @return GNUNET_OK on success | 82 | * @return GNUNET_OK on success |
83 | */ | 83 | */ |
84 | int | 84 | int |