diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-15 05:15:41 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-15 05:15:41 +0100 |
commit | e0c9404a62238b06c7c2bc259a83e68ffce77dca (patch) | |
tree | c53c79a3b967fc10c3b3869ac5234cbfa3ef11dc | |
parent | fix packet PACKET_NAME len decoding (diff) | |
download | glouglou-e0c9404a62238b06c7c2bc259a83e68ffce77dca.tar.xz glouglou-e0c9404a62238b06c7c2bc259a83e68ffce77dca.zip |
TODO++, write email about libevent doc mistake
-rw-r--r-- | doc/TODO.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/TODO.txt b/doc/TODO.txt index c647895..3a019fa 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -1,6 +1,23 @@ TODO ==== +=============================================================================== +EMAIL libevent doc mistake ? +To: nickm@alum.mit.edu Cc: provos@citi.umich.edu + +http://www.wangafu.net/~nickm/libevent-book/Ref9_dns.html +The addresses argument to the callback is NULL in the event of an error. For a PTR record, it’s a NUL-terminated string. For IPv4 records, it is an array of four-byte values in network order. For IPv6 records, it is an array of 16-byte records in network order. (Note that the number of addresses can be 0 even if there was no error. This can happen when the name exists, but it has no records of the requested type.) +=> +The addresses argument to the callback is NULL in the event of an error. For a PTR record, it’s pointer to a NUL-terminated string. For IPv4 records, it is an array of four-byte values in network order. For IPv6 records, it is an array of 16-byte records in network order. (Note that the number of addresses can be 0 even if there was no error. This can happen when the name exists, but it has no records of the requested type.) + +http://www.wangafu.net/~nickm/libevent-2.0/doxygen/html/dns_8h.html +addresses needs to be cast according to type. It will be an array of 4-byte sequences for ipv4, or an array of 16-byte sequences for ipv6, or a nul-terminated string for PTR. +=> +addresses needs to be cast according to type. It will be an array of 4-byte sequences for ipv4, or an array of 16-byte sequences for ipv6, or a pointer to a nul-terminated string for PTR. +=============================================================================== + + + gg_map: minimal version using evas, efx and elementary and igraph - http://igraph.sourceforge.net/index.html |