http2: initial implementation of the push callback

This commit is contained in:
Daniel Stenberg
2015-06-01 11:45:52 +02:00
parent 19d5bcd66a
commit 352fbceef3
6 changed files with 92 additions and 10 deletions

View File

@@ -198,6 +198,8 @@
#define HEADERSIZE 256
#define CURLEASY_MAGIC_NUMBER 0xc0dedbadU
#define GOOD_EASY_HANDLE(x) \
((x) && (((struct SessionHandle *)(x))->magic == CURLEASY_MAGIC_NUMBER))
/* Some convenience macros to get the larger/smaller value out of two given.
We prefix with CURL to prevent name collisions. */