2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_NETWORK_GEN_QSCTPSOCKET_H
|
|
|
|
#define MIQT_QT6_NETWORK_GEN_QSCTPSOCKET_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 QAbstractSocket;
|
|
|
|
class QIODevice;
|
|
|
|
class QIODeviceBase;
|
2024-11-04 09:53:04 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QNetworkDatagram;
|
|
|
|
class QObject;
|
|
|
|
class QSctpSocket;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTcpSocket;
|
2024-11-04 09:53:04 +00:00
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QAbstractSocket QAbstractSocket;
|
|
|
|
typedef struct QIODevice QIODevice;
|
|
|
|
typedef struct QIODeviceBase QIODeviceBase;
|
2024-11-04 09:53:04 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QNetworkDatagram QNetworkDatagram;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QSctpSocket QSctpSocket;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTcpSocket QTcpSocket;
|
2024-11-04 09:53:04 +00:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QSctpSocket* QSctpSocket_new();
|
|
|
|
QSctpSocket* QSctpSocket_new2(QObject* parent);
|
|
|
|
void QSctpSocket_virtbase(QSctpSocket* src, QTcpSocket** outptr_QTcpSocket);
|
2024-11-04 09:53:04 +00:00
|
|
|
QMetaObject* QSctpSocket_MetaObject(const QSctpSocket* self);
|
|
|
|
void* QSctpSocket_Metacast(QSctpSocket* self, const char* param1);
|
|
|
|
struct miqt_string QSctpSocket_Tr(const char* s);
|
|
|
|
void QSctpSocket_Close(QSctpSocket* self);
|
|
|
|
void QSctpSocket_DisconnectFromHost(QSctpSocket* self);
|
|
|
|
void QSctpSocket_SetMaximumChannelCount(QSctpSocket* self, int count);
|
|
|
|
int QSctpSocket_MaximumChannelCount(const QSctpSocket* self);
|
|
|
|
bool QSctpSocket_IsInDatagramMode(const QSctpSocket* self);
|
|
|
|
QNetworkDatagram* QSctpSocket_ReadDatagram(QSctpSocket* self);
|
|
|
|
bool QSctpSocket_WriteDatagram(QSctpSocket* self, QNetworkDatagram* datagram);
|
2024-11-19 06:29:06 +00:00
|
|
|
long long QSctpSocket_ReadData(QSctpSocket* self, char* data, long long maxlen);
|
|
|
|
long long QSctpSocket_ReadLineData(QSctpSocket* self, char* data, long long maxlen);
|
2024-11-04 09:53:04 +00:00
|
|
|
struct miqt_string QSctpSocket_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSctpSocket_Tr3(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSctpSocket_override_virtual_Close(void* self, intptr_t slot);
|
|
|
|
void QSctpSocket_virtualbase_Close(void* self);
|
|
|
|
void QSctpSocket_override_virtual_DisconnectFromHost(void* self, intptr_t slot);
|
|
|
|
void QSctpSocket_virtualbase_DisconnectFromHost(void* self);
|
|
|
|
void QSctpSocket_override_virtual_ReadData(void* self, intptr_t slot);
|
|
|
|
long long QSctpSocket_virtualbase_ReadData(void* self, char* data, long long maxlen);
|
|
|
|
void QSctpSocket_override_virtual_ReadLineData(void* self, intptr_t slot);
|
|
|
|
long long QSctpSocket_virtualbase_ReadLineData(void* self, char* data, long long maxlen);
|
|
|
|
void QSctpSocket_Delete(QSctpSocket* self, bool isSubclass);
|
2024-11-04 09:53:04 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|