diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-14 07:11:13 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-14 07:11:13 +0000 |
commit | 7e1a12e25b39cbd78569547054f576c1bce478b2 (patch) | |
tree | 050410119b7a70d5615e3f33db81f65b94a22030 /doc | |
parent | f1c528c2196d1bf1cc3a662a157ee0a0ffc15fbb (diff) | |
parent | 3eca7d41eafd7d2f3bf000c6df221e913fe6ff23 (diff) |
Merge branch 'master' of gnunet.org:gnunet
Diffstat (limited to 'doc')
-rw-r--r-- | doc/documentation/tutorial-examples/005.c | 5 | ||||
-rw-r--r-- | doc/man/gnunet-zoneimport.1 | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/doc/documentation/tutorial-examples/005.c b/doc/documentation/tutorial-examples/005.c index 0c459f509d..1b59f85a6b 100644 --- a/doc/documentation/tutorial-examples/005.c +++ b/doc/documentation/tutorial-examples/005.c @@ -2,7 +2,8 @@ struct GNUNET_MQ_Envelope *env; struct GNUNET_MessageHeader *msg; env = GNUNET_MQ_msg_extra (msg, payload_size, GNUNET_MY_MESSAGE_TYPE); -memcpy (&msg[1], &payload, payload_size); +GNUNET_memcpy (&msg[1], + &payload, + payload_size); // Send message via message queue 'mq' GNUNET_mq_send (mq, env); - diff --git a/doc/man/gnunet-zoneimport.1 b/doc/man/gnunet-zoneimport.1 index bcfa7b734b..cf76b86eed 100644 --- a/doc/man/gnunet-zoneimport.1 +++ b/doc/man/gnunet-zoneimport.1 @@ -48,6 +48,14 @@ Use the configuration file FILENAME. .IP "\-h, \-\-help" Print short help on options. .B +.IP "\-m RELATIVETIME, \-\-minimum-expiration=RELATIVETIME" +.B +Ensure that imported DNS records never have an expiration time that +is less than RELATIVETIME into the future. RELATIVETIME is a time +given like "1 week" or "1 h". If DNS returns records with a shorter +lifetime, gnunet\-zoneimport will simply bump the lifetime to the +specified value (relative to the time of the import). Default is zero. + .IP "\-s MAPSIZE, \-\-size=MAPSIZE" Specifies the size (in number of entries) to use for the main hash map. The value provided should be at least twice the number of domain |