miqt/qt/network/gen_qsslerror.h

43 lines
1.1 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_NETWORK_GEN_QSSLERROR_H
#define MIQT_QT_NETWORK_GEN_QSSLERROR_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
class QSslCertificate;
class QSslError;
#else
typedef struct QSslCertificate QSslCertificate;
typedef struct QSslError QSslError;
#endif
2024-12-07 17:15:57 +13:00
QSslError* QSslError_new();
QSslError* QSslError_new2(int error);
QSslError* QSslError_new3(int error, QSslCertificate* certificate);
QSslError* QSslError_new4(QSslError* other);
2025-02-01 13:45:16 +13:00
void QSslError_swap(QSslError* self, QSslError* other);
void QSslError_operatorAssign(QSslError* self, QSslError* other);
bool QSslError_operatorEqual(const QSslError* self, QSslError* other);
bool QSslError_operatorNotEqual(const QSslError* self, QSslError* other);
int QSslError_error(const QSslError* self);
struct miqt_string QSslError_errorString(const QSslError* self);
QSslCertificate* QSslError_certificate(const QSslError* self);
void QSslError_delete(QSslError* 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