• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDECore

netsupp_win32.cpp

Go to the documentation of this file.
00001 /*
00002  *  This file is part of the KDE libraries
00003  *  Copyright (C) 2000-2003 Thiago Macieira <thiago.macieira@kdemail.net>>
00004  *
00005  *  win32 version of netsupp.cpp
00006  *
00007  *  This library is free software; you can redistribute it and/or
00008  *  modify it under the terms of the GNU Library General Public
00009  *  License as published by the Free Software Foundation; either
00010  *  version 2 of the License, or (at your option) any later version.
00011  *
00012  *  This library is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *  Library General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU Library General Public License
00018  *  along with this library; see the file COPYING.LIB.  If not, write to
00019  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020  *  Boston, MA 02110-1301, USA.
00021  **/
00022 
00023 
00024 #include "netsupp.h"
00025 
00026 KDECORE_EXPORT void kde_freeaddrinfo(struct kde_addrinfo *ai)
00027 {
00028     //TODO
00029 }
00030 
00031 KDECORE_EXPORT int kde_getaddrinfo(const char *name, const char *service,
00032             const struct addrinfo* hint,
00033             struct kde_addrinfo** result)
00034 {
00035     //TODO
00036     int err = EAI_SERVICE;
00037     return err;
00038 }
00039 
00040 KDECORE_EXPORT char *gai_strerror(int errorcode)
00041 {
00042   return 0;
00043 }
00044 int getnameinfo(const struct sockaddr *sa,
00045              unsigned int salen,
00046              char *host, size_t hostlen,
00047              char *serv, size_t servlen,
00048              int flags)
00049 {
00050     //TODO
00051     return -1;
00052 }
00053 
00054 KDECORE_EXPORT const char* inet_ntop(int af, const void *cp, char *buf, size_t len)
00055 {
00056     //TODO
00057     return 0;
00058 }
00059 
00060 KDECORE_EXPORT int inet_pton(int af, const char *cp, void *buf)
00061 {
00062     //TODO
00063     return -1;
00064 }
00065 

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal