[hipl-commit] [trunk] Rev 4020: Updated doxygen for test/conntest-client-opp.c

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 18 Mar 2010 20:30:19 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: 18/03/2010 at 20:30:19
Revision: 4020
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Updated doxygen for test/conntest-client-opp.c

Modified:
  M  test/conntest-client-opp.c

=== modified file 'test/conntest-client-opp.c'
--- test/conntest-client-opp.c  2010-03-09 18:26:22 +0000
+++ test/conntest-client-opp.c  2010-03-18 18:30:18 +0000
@@ -1,7 +1,13 @@
-/*
- * Echo STDIN to a selected machine via tcp or udp using ipv6. Use this
- * with conntest-server.
- *
+/**
+ * @file
+ *
+ * Distributed under <a href="http://www.gnu.org/licenses/gpl2.txt";>GNU/GPL</a>
+ *
+ * Connection testing client similar to conntest-client-hip. When the code
+ * is configured with --enable-opportunistic, this code is linked to the
+ * opportunistic mode library and, hence, uses the opportunistic mode.
+ *
+ * @author Miika Komu <miika@xxxxxx>
  */
 
 /* required for s6_addr32 */
@@ -25,6 +31,13 @@
 #include "lib/core/ife.h"
 #include "conntest.h"
 
+/**
+ * Main function.
+ *
+ * @param argc command line argument count.
+ * @param argv command line arguments.
+ * @return zero on success or non-zero on failure
+ */
 int main(int argc, char *argv[])
 {
     int socktype, i, err = 0;

Other related posts:

  • » [hipl-commit] [trunk] Rev 4020: Updated doxygen for test/conntest-client-opp.c - Miika Komu