aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-14 19:14:29 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-14 19:14:29 +0000
commita0c99073d863b08a2b0a495de8c2e1ffadbce9ff (patch)
tree887e9bd867e15626cb05b580ca0b4094adf11fa9 /src
parenta5184889af69b61e0b46030d774c6002ecd65108 (diff)
downloadgnunet-a0c99073d863b08a2b0a495de8c2e1ffadbce9ff.tar.gz
gnunet-a0c99073d863b08a2b0a495de8c2e1ffadbce9ff.zip
fixing doxygen comments
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_nat_lib.h2
-rw-r--r--src/include/gnunet_scheduler_lib.h8
-rw-r--r--src/nat/nat.c2
-rw-r--r--src/nat/upnp.c1
-rw-r--r--src/upnp/upnp.c2
5 files changed, 8 insertions, 7 deletions
diff --git a/src/include/gnunet_nat_lib.h b/src/include/gnunet_nat_lib.h
index f03dc3dda..43861ddf7 100644
--- a/src/include/gnunet_nat_lib.h
+++ b/src/include/gnunet_nat_lib.h
@@ -70,7 +70,7 @@ struct GNUNET_NAT_Handle;
70 70
71/** 71/**
72 * Attempt to enable port redirection and detect public IP address contacting 72 * Attempt to enable port redirection and detect public IP address contacting
73 * UPnP or NAT-PMP routers on the local network. Use @addr to specify to which 73 * UPnP or NAT-PMP routers on the local network. Use addr to specify to which
74 * of the local host's addresses should the external port be mapped. The port 74 * of the local host's addresses should the external port be mapped. The port
75 * is taken from the corresponding sockaddr_in[6] field. 75 * is taken from the corresponding sockaddr_in[6] field.
76 * 76 *
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h
index 283d46dab..9ba4399ad 100644
--- a/src/include/gnunet_scheduler_lib.h
+++ b/src/include/gnunet_scheduler_lib.h
@@ -271,14 +271,14 @@ void *GNUNET_SCHEDULER_cancel (struct GNUNET_SCHEDULER_Handle *sched,
271 * and the reason code can be specified. 271 * and the reason code can be specified.
272 * 272 *
273 * @param sched scheduler to use 273 * @param sched scheduler to use
274 * @param main main function of the task 274 * @param task main function of the task
275 * @param cls closure of task 275 * @param task_cls closure of task
276 * @param reason reason for task invocation 276 * @param reason reason for task invocation
277 */ 277 */
278void 278void
279GNUNET_SCHEDULER_add_continuation (struct GNUNET_SCHEDULER_Handle *sched, 279GNUNET_SCHEDULER_add_continuation (struct GNUNET_SCHEDULER_Handle *sched,
280 GNUNET_SCHEDULER_Task main, 280 GNUNET_SCHEDULER_Task task,
281 void *cls, 281 void *task_cls,
282 enum GNUNET_SCHEDULER_Reason reason); 282 enum GNUNET_SCHEDULER_Reason reason);
283 283
284 284
diff --git a/src/nat/nat.c b/src/nat/nat.c
index 5f69a515a..e7c16d44e 100644
--- a/src/nat/nat.c
+++ b/src/nat/nat.c
@@ -110,7 +110,7 @@ get_traversal_status (const struct GNUNET_NAT_Handle * s)
110/** 110/**
111 * Compare the sin(6)_addr fields of AF_INET or AF_INET(6) sockaddr. 111 * Compare the sin(6)_addr fields of AF_INET or AF_INET(6) sockaddr.
112 * @param a first sockaddr 112 * @param a first sockaddr
113 * @param second sockaddr 113 * @param b second sockaddr
114 * @returns 0 if addresses are equal, non-null value otherwise */ 114 * @returns 0 if addresses are equal, non-null value otherwise */
115int 115int
116GNUNET_NAT_cmp_addr (const struct sockaddr *a, const struct sockaddr *b) 116GNUNET_NAT_cmp_addr (const struct sockaddr *a, const struct sockaddr *b)
diff --git a/src/nat/upnp.c b/src/nat/upnp.c
index e8a5f1afc..003d6e06a 100644
--- a/src/nat/upnp.c
+++ b/src/nat/upnp.c
@@ -128,6 +128,7 @@ GNUNET_NAT_UPNP_close (GNUNET_NAT_UPNP_Handle * handle)
128 * 128 *
129 * @param handle the handle for UPnP object 129 * @param handle the handle for UPnP object
130 * @param is_enabled whether enable port redirection 130 * @param is_enabled whether enable port redirection
131 * @param doPortCheck FIXME
131 * @param ext_addr pointer for returning external IP address. 132 * @param ext_addr pointer for returning external IP address.
132 * Will be set to NULL if address could not be found. Don't free the sockaddr. 133 * Will be set to NULL if address could not be found. Don't free the sockaddr.
133 */ 134 */
diff --git a/src/upnp/upnp.c b/src/upnp/upnp.c
index 8b4937cea..5e15b12b4 100644
--- a/src/upnp/upnp.c
+++ b/src/upnp/upnp.c
@@ -1,5 +1,5 @@
1/** 1/**
2 * @file upnp.c UPnP Implementation 2 * @file upnp/upnp.c UPnP Implementation
3 * @ingroup core 3 * @ingroup core
4 * 4 *
5 * gaim 5 * gaim