From a0c99073d863b08a2b0a495de8c2e1ffadbce9ff Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 14 Nov 2009 19:14:29 +0000 Subject: [PATCH] fixing doxygen comments --- src/include/gnunet_nat_lib.h | 2 +- src/include/gnunet_scheduler_lib.h | 8 ++++---- src/nat/nat.c | 2 +- src/nat/upnp.c | 1 + src/upnp/upnp.c | 2 +- 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; /** * Attempt to enable port redirection and detect public IP address contacting - * UPnP or NAT-PMP routers on the local network. Use @addr to specify to which + * UPnP or NAT-PMP routers on the local network. Use addr to specify to which * of the local host's addresses should the external port be mapped. The port * is taken from the corresponding sockaddr_in[6] field. * 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, * and the reason code can be specified. * * @param sched scheduler to use - * @param main main function of the task - * @param cls closure of task + * @param task main function of the task + * @param task_cls closure of task * @param reason reason for task invocation */ void GNUNET_SCHEDULER_add_continuation (struct GNUNET_SCHEDULER_Handle *sched, - GNUNET_SCHEDULER_Task main, - void *cls, + GNUNET_SCHEDULER_Task task, + void *task_cls, enum GNUNET_SCHEDULER_Reason reason); 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) /** * Compare the sin(6)_addr fields of AF_INET or AF_INET(6) sockaddr. * @param a first sockaddr - * @param second sockaddr + * @param b second sockaddr * @returns 0 if addresses are equal, non-null value otherwise */ int GNUNET_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) * * @param handle the handle for UPnP object * @param is_enabled whether enable port redirection + * @param doPortCheck FIXME * @param ext_addr pointer for returning external IP address. * Will be set to NULL if address could not be found. Don't free the sockaddr. */ 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 @@ /** - * @file upnp.c UPnP Implementation + * @file upnp/upnp.c UPnP Implementation * @ingroup core * * gaim -- 2.25.1