diff options
Diffstat (limited to 'src/include/microhttpd2.h')
-rw-r--r-- | src/include/microhttpd2.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h index 2ec39acb..1a0abcd5 100644 --- a/src/include/microhttpd2.h +++ b/src/include/microhttpd2.h | |||
@@ -343,6 +343,11 @@ enum MHD_StatusCode | |||
343 | */ | 343 | */ |
344 | MHD_SC_DAEMON_STARTED = 10000, | 344 | MHD_SC_DAEMON_STARTED = 10000, |
345 | 345 | ||
346 | /** | ||
347 | * Informational event, there is no timeout. | ||
348 | */ | ||
349 | MHD_SC_NO_TIMEOUT = 10001, | ||
350 | |||
346 | 351 | ||
347 | /** | 352 | /** |
348 | * MHD does not support the requested combination of | 353 | * MHD does not support the requested combination of |
@@ -563,6 +568,36 @@ enum MHD_StatusCode | |||
563 | */ | 568 | */ |
564 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_FDSET = 50037, | 569 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_FDSET = 50037, |
565 | 570 | ||
571 | /** | ||
572 | * This daemon was not configured with options that | ||
573 | * would allow us to obtain a meaningful timeout. | ||
574 | */ | ||
575 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT = 50038, | ||
576 | |||
577 | /** | ||
578 | * This daemon was not configured with options that | ||
579 | * would allow us to run with select() data. | ||
580 | */ | ||
581 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_SELECT = 50039, | ||
582 | |||
583 | /** | ||
584 | * This daemon was not configured to run with an | ||
585 | * external event loop. | ||
586 | */ | ||
587 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_EXTERNAL = 50040, | ||
588 | |||
589 | /** | ||
590 | * Encountered an unexpected event loop style | ||
591 | * (should never happen). | ||
592 | */ | ||
593 | MHD_SC_CONFIGURATION_UNEXPECTED_ELS = 50041, | ||
594 | |||
595 | /** | ||
596 | * Encountered an unexpected error from select() | ||
597 | * (should never happen). | ||
598 | */ | ||
599 | MHD_SC_CONFIGURATION_UNEXPECTED_SELECT_ERROR = 50042, | ||
600 | |||
566 | }; | 601 | }; |
567 | 602 | ||
568 | 603 | ||