mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
158 lines
8.4 KiB
C++
158 lines
8.4 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_NETWORK_GEN_QDNSLOOKUP_H
|
|
#define MIQT_QT_NETWORK_GEN_QDNSLOOKUP_H
|
|
|
|
#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 QChildEvent;
|
|
class QDnsDomainNameRecord;
|
|
class QDnsHostAddressRecord;
|
|
class QDnsLookup;
|
|
class QDnsMailExchangeRecord;
|
|
class QDnsServiceRecord;
|
|
class QDnsTextRecord;
|
|
class QEvent;
|
|
class QHostAddress;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QTimerEvent;
|
|
#else
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QDnsDomainNameRecord QDnsDomainNameRecord;
|
|
typedef struct QDnsHostAddressRecord QDnsHostAddressRecord;
|
|
typedef struct QDnsLookup QDnsLookup;
|
|
typedef struct QDnsMailExchangeRecord QDnsMailExchangeRecord;
|
|
typedef struct QDnsServiceRecord QDnsServiceRecord;
|
|
typedef struct QDnsTextRecord QDnsTextRecord;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QHostAddress QHostAddress;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
#endif
|
|
|
|
QDnsDomainNameRecord* QDnsDomainNameRecord_new();
|
|
QDnsDomainNameRecord* QDnsDomainNameRecord_new2(QDnsDomainNameRecord* other);
|
|
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, bool isSubclass);
|
|
|
|
QDnsHostAddressRecord* QDnsHostAddressRecord_new();
|
|
QDnsHostAddressRecord* QDnsHostAddressRecord_new2(QDnsHostAddressRecord* other);
|
|
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, bool isSubclass);
|
|
|
|
QDnsMailExchangeRecord* QDnsMailExchangeRecord_new();
|
|
QDnsMailExchangeRecord* QDnsMailExchangeRecord_new2(QDnsMailExchangeRecord* other);
|
|
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, bool isSubclass);
|
|
|
|
QDnsServiceRecord* QDnsServiceRecord_new();
|
|
QDnsServiceRecord* QDnsServiceRecord_new2(QDnsServiceRecord* other);
|
|
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, bool isSubclass);
|
|
|
|
QDnsTextRecord* QDnsTextRecord_new();
|
|
QDnsTextRecord* QDnsTextRecord_new2(QDnsTextRecord* other);
|
|
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, bool isSubclass);
|
|
|
|
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);
|
|
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);
|
|
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 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);
|
|
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);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|