diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-28 16:11:32 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-28 16:11:32 +0100 |
commit | 7373b4bf797355d67651e0d4ecc59c7cf5a433f3 (patch) | |
tree | 03761a446c269782f948295402b7addfbb4f54d9 /src | |
parent | 472856b00dd596cba47c5026317a8c88226b74c8 (diff) | |
download | wolfbones-7373b4bf797355d67651e0d4ecc59c7cf5a433f3.tar.gz wolfbones-7373b4bf797355d67651e0d4ecc59c7cf5a433f3.tar.bz2 |
started to add getaddrinfo and netdb port stub
Diffstat (limited to 'src')
-rw-r--r-- | src/GNUmakefile | 3 | ||||
-rw-r--r-- | src/port/netdb.c | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index 6f77b92..ea2e754 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -12,7 +12,8 @@ PORT_OBJS = \ port/stdio.o \ port/stdlib.o \ port/time.o \ - port/gettext.o + port/gettext.o \ + port/netdb.o LOG_OBJS = \ log/log.o diff --git a/src/port/netdb.c b/src/port/netdb.c new file mode 100644 index 0000000..3995c5a --- /dev/null +++ b/src/port/netdb.c @@ -0,0 +1,25 @@ +/* + Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "port/netdb.h" + +#if !defined HAVE_GETADDRINFO || defined TEST_GETADDRINFO + +void wolf_port_getaddrinfo( void ) { +} + +#endif /* !defined HAVE_GETADDRINFO || defined TEST_GETADDRINFO */ |