Clarified comments.
authorPekka Riikonen <priikone@silcnet.org>
Thu, 31 Oct 2002 21:29:29 +0000 (21:29 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 31 Oct 2002 21:29:29 +0000 (21:29 +0000)
lib/silcutil/silcnet.h
lib/silcutil/silcutil.h

index 164990985633dee78ab5686c91e27540489b58c2..26e00454ae149e28e654cbfead85ae3638a8573c 100644 (file)
@@ -400,7 +400,8 @@ SilcUInt16 silc_net_get_local_port(int sock);
  *
  *    Return name of localhost.  This will also attempt to resolve
  *    the real hostname by the local host's IP address.  If unsuccessful
- *    the first found hostname is returned.
+ *    the first found hostname is returned.  The caller must free
+ *    returned hostname.
  *
  ***/
 char *silc_net_localhost(void);
@@ -413,7 +414,7 @@ char *silc_net_localhost(void);
  *
  * DESCRIPTION
  *
- *    Return IP of localhost.  
+ *    Return IP of localhost.  The caller must free the returned IP.
  *
  ***/
 char *silc_net_localip(void);
index c06fa9c73a94f22d223812e6791fc344c8411c02..9a3429bede4c2ebc59ba23ebde0b3048e947f715 100644 (file)
@@ -550,7 +550,8 @@ int silc_string_match(const char *string1, const char *string2);
  * DESCRIPTION
  *
  *    Returns the username of the user. If the global variable LOGNAME
- *    does not exists we will get the name from the passwd file.
+ *    does not exists we will get the name from the passwd file.  The
+ *    caller must free the returned name.
  *
  *    This function is system dependant.
  *
@@ -565,7 +566,8 @@ char *silc_get_username();
  *
  * DESCRIPTION
  *
- *    Returns the real name of ther user from the passwd file.
+ *    Returns the real name of ther user from the passwd file.  The
+ *    caller must free the returned name.
  *
  *    This function is system dependant.
  *