/***************************************************************************
                            qt_QDns.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QDNS
#define QT_QDNS

#include <qtc/qtc_types.h>

#define QDNS_None	0
#define QDNS_A	1
#define QDNS_Aaaa	2
#define QDNS_Mx	3
#define QDNS_Srv	4
#define QDNS_Cname	5
#define QDNS_Ptr	6
#define QDNS_Txt	7
qt_QDns * qt_new_QDns();
qt_QDns * qt_new_QDns1(qt_QString * label, int rr);
qt_QDns * qt_new_QDns2(qt_QHostAddress* address, int rr);
void qt_del_QDns( qt_QDns* p );
void qt_QDns_setLabel(qt_QDns* instPointer,qt_QString * label);
void qt_QDns_setLabel1(qt_QDns* instPointer,qt_QHostAddress* address);
qt_QString * qt_QDns_label(qt_QDns* instPointer);
void qt_QDns_setRecordType(qt_QDns* instPointer,int rr);
int qt_QDns_recordType(qt_QDns* instPointer);
int qt_QDns_isWorking(qt_QDns* instPointer);
qt_QStringList* qt_QDns_hostNames(qt_QDns* instPointer);
qt_QStringList* qt_QDns_texts(qt_QDns* instPointer);
qt_QString * qt_QDns_canonicalName(qt_QDns* instPointer);
qt_QStringList* qt_QDns_qualifiedNames(qt_QDns* instPointer);
void qt_QDns_connectNotify(qt_QDns* instPointer,char* signal);

#endif
