annotate tests/test-netinet_in.c @ 8438:238942284e2f

Allow the use of a destructor for the values stored in the list.
author Bruno Haible <bruno@clisp.org>
date Fri, 16 Mar 2007 00:30:06 +0000 (2007-03-16)
parents 0f6f05a61238
children bbbbbf4cd1c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8173
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Test of <netinet/in.h> substitute.
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 2007 Free Software Foundation, Inc.
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 2, or (at your option)
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 any later version.
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 along with this program; if not, write to the Free Software Foundation,
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 /* Written by Bruno Haible <bruno@clisp.org>, 2007. */
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 #include <config.h>
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 #include <netinet/in.h>
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 int
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 main ()
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 {
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 return 0;
0f6f05a61238 Tests of module 'netinet_in'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 }