2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_NETWORK_GEN_QDNSLOOKUP_H
|
|
|
|
#define MIQT_QT_NETWORK_GEN_QDNSLOOKUP_H
|
2024-11-04 09:53:04 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#include "../../libmiqt/libmiqt.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QByteArray;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QDnsDomainNameRecord;
|
|
|
|
class QDnsHostAddressRecord;
|
|
|
|
class QDnsLookup;
|
|
|
|
class QDnsMailExchangeRecord;
|
|
|
|
class QDnsServiceRecord;
|
|
|
|
class QDnsTextRecord;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QHostAddress;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
#else
|
|
|
|
typedef struct QByteArray QByteArray;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QDnsDomainNameRecord QDnsDomainNameRecord;
|
|
|
|
typedef struct QDnsHostAddressRecord QDnsHostAddressRecord;
|
|
|
|
typedef struct QDnsLookup QDnsLookup;
|
|
|
|
typedef struct QDnsMailExchangeRecord QDnsMailExchangeRecord;
|
|
|
|
typedef struct QDnsServiceRecord QDnsServiceRecord;
|
|
|
|
typedef struct QDnsTextRecord QDnsTextRecord;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QEvent QEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QHostAddress QHostAddress;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-11-04 09:53:04 +00:00
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsDomainNameRecord_new(QDnsDomainNameRecord** outptr_QDnsDomainNameRecord);
|
|
|
|
void QDnsDomainNameRecord_new2(QDnsDomainNameRecord* other, QDnsDomainNameRecord** outptr_QDnsDomainNameRecord);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QDnsDomainNameRecord_OperatorAssign(QDnsDomainNameRecord* self, QDnsDomainNameRecord* other);
|
|
|
|
void QDnsDomainNameRecord_Swap(QDnsDomainNameRecord* self, QDnsDomainNameRecord* other);
|
|
|
|
struct miqt_string QDnsDomainNameRecord_Name(const QDnsDomainNameRecord* self);
|
|
|
|
unsigned int QDnsDomainNameRecord_TimeToLive(const QDnsDomainNameRecord* self);
|
|
|
|
struct miqt_string QDnsDomainNameRecord_Value(const QDnsDomainNameRecord* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsDomainNameRecord_Delete(QDnsDomainNameRecord* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsHostAddressRecord_new(QDnsHostAddressRecord** outptr_QDnsHostAddressRecord);
|
|
|
|
void QDnsHostAddressRecord_new2(QDnsHostAddressRecord* other, QDnsHostAddressRecord** outptr_QDnsHostAddressRecord);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QDnsHostAddressRecord_OperatorAssign(QDnsHostAddressRecord* self, QDnsHostAddressRecord* other);
|
|
|
|
void QDnsHostAddressRecord_Swap(QDnsHostAddressRecord* self, QDnsHostAddressRecord* other);
|
|
|
|
struct miqt_string QDnsHostAddressRecord_Name(const QDnsHostAddressRecord* self);
|
|
|
|
unsigned int QDnsHostAddressRecord_TimeToLive(const QDnsHostAddressRecord* self);
|
|
|
|
QHostAddress* QDnsHostAddressRecord_Value(const QDnsHostAddressRecord* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsHostAddressRecord_Delete(QDnsHostAddressRecord* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsMailExchangeRecord_new(QDnsMailExchangeRecord** outptr_QDnsMailExchangeRecord);
|
|
|
|
void QDnsMailExchangeRecord_new2(QDnsMailExchangeRecord* other, QDnsMailExchangeRecord** outptr_QDnsMailExchangeRecord);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QDnsMailExchangeRecord_OperatorAssign(QDnsMailExchangeRecord* self, QDnsMailExchangeRecord* other);
|
|
|
|
void QDnsMailExchangeRecord_Swap(QDnsMailExchangeRecord* self, QDnsMailExchangeRecord* other);
|
|
|
|
struct miqt_string QDnsMailExchangeRecord_Exchange(const QDnsMailExchangeRecord* self);
|
|
|
|
struct miqt_string QDnsMailExchangeRecord_Name(const QDnsMailExchangeRecord* self);
|
|
|
|
uint16_t QDnsMailExchangeRecord_Preference(const QDnsMailExchangeRecord* self);
|
|
|
|
unsigned int QDnsMailExchangeRecord_TimeToLive(const QDnsMailExchangeRecord* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsMailExchangeRecord_Delete(QDnsMailExchangeRecord* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsServiceRecord_new(QDnsServiceRecord** outptr_QDnsServiceRecord);
|
|
|
|
void QDnsServiceRecord_new2(QDnsServiceRecord* other, QDnsServiceRecord** outptr_QDnsServiceRecord);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QDnsServiceRecord_OperatorAssign(QDnsServiceRecord* self, QDnsServiceRecord* other);
|
|
|
|
void QDnsServiceRecord_Swap(QDnsServiceRecord* self, QDnsServiceRecord* other);
|
|
|
|
struct miqt_string QDnsServiceRecord_Name(const QDnsServiceRecord* self);
|
|
|
|
uint16_t QDnsServiceRecord_Port(const QDnsServiceRecord* self);
|
|
|
|
uint16_t QDnsServiceRecord_Priority(const QDnsServiceRecord* self);
|
|
|
|
struct miqt_string QDnsServiceRecord_Target(const QDnsServiceRecord* self);
|
|
|
|
unsigned int QDnsServiceRecord_TimeToLive(const QDnsServiceRecord* self);
|
|
|
|
uint16_t QDnsServiceRecord_Weight(const QDnsServiceRecord* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsServiceRecord_Delete(QDnsServiceRecord* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsTextRecord_new(QDnsTextRecord** outptr_QDnsTextRecord);
|
|
|
|
void QDnsTextRecord_new2(QDnsTextRecord* other, QDnsTextRecord** outptr_QDnsTextRecord);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QDnsTextRecord_OperatorAssign(QDnsTextRecord* self, QDnsTextRecord* other);
|
|
|
|
void QDnsTextRecord_Swap(QDnsTextRecord* self, QDnsTextRecord* other);
|
|
|
|
struct miqt_string QDnsTextRecord_Name(const QDnsTextRecord* self);
|
|
|
|
unsigned int QDnsTextRecord_TimeToLive(const QDnsTextRecord* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of struct miqt_string */ QDnsTextRecord_Values(const QDnsTextRecord* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsTextRecord_Delete(QDnsTextRecord* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsLookup_new(QDnsLookup** outptr_QDnsLookup, QObject** outptr_QObject);
|
|
|
|
void QDnsLookup_new2(int typeVal, struct miqt_string name, QDnsLookup** outptr_QDnsLookup, QObject** outptr_QObject);
|
|
|
|
void QDnsLookup_new3(int typeVal, struct miqt_string name, QHostAddress* nameserver, QDnsLookup** outptr_QDnsLookup, QObject** outptr_QObject);
|
|
|
|
void QDnsLookup_new4(QObject* parent, QDnsLookup** outptr_QDnsLookup, QObject** outptr_QObject);
|
|
|
|
void QDnsLookup_new5(int typeVal, struct miqt_string name, QObject* parent, QDnsLookup** outptr_QDnsLookup, QObject** outptr_QObject);
|
|
|
|
void QDnsLookup_new6(int typeVal, struct miqt_string name, QHostAddress* nameserver, QObject* parent, QDnsLookup** outptr_QDnsLookup, QObject** outptr_QObject);
|
2024-11-04 09:53:04 +00:00
|
|
|
QMetaObject* QDnsLookup_MetaObject(const QDnsLookup* self);
|
|
|
|
void* QDnsLookup_Metacast(QDnsLookup* self, const char* param1);
|
|
|
|
struct miqt_string QDnsLookup_Tr(const char* s);
|
|
|
|
struct miqt_string QDnsLookup_TrUtf8(const char* s);
|
|
|
|
int QDnsLookup_Error(const QDnsLookup* self);
|
|
|
|
struct miqt_string QDnsLookup_ErrorString(const QDnsLookup* self);
|
|
|
|
bool QDnsLookup_IsFinished(const QDnsLookup* self);
|
|
|
|
struct miqt_string QDnsLookup_Name(const QDnsLookup* self);
|
|
|
|
void QDnsLookup_SetName(QDnsLookup* self, struct miqt_string name);
|
|
|
|
int QDnsLookup_Type(const QDnsLookup* self);
|
|
|
|
void QDnsLookup_SetType(QDnsLookup* self, int typeVal);
|
|
|
|
QHostAddress* QDnsLookup_Nameserver(const QDnsLookup* self);
|
|
|
|
void QDnsLookup_SetNameserver(QDnsLookup* self, QHostAddress* nameserver);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QDnsDomainNameRecord* */ QDnsLookup_CanonicalNameRecords(const QDnsLookup* self);
|
|
|
|
struct miqt_array /* of QDnsHostAddressRecord* */ QDnsLookup_HostAddressRecords(const QDnsLookup* self);
|
|
|
|
struct miqt_array /* of QDnsMailExchangeRecord* */ QDnsLookup_MailExchangeRecords(const QDnsLookup* self);
|
|
|
|
struct miqt_array /* of QDnsDomainNameRecord* */ QDnsLookup_NameServerRecords(const QDnsLookup* self);
|
|
|
|
struct miqt_array /* of QDnsDomainNameRecord* */ QDnsLookup_PointerRecords(const QDnsLookup* self);
|
|
|
|
struct miqt_array /* of QDnsServiceRecord* */ QDnsLookup_ServiceRecords(const QDnsLookup* self);
|
|
|
|
struct miqt_array /* of QDnsTextRecord* */ QDnsLookup_TextRecords(const QDnsLookup* self);
|
2024-11-04 09:53:04 +00:00
|
|
|
void QDnsLookup_Abort(QDnsLookup* self);
|
|
|
|
void QDnsLookup_Lookup(QDnsLookup* self);
|
|
|
|
void QDnsLookup_Finished(QDnsLookup* self);
|
|
|
|
void QDnsLookup_connect_Finished(QDnsLookup* self, intptr_t slot);
|
|
|
|
void QDnsLookup_NameChanged(QDnsLookup* self, struct miqt_string name);
|
|
|
|
void QDnsLookup_connect_NameChanged(QDnsLookup* self, intptr_t slot);
|
|
|
|
void QDnsLookup_TypeChanged(QDnsLookup* self, int typeVal);
|
|
|
|
void QDnsLookup_connect_TypeChanged(QDnsLookup* self, intptr_t slot);
|
|
|
|
void QDnsLookup_NameserverChanged(QDnsLookup* self, QHostAddress* nameserver);
|
|
|
|
void QDnsLookup_connect_NameserverChanged(QDnsLookup* self, intptr_t slot);
|
|
|
|
struct miqt_string QDnsLookup_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QDnsLookup_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QDnsLookup_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QDnsLookup_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDnsLookup_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QDnsLookup_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QDnsLookup_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QDnsLookup_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QDnsLookup_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QDnsLookup_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QDnsLookup_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QDnsLookup_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QDnsLookup_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QDnsLookup_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QDnsLookup_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QDnsLookup_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QDnsLookup_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QDnsLookup_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QDnsLookup_Delete(QDnsLookup* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|