diff options
Diffstat (limited to 'src/hello/hello.c')
-rw-r--r-- | src/hello/hello.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c index 9e246d473..6261dcb6b 100644 --- a/src/hello/hello.c +++ b/src/hello/hello.c | |||
@@ -166,7 +166,7 @@ GNUNET_HELLO_add_address (const struct GNUNET_HELLO_Address *address, | |||
166 | */ | 166 | */ |
167 | static size_t | 167 | static size_t |
168 | get_hello_address_size (const char *buf, | 168 | get_hello_address_size (const char *buf, |
169 | size_t max, | 169 | size_t max, |
170 | uint16_t *ralen) | 170 | uint16_t *ralen) |
171 | { | 171 | { |
172 | const char *pos; | 172 | const char *pos; |
@@ -716,9 +716,9 @@ GNUNET_HELLO_get_last_expiration (const struct GNUNET_HELLO_Message *msg) | |||
716 | * maybe differenciated into additional subcategories if applicable. | 716 | * maybe differenciated into additional subcategories if applicable. |
717 | * This module only deals with hello identifiers (MODULE = "hello"). | 717 | * This module only deals with hello identifiers (MODULE = "hello"). |
718 | * <p> | 718 | * <p> |
719 | * | 719 | * |
720 | * The concrete URI format is: | 720 | * The concrete URI format is: |
721 | * | 721 | * |
722 | * "gnunet://hello/PEER[!YYYYMMDDHHMMSS!<TYPE>!<ADDRESS>]...". | 722 | * "gnunet://hello/PEER[!YYYYMMDDHHMMSS!<TYPE>!<ADDRESS>]...". |
723 | * These URIs can be used to add a peer record to peerinfo service. | 723 | * These URIs can be used to add a peer record to peerinfo service. |
724 | * PEER is the string representation of peer's public key. | 724 | * PEER is the string representation of peer's public key. |
@@ -726,29 +726,29 @@ GNUNET_HELLO_get_last_expiration (const struct GNUNET_HELLO_Message *msg) | |||
726 | * TYPE is a transport type. | 726 | * TYPE is a transport type. |
727 | * ADDRESS is the address, its format depends upon the transport type. | 727 | * ADDRESS is the address, its format depends upon the transport type. |
728 | * The concrete transport types and corresponding address formats are: | 728 | * The concrete transport types and corresponding address formats are: |
729 | * | 729 | * |
730 | * <ul><li> | 730 | * <ul><li> |
731 | * | 731 | * |
732 | * <TCP|UDP>!IPADDRESS | 732 | * <TCP|UDP>!IPADDRESS |
733 | * IPVDDRESS is either IPV4 .-delimited address in form of XXX.XXX.XXX.XXX:PPPPP | 733 | * IPVDDRESS is either IPV4 .-delimited address in form of XXX.XXX.XXX.XXX:PPPPP |
734 | * or IPV6 :-delimited address, but with '(' and ')' instead of '[' and ']' (RFC2396 advises against using square brackets in URIs): | 734 | * or IPV6 :-delimited address, but with '(' and ')' instead of '[' and ']' (RFC2396 advises against using square brackets in URIs): |
735 | * (XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX):PPPPP | 735 | * (XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX):PPPPP |
736 | * PPPPP is the port number. May be 0. | 736 | * PPPPP is the port number. May be 0. |
737 | * | 737 | * |
738 | * </li><li> | 738 | * </li><li> |
739 | * | 739 | * |
740 | * [add SMTP, HTTP and other addresses here] | 740 | * [add SMTP, HTTP and other addresses here] |
741 | * | 741 | * |
742 | * </li></ul> | 742 | * </li></ul> |
743 | * | 743 | * |
744 | * The encoding for hexadecimal values is defined in the crypto_hash.c | 744 | * The encoding for hexadecimal values is defined in the crypto_hash.c |
745 | * module in the gnunetutil library and discussed there. | 745 | * module in the gnunetutil library and discussed there. |
746 | * | 746 | * |
747 | * Examples: | 747 | * Examples: |
748 | * | 748 | * |
749 | * gnunet://hello/0430205UC7D56PTQK8NV05776671CNN44FK4TL6D0GQ35OMF8MEN4RNMKA5UF6AL3DQO8B1SC5AQF50SQ2MABIRU4HC8H2HAJKJ59JL1JVRJAK308F9GASRFLMGUBB5TQ5AKR94AS5T3MDG8B9O1EMPRKB0HVCG7T6QPP4CDJ913LAEHVJ2DI1TOBB15Q1JIT5ARBOD12U4SIGRFDV3Q7T66G4TBVSJJ90UQF1BG29TGJJKLGEIMSPHHKO544D6EALQ4F2K0416311JC22GVAD48R616I7VK03K7MP7N0RS2MBV1TE9JV8CK1LSQMR7KCDRTLDA6917UGA67DHTGHERIACCGQ54TGSR48RMSGS9BA5HLMOKASFC1I6V4TT09TUGCU8GNDHQF0JF3H7LPV59UL5I38QID040G000!20120302010059!TCP!192.168.0.1:2086!TCP!64.23.8.174:0 | 749 | * gnunet://hello/0430205UC7D56PTQK8NV05776671CNN44FK4TL6D0GQ35OMF8MEN4RNMKA5UF6AL3DQO8B1SC5AQF50SQ2MABIRU4HC8H2HAJKJ59JL1JVRJAK308F9GASRFLMGUBB5TQ5AKR94AS5T3MDG8B9O1EMPRKB0HVCG7T6QPP4CDJ913LAEHVJ2DI1TOBB15Q1JIT5ARBOD12U4SIGRFDV3Q7T66G4TBVSJJ90UQF1BG29TGJJKLGEIMSPHHKO544D6EALQ4F2K0416311JC22GVAD48R616I7VK03K7MP7N0RS2MBV1TE9JV8CK1LSQMR7KCDRTLDA6917UGA67DHTGHERIACCGQ54TGSR48RMSGS9BA5HLMOKASFC1I6V4TT09TUGCU8GNDHQF0JF3H7LPV59UL5I38QID040G000!20120302010059!TCP!192.168.0.1:2086!TCP!64.23.8.174:0 |
750 | * gnunet://hello/0430205UC7D56PTQK8NV05776671CNN44FK4TL6D0GQ35OMF8MEN4RNMKA5UF6AL3DQO8B1SC5AQF50SQ2MABIRU4HC8H2HAJKJ59JL1JVRJAK308F9GASRFLMGUBB5TQ5AKR94AS5T3MDG8B9O1EMPRKB0HVCG7T6QPP4CDJ913LAEHVJ2DI1TOBB15Q1JIT5ARBOD12U4SIGRFDV3Q7T66G4TBVSJJ90UQF1BG29TGJJKLGEIMSPHHKO544D6EALQ4F2K0416311JC22GVAD48R616I7VK03K7MP7N0RS2MBV1TE9JV8CK1LSQMR7KCDRTLDA6917UGA67DHTGHERIACCGQ54TGSR48RMSGS9BA5HLMOKASFC1I6V4TT09TUGCU8GNDHQF0JF3H7LPV59UL5I38QID040G000!20120302010059!TCP!(2001:db8:85a3:8d3:1319:8a2e:370:7348):2086 | 750 | * gnunet://hello/0430205UC7D56PTQK8NV05776671CNN44FK4TL6D0GQ35OMF8MEN4RNMKA5UF6AL3DQO8B1SC5AQF50SQ2MABIRU4HC8H2HAJKJ59JL1JVRJAK308F9GASRFLMGUBB5TQ5AKR94AS5T3MDG8B9O1EMPRKB0HVCG7T6QPP4CDJ913LAEHVJ2DI1TOBB15Q1JIT5ARBOD12U4SIGRFDV3Q7T66G4TBVSJJ90UQF1BG29TGJJKLGEIMSPHHKO544D6EALQ4F2K0416311JC22GVAD48R616I7VK03K7MP7N0RS2MBV1TE9JV8CK1LSQMR7KCDRTLDA6917UGA67DHTGHERIACCGQ54TGSR48RMSGS9BA5HLMOKASFC1I6V4TT09TUGCU8GNDHQF0JF3H7LPV59UL5I38QID040G000!20120302010059!TCP!(2001:db8:85a3:8d3:1319:8a2e:370:7348):2086 |
751 | * | 751 | * |
752 | * <p> | 752 | * <p> |
753 | */ | 753 | */ |
754 | 754 | ||