Commit cd16876b authored by Pekka Pessi's avatar Pekka Pessi

Update documents.

darcs-hash:20060328100824-88462-36d9c5ee7bc98b46a367fe27468833f3d413db78.gz
parent 3fe54d91
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
......
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
......@@ -22,14 +22,14 @@
*
*/
/**@CFILE sresolv.c
* @brief Sofia Asynchronous DNS Resolver implementation.
/**@CFILE sres.c
* @brief Sofia DNS Resolver implementation.
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
* @author Teemu Jalava <Teemu.Jalava@nokia.com>
* @author Mikko Haataja <ext-Mikko.A.Haataja@nokia.com>
* @author Mikko Haataja
*
* @todo The resolver should allow handling arbitrary records.
* @todo The resolver should allow handling arbitrary records, too.
*/
#include "config.h"
......@@ -42,6 +42,10 @@
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
#include <time.h>
#include "sofia-resolv/sres.h"
......
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
......@@ -22,10 +22,11 @@
*
*/
/**@CFILE sres_sync.c
* @brief Synchronous interface for Sofia DNS Resolver implementation.
/**@CFILE sres_blocking.c
* @brief Blocking interface for Sofia DNS Resolver implementation.
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
* @date Created: Fri Mar 24 15:23:08 EET 2006 ppessi
*/
#include "config.h"
......@@ -38,6 +39,10 @@
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
typedef struct sres_blocking_s sres_blocking_t;
typedef struct sres_blocking_context_s sres_blocking_context_t;
......@@ -50,7 +55,7 @@ typedef struct sres_blocking_context_s sres_blocking_context_t;
#if HAVE_POLL
#include <poll.h>
#elif HAVE_SELECT
#elif HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
......
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
/**@CFILE sres_cache.c
* @brief Cache for Sofia DNS Resolver.
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
* @author Teemu Jalava <Teemu.Jalava@nokia.com>
* @author Mikko Haataja
*
* @todo The resolver should allow handling arbitrary records, too.
*/
#include "config.h"
#if HAVE_STDINT_H
......@@ -8,15 +42,17 @@
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <sofia-sip/su.h>
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
#include "sofia-resolv/sres_cache.h"
#include "sofia-resolv/sres_record.h"
#include <sofia-sip/su_alloc.h>
#include <sofia-sip/su_strlst.h>
#include "sofia-sip/htable.h"
#include <sofia-sip/htable.h>
#include <stdlib.h>
#include <stdarg.h>
......@@ -372,4 +408,3 @@ void sres_cache_clean(sres_cache_t *cache, time_t now)
}
HTABLE_BODIES(sres_htable, ht, sres_rr_hash_entry_t, SRES_HENTRY_HASH);
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
/**@CFILE sresolv.c
* @brief Sofia DNS Resolver interface using su_root_t.
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
* @author Teemu Jalava <Teemu.Jalava@nokia.com>
* @author Mikko Haataja
*
* @todo The resolver should allow handling arbitrary records, too.
*/
#include "config.h"
#define SU_TIMER_ARG_T struct sres_sofia_s
......
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
......@@ -26,7 +26,7 @@
*
* @CFILE test_sresolv.c Test module for sresolv
*
* @author Mikko Haataja <ext-Mikko.A.Haataja@nokia.com>,
* @author Mikko Haataja
* @author Pekka Pessi <Pekka.Pessi@nokia.com>.
*
*/
......@@ -42,8 +42,13 @@
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
#include <sofia-resolv/sres.h>
#include <sofia-resolv/sres_async.h>
#include <sofia-resolv/sres_record.h>
#include <sofia-sip/su_alloc.h>
......@@ -60,7 +65,7 @@
#if HAVE_POLL
#include <poll.h>
#elif HAVE_SELECT
#elif HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment