miqt/qt/network/gen_qhttp2configuration.h

44 lines
1.7 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT_NETWORK_GEN_QHTTP2CONFIGURATION_H
#define MIQT_QT_NETWORK_GEN_QHTTP2CONFIGURATION_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
class QHttp2Configuration;
#else
typedef struct QHttp2Configuration QHttp2Configuration;
#endif
2024-12-07 04:15:57 +00:00
QHttp2Configuration* QHttp2Configuration_new();
QHttp2Configuration* QHttp2Configuration_new2(QHttp2Configuration* other);
2024-11-04 09:53:04 +00:00
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);
2024-11-19 06:29:06 +00:00
void QHttp2Configuration_Delete(QHttp2Configuration* self, bool isSubclass);
2024-11-04 09:53:04 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif