miqt/qt6/network/gen_qdnslookup.h

155 lines
8.2 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_NETWORK_GEN_QDNSLOOKUP_H
#define MIQT_QT6_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
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
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-12-07 04:15:57 +00:00
QDnsDomainNameRecord* QDnsDomainNameRecord_new();
QDnsDomainNameRecord* QDnsDomainNameRecord_new2(QDnsDomainNameRecord* other);
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-12-07 04:15:57 +00:00
QDnsHostAddressRecord* QDnsHostAddressRecord_new();
QDnsHostAddressRecord* QDnsHostAddressRecord_new2(QDnsHostAddressRecord* other);
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-12-07 04:15:57 +00:00
QDnsMailExchangeRecord* QDnsMailExchangeRecord_new();
QDnsMailExchangeRecord* QDnsMailExchangeRecord_new2(QDnsMailExchangeRecord* other);
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-12-07 04:15:57 +00:00
QDnsServiceRecord* QDnsServiceRecord_new();
QDnsServiceRecord* QDnsServiceRecord_new2(QDnsServiceRecord* other);
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-12-07 04:15:57 +00:00
QDnsTextRecord* QDnsTextRecord_new();
QDnsTextRecord* QDnsTextRecord_new2(QDnsTextRecord* other);
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);
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-12-07 04:15:57 +00:00
QDnsLookup* QDnsLookup_new();
QDnsLookup* QDnsLookup_new2(int typeVal, struct miqt_string name);
QDnsLookup* QDnsLookup_new3(int typeVal, struct miqt_string name, QHostAddress* nameserver);
QDnsLookup* QDnsLookup_new4(QObject* parent);
QDnsLookup* QDnsLookup_new5(int typeVal, struct miqt_string name, QObject* parent);
QDnsLookup* QDnsLookup_new6(int typeVal, struct miqt_string name, QHostAddress* nameserver, QObject* parent);
void QDnsLookup_virtbase(QDnsLookup* src, 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);
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);
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);
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