gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8944 - in GNUnet/src: applications/dhtlog_mysql include


From: gnunet
Subject: [GNUnet-SVN] r8944 - in GNUnet/src: applications/dhtlog_mysql include
Date: Fri, 4 Sep 2009 16:34:52 -0600

Author: nevans
Date: 2009-09-04 16:34:51 -0600 (Fri, 04 Sep 2009)
New Revision: 8944

Modified:
   GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c
   GNUnet/src/include/gnunet_dhtlog_service.h
Log:
dhtlog change for added configuration options

Modified: GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c
===================================================================
--- GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c 2009-09-04 22:33:21 UTC 
(rev 8943)
+++ GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c 2009-09-04 22:34:51 UTC 
(rev 8944)
@@ -61,8 +61,8 @@
                           "VALUES (?, ?, ?)"
 static struct GNUNET_MysqlStatementHandle *insert_node;
 
-#define INSERT_TRIALS_STMT "INSERT INTO trials (starttime, numnodes, topology, 
topology_modifier, logNMultiplier, puts, gets, concurrent, settle_time, 
num_rounds, malicious_getters, malicious_putters, malicious_droppers, message) 
"\
-                          "VALUES (NOW(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 
?)"
+#define INSERT_TRIALS_STMT "INSERT INTO trials (starttime, numnodes, topology, 
topology_modifier, logNMultiplier, puts, gets, concurrent, settle_time, 
num_rounds, malicious_getters, malicious_putters, malicious_droppers, 
maxnetbps, message) "\
+                          "VALUES (NOW(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 
?, ?)"
 static struct GNUNET_MysqlStatementHandle *insert_trial;
 
 #define INSERT_DHTKEY_STMT "INSERT INTO dhtkeys (dhtkey, trialuid, keybits) "\
@@ -241,7 +241,7 @@
            float topology_modifier, float logNMultiplier,
            int puts, int gets, int concurrent, int settle_time,
            int num_rounds, int malicious_getters, int malicious_putters,
-           int malicious_droppers, char *message)
+           int malicious_droppers, int maxnetbps, char *message)
 {
   int ret;
   unsigned long long m_len;
@@ -283,6 +283,9 @@
                                                   MYSQL_TYPE_LONG,
                                                   &malicious_droppers,
                                                   GNUNET_YES,
+                                                  MYSQL_TYPE_LONG,
+                                                  &maxnetbps,
+                                                  GNUNET_YES,
                                                   MYSQL_TYPE_BLOB,
                                                   message,
                                                   max_varchar_len +

Modified: GNUnet/src/include/gnunet_dhtlog_service.h
===================================================================
--- GNUnet/src/include/gnunet_dhtlog_service.h  2009-09-04 22:33:21 UTC (rev 
8943)
+++ GNUnet/src/include/gnunet_dhtlog_service.h  2009-09-04 22:34:51 UTC (rev 
8944)
@@ -86,7 +86,7 @@
                        float logNMultiplier, int puts, int gets,
                        int concurrent, int settle_time, int num_rounds,
                        int malicious_getters, int malicious_putters,
-                       int malicious_droppers, char *message);
+                       int malicious_droppers, int maxnetbps, char *message);
 
   /*
    * Update the trial information with the ending time and dropped message 
stats





reply via email to

[Prev in Thread] Current Thread [Next in Thread]