source: trunk/third/libsoup/libsoup/soup-dns.h @ 21108

Revision 21108, 873 bytes checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21107, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*
3 * Copyright (C) 2000-2003, Ximian, Inc.
4 */
5
6#ifndef SOUP_DNS_H
7#define SOUP_DNS_H
8
9#include <glib.h>
10#include <sys/types.h>
11#include <sys/socket.h>
12#include <netdb.h>
13
14typedef struct SoupDNSEntry SoupDNSEntry;
15
16SoupDNSEntry   *soup_dns_entry_from_name     (const char     *name);
17SoupDNSEntry   *soup_dns_entry_from_addr     (gconstpointer   addr,
18                                              int             family);
19
20gboolean        soup_dns_entry_check_lookup  (SoupDNSEntry   *entry);
21void            soup_dns_entry_cancel_lookup (SoupDNSEntry   *entry);
22
23struct hostent *soup_dns_entry_get_hostent   (SoupDNSEntry   *entry);
24void            soup_dns_free_hostent        (struct hostent *h);
25
26char           *soup_dns_ntop                (gconstpointer   addr,
27                                              int             family);
28
29#endif /* SOUP_DNS_H */
Note: See TracBrowser for help on using the repository browser.