diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-02-15 05:45:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-02-15 05:45:55 +0100 |
commit | 31dd55ae496a5582dd4c67f1231ee7e042f6b4e8 (patch) | |
tree | ce2649c960a2793b9683ffc6ed80e11db20dc122 | |
parent | 95b73ede3db48f665b580fbd19bd7646a60efb2f (diff) | |
download | libmicrohttpd-31dd55ae496a5582dd4c67f1231ee7e042f6b4e8.tar.gz libmicrohttpd-31dd55ae496a5582dd4c67f1231ee7e042f6b4e8.zip |
more error codes
-rw-r--r-- | src/include/microhttpd2.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h index 1a0abcd5..ebb8f00a 100644 --- a/src/include/microhttpd2.h +++ b/src/include/microhttpd2.h | |||
@@ -596,7 +596,34 @@ enum MHD_StatusCode | |||
596 | * Encountered an unexpected error from select() | 596 | * Encountered an unexpected error from select() |
597 | * (should never happen). | 597 | * (should never happen). |
598 | */ | 598 | */ |
599 | MHD_SC_CONFIGURATION_UNEXPECTED_SELECT_ERROR = 50042, | 599 | MHD_SC_UNEXPECTED_SELECT_ERROR = 50042, |
600 | |||
601 | /** | ||
602 | * poll() is not supported. | ||
603 | */ | ||
604 | MHD_SC_POLL_NOT_SUPPORTED = 50043, | ||
605 | |||
606 | /** | ||
607 | * Encountered an unexpected error from poll() | ||
608 | * (should never happen). | ||
609 | */ | ||
610 | MHD_SC_UNEXPECTED_POLL_ERROR = 50044, | ||
611 | |||
612 | /** | ||
613 | * We failed to allocate memory for poll() syscall. | ||
614 | */ | ||
615 | MHD_SC_POLL_MALLOC_FAILURE = 50045, | ||
616 | |||
617 | /** | ||
618 | * Encountered an unexpected error from epoll_wait() | ||
619 | * (should never happen). | ||
620 | */ | ||
621 | MHD_SC_UNEXPECTED_EPOLL_WAIT_ERROR = 50046, | ||
622 | |||
623 | /** | ||
624 | * epoll file descriptor is invalid (strange) | ||
625 | */ | ||
626 | MHD_SC_EPOLL_FD_INVALID = 50047, | ||
600 | 627 | ||
601 | }; | 628 | }; |
602 | 629 | ||