diff options
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r-- | src/include/gnunet_time_lib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h index 93e6cd00f..482ae52d8 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -368,7 +368,7 @@ GNUNET_TIME_absolute_get_remaining (struct GNUNET_TIME_Absolute future); | |||
368 | */ | 368 | */ |
369 | struct GNUNET_TIME_Relative | 369 | struct GNUNET_TIME_Relative |
370 | GNUNET_TIME_calculate_eta (struct GNUNET_TIME_Absolute start, | 370 | GNUNET_TIME_calculate_eta (struct GNUNET_TIME_Absolute start, |
371 | uint64_t finished, | 371 | uint64_t finished, |
372 | uint64_t total); | 372 | uint64_t total); |
373 | 373 | ||
374 | 374 | ||
@@ -579,15 +579,15 @@ struct GNUNET_CONFIGURATION_Handle; | |||
579 | * increasing. Guards against systems without an RTC or | 579 | * increasing. Guards against systems without an RTC or |
580 | * clocks running backwards and other nasty surprises. Does | 580 | * clocks running backwards and other nasty surprises. Does |
581 | * not guarantee that the returned time is near the current | 581 | * not guarantee that the returned time is near the current |
582 | * time returned by #GNUNET_TIME_absolute_get(). Two | 582 | * time returned by #GNUNET_TIME_absolute_get(). Two |
583 | * subsequent calls (within a short time period) may return the | 583 | * subsequent calls (within a short time period) may return the |
584 | * same value. Persists the last returned time on disk to | 584 | * same value. Persists the last returned time on disk to |
585 | * ensure that time never goes backwards. As a result, the | 585 | * ensure that time never goes backwards. As a result, the |
586 | * resulting value can be used to check if a message is the | 586 | * resulting value can be used to check if a message is the |
587 | * "most recent" value and replays of older messages (from | 587 | * "most recent" value and replays of older messages (from |
588 | * the same origin) would be discarded. | 588 | * the same origin) would be discarded. |
589 | * | 589 | * |
590 | * @param cfg configuration, used to determine where to | 590 | * @param cfg configuration, used to determine where to |
591 | * store the time; user can also insist RTC is working | 591 | * store the time; user can also insist RTC is working |
592 | * nicely and disable the feature | 592 | * nicely and disable the feature |
593 | * @return monotonically increasing time | 593 | * @return monotonically increasing time |