miqt/qt6/network/gen_qhttp2configuration.h

44 lines
1.7 KiB
C++

#pragma once
#ifndef MIQT_QT6_NETWORK_GEN_QHTTP2CONFIGURATION_H
#define MIQT_QT6_NETWORK_GEN_QHTTP2CONFIGURATION_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 QHttp2Configuration;
#else
typedef struct QHttp2Configuration QHttp2Configuration;
#endif
QHttp2Configuration* QHttp2Configuration_new();
QHttp2Configuration* QHttp2Configuration_new2(QHttp2Configuration* other);
void QHttp2Configuration_OperatorAssign(QHttp2Configuration* self, QHttp2Configuration* other);
void QHttp2Configuration_SetServerPushEnabled(QHttp2Configuration* self, bool enable);
bool QHttp2Configuration_ServerPushEnabled(const QHttp2Configuration* self);
void QHttp2Configuration_SetHuffmanCompressionEnabled(QHttp2Configuration* self, bool enable);
bool QHttp2Configuration_HuffmanCompressionEnabled(const QHttp2Configuration* self);
bool QHttp2Configuration_SetSessionReceiveWindowSize(QHttp2Configuration* self, unsigned int size);
unsigned int QHttp2Configuration_SessionReceiveWindowSize(const QHttp2Configuration* self);
bool QHttp2Configuration_SetStreamReceiveWindowSize(QHttp2Configuration* self, unsigned int size);
unsigned int QHttp2Configuration_StreamReceiveWindowSize(const QHttp2Configuration* self);
bool QHttp2Configuration_SetMaxFrameSize(QHttp2Configuration* self, unsigned int size);
unsigned int QHttp2Configuration_MaxFrameSize(const QHttp2Configuration* self);
void QHttp2Configuration_Swap(QHttp2Configuration* self, QHttp2Configuration* other);
void QHttp2Configuration_Delete(QHttp2Configuration* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif