httpUtil.h 814 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @file httpUtil.h
  3. * @brief Header File for HTTP Server Utilities
  4. * @version 1.0
  5. * @date 2014/07/15
  6. * @par Revision
  7. * 2014/07/15 - 1.0 Release
  8. * @author
  9. * \n\n @par Copyright (C) 1998 - 2014 WIZnet. All rights reserved.
  10. */
  11. #ifndef __HTTPUTIL_H__
  12. #define __HTTPUTIL_H__
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #include "httpServer.h"
  17. #include "httpParser.h"
  18. uint8_t http_get_cgi_handler(uint8_t * uri_name, uint8_t * buf, uint32_t * file_len);
  19. uint8_t http_post_cgi_handler(uint8_t * uri_name, st_http_request * p_http_request, uint8_t * buf, uint32_t * file_len);
  20. uint8_t predefined_get_cgi_processor(uint8_t * uri_name, uint8_t * buf, uint16_t * len);
  21. uint8_t predefined_set_cgi_processor(uint8_t * uri_name, uint8_t * uri, uint8_t * buf, uint16_t * len);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif