Joined from contiki-1-1 branch
diff --git a/contiki/uip/resolv.c b/contiki/uip/resolv.c
index 63af8ef..f739f62 100644
--- a/contiki/uip/resolv.c
+++ b/contiki/uip/resolv.c
@@ -1,12 +1,17 @@
/**
- * \file
- * DNS host name to IP address resolver.
- * \author Adam Dunkels <adam@dunkels.com>
- *
- * This file implements a DNS host name to IP address resolver. It
- * maintains a list of resolved hostnames that can be queried with the
- * resolv_lookup() function. New hostnames can be resolved using the
- * resolv_query() function.
+ * \addtogroup uip
+ * @{
+ */
+
+/**
+ * \defgroup uipdns uIP hostname resolver functions
+ * @{
+ *
+ * The uIP DNS resolver functions are used to lookup a hostname and
+ * map it to a numerical IP address. It maintains a list of resolved
+ * hostnames that can be queried with the resolv_lookup()
+ * function. New hostnames can be resolved using the resolv_query()
+ * function.
*
* The signal resolv_signal_found is emitted when a hostname has been
* resolved. The signal is emitted to all processes listening for the
@@ -15,6 +20,14 @@
* function with the hostname.
*/
+/**
+ * \file
+ * DNS host name to IP address resolver.
+ * \author Adam Dunkels <adam@dunkels.com>
+ *
+ * This file implements a DNS host name to IP address resolver.
+ */
+
/*
* Copyright (c) 2002-2003, Adam Dunkels.
* All rights reserved.
@@ -45,7 +58,7 @@
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: resolv.c,v 1.8 2003/09/04 19:38:46 adamdunkels Exp $
+ * $Id: resolv.c,v 1.9 2003/10/01 11:25:37 adamdunkels Exp $
*
*/
@@ -120,10 +133,8 @@
static struct uip_udp_conn *resolv_conn = NULL;
-/**
- * Signal that is sent when a name has been resolved.
- */
-ek_signal_t resolv_signal_found = EK_SIGNAL_NONE;
+ek_signal_t resolv_signal_found;
+
/*-----------------------------------------------------------------------------------*/
/** \internal
@@ -467,3 +478,6 @@
dispatcher_emit(resolv_signal_found, name, DISPATCHER_BROADCAST);
}
/*-----------------------------------------------------------------------------------*/
+
+/** @} */
+/** @} */