miqt/qt/network/gen_qdnslookup.h

158 lines
8.3 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_NETWORK_GEN_QDNSLOOKUP_H
#define MIQT_QT_NETWORK_GEN_QDNSLOOKUP_H
2024-11-04 22:53:04 +13: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 19:29:06 +13:00
class QChildEvent;
2024-11-04 22:53:04 +13:00
class QDnsDomainNameRecord;
class QDnsHostAddressRecord;
class QDnsLookup;
class QDnsMailExchangeRecord;
class QDnsServiceRecord;
class QDnsTextRecord;
2024-11-19 19:29:06 +13:00
class QEvent;
2024-11-04 22:53:04 +13:00
class QHostAddress;
2024-11-19 19:29:06 +13:00
class QMetaMethod;
2024-11-04 22:53:04 +13:00
class QMetaObject;
class QObject;
2024-11-19 19:29:06 +13:00
class QTimerEvent;
2024-11-04 22:53:04 +13:00
#else
2024-11-19 19:29:06 +13:00
typedef struct QChildEvent QChildEvent;
2024-11-04 22:53:04 +13: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 19:29:06 +13:00
typedef struct QEvent QEvent;
2024-11-04 22:53:04 +13:00
typedef struct QHostAddress QHostAddress;
2024-11-19 19:29:06 +13:00
typedef struct QMetaMethod QMetaMethod;
2024-11-04 22:53:04 +13:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
2024-11-19 19:29:06 +13:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 22:53:04 +13:00
#endif
2024-12-07 17:15:57 +13:00
QDnsDomainNameRecord* QDnsDomainNameRecord_new();
QDnsDomainNameRecord* QDnsDomainNameRecord_new2(QDnsDomainNameRecord* other);
2025-02-01 13:45:16 +13: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);
void QDnsDomainNameRecord_delete(QDnsDomainNameRecord* self);
2024-11-04 22:53:04 +13:00
2024-12-07 17:15:57 +13:00
QDnsHostAddressRecord* QDnsHostAddressRecord_new();
QDnsHostAddressRecord* QDnsHostAddressRecord_new2(QDnsHostAddressRecord* other);
2025-02-01 13:45:16 +13: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);
void QDnsHostAddressRecord_delete(QDnsHostAddressRecord* self);
2024-11-04 22:53:04 +13:00
2024-12-07 17:15:57 +13:00
QDnsMailExchangeRecord* QDnsMailExchangeRecord_new();
QDnsMailExchangeRecord* QDnsMailExchangeRecord_new2(QDnsMailExchangeRecord* other);
2025-02-01 13:45:16 +13: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);
void QDnsMailExchangeRecord_delete(QDnsMailExchangeRecord* self);
2024-11-04 22:53:04 +13:00
2024-12-07 17:15:57 +13:00
QDnsServiceRecord* QDnsServiceRecord_new();
QDnsServiceRecord* QDnsServiceRecord_new2(QDnsServiceRecord* other);
2025-02-01 13:45:16 +13: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);
void QDnsServiceRecord_delete(QDnsServiceRecord* self);
2024-11-04 22:53:04 +13:00
2024-12-07 17:15:57 +13:00
QDnsTextRecord* QDnsTextRecord_new();
QDnsTextRecord* QDnsTextRecord_new2(QDnsTextRecord* other);
2025-02-01 13:45:16 +13: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);
void QDnsTextRecord_delete(QDnsTextRecord* self);
2024-11-04 22:53:04 +13:00
2024-12-07 17:15:57 +13:00
QDnsLookup* QDnsLookup_new();
2025-02-01 13:45:16 +13:00
QDnsLookup* QDnsLookup_new2(int type, struct miqt_string name);
QDnsLookup* QDnsLookup_new3(int type, struct miqt_string name, QHostAddress* nameserver);
2024-12-07 17:15:57 +13:00
QDnsLookup* QDnsLookup_new4(QObject* parent);
2025-02-01 13:45:16 +13:00
QDnsLookup* QDnsLookup_new5(int type, struct miqt_string name, QObject* parent);
QDnsLookup* QDnsLookup_new6(int type, struct miqt_string name, QHostAddress* nameserver, QObject* parent);
2024-12-07 17:15:57 +13:00
void QDnsLookup_virtbase(QDnsLookup* src, QObject** outptr_QObject);
2025-02-01 13:45:16 +13: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 type);
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);
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 type);
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);
bool QDnsLookup_override_virtual_event(void* self, intptr_t slot);
bool QDnsLookup_virtualbase_event(void* self, QEvent* event);
bool QDnsLookup_override_virtual_eventFilter(void* self, intptr_t slot);
bool QDnsLookup_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
bool QDnsLookup_override_virtual_timerEvent(void* self, intptr_t slot);
void QDnsLookup_virtualbase_timerEvent(void* self, QTimerEvent* event);
bool QDnsLookup_override_virtual_childEvent(void* self, intptr_t slot);
void QDnsLookup_virtualbase_childEvent(void* self, QChildEvent* event);
bool QDnsLookup_override_virtual_customEvent(void* self, intptr_t slot);
void QDnsLookup_virtualbase_customEvent(void* self, QEvent* event);
bool QDnsLookup_override_virtual_connectNotify(void* self, intptr_t slot);
void QDnsLookup_virtualbase_connectNotify(void* self, QMetaMethod* signal);
bool QDnsLookup_override_virtual_disconnectNotify(void* self, intptr_t slot);
void QDnsLookup_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
void QDnsLookup_delete(QDnsLookup* self);
2024-11-04 22:53:04 +13:00
#ifdef __cplusplus
} /* extern C */
2025-02-01 13:45:16 +13:00
#endif
2024-11-04 22:53:04 +13:00
#endif