2
0

fspr_support.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Licensed to the Apache Software Foundation (ASF) under one or more
  2. * contributor license agreements. See the NOTICE file distributed with
  3. * this work for additional information regarding copyright ownership.
  4. * The ASF licenses this file to You under the Apache License, Version 2.0
  5. * (the "License"); you may not use this file except in compliance with
  6. * the License. You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef APR_SUPPORT_H
  17. #define APR_SUPPORT_H
  18. /**
  19. * @file fspr_support.h
  20. * @brief APR Support functions
  21. */
  22. #include "fspr.h"
  23. #include "fspr_network_io.h"
  24. #include "fspr_file_io.h"
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif /* __cplusplus */
  28. /**
  29. * @defgroup fspr_support Internal APR support functions
  30. * @ingroup APR
  31. * @{
  32. */
  33. /**
  34. * Wait for IO to occur or timeout.
  35. *
  36. * Uses POOL for temporary allocations.
  37. */
  38. fspr_status_t fspr_wait_for_io_or_timeout(fspr_file_t *f, fspr_socket_t *s,
  39. int for_read);
  40. /** @} */
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif /* ! APR_SUPPORT_H */