diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-20 19:20:01 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-22 09:47:59 +0300 |
commit | 571ec180781a55a63007d97bad9755265b282ebf (patch) | |
tree | a63d2c095139f28c14b3e99f65b31e0485325a11 /src/microhttpd/internal.h | |
parent | cf6f91bd6ef6d1cd6e430e7ccaa898e67739d20d (diff) | |
download | libmicrohttpd-571ec180781a55a63007d97bad9755265b282ebf.tar.gz libmicrohttpd-571ec180781a55a63007d97bad9755265b282ebf.zip |
New values for MHD_ConnectionEventLoopInfo
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 6a88177e..6a94faea 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -214,22 +214,22 @@ enum MHD_ConnectionEventLoopInfo | |||
214 | /** | 214 | /** |
215 | * We are waiting to be able to read. | 215 | * We are waiting to be able to read. |
216 | */ | 216 | */ |
217 | MHD_EVENT_LOOP_INFO_READ = 0, | 217 | MHD_EVENT_LOOP_INFO_READ = 1 << 0, |
218 | 218 | ||
219 | /** | 219 | /** |
220 | * We are waiting to be able to write. | 220 | * We are waiting to be able to write. |
221 | */ | 221 | */ |
222 | MHD_EVENT_LOOP_INFO_WRITE = 1, | 222 | MHD_EVENT_LOOP_INFO_WRITE = 1 << 1, |
223 | 223 | ||
224 | /** | 224 | /** |
225 | * We are waiting for the application to provide data. | 225 | * We are waiting for the application to provide data. |
226 | */ | 226 | */ |
227 | MHD_EVENT_LOOP_INFO_BLOCK = 2, | 227 | MHD_EVENT_LOOP_INFO_BLOCK = 1 << 2, |
228 | 228 | ||
229 | /** | 229 | /** |
230 | * We are finished and are awaiting cleanup. | 230 | * We are finished and are awaiting cleanup. |
231 | */ | 231 | */ |
232 | MHD_EVENT_LOOP_INFO_CLEANUP = 3 | 232 | MHD_EVENT_LOOP_INFO_CLEANUP = 1 << 3 |
233 | } _MHD_FIXED_ENUM; | 233 | } _MHD_FIXED_ENUM; |
234 | 234 | ||
235 | 235 | ||