tftp.h 685 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * LiMon - BOOTP/TFTP.
  3. *
  4. * Copyright 1994, 1995, 2000 Neil Russell.
  5. * Copyright 2011 Comelit Group SpA
  6. * Luca Ceresoli <luca.ceresoli@comelit.it>
  7. * (See License)
  8. */
  9. #ifndef __TFTP_H__
  10. #define __TFTP_H__
  11. /**********************************************************************/
  12. /*
  13. * Global functions and variables.
  14. */
  15. /* tftp.c */
  16. void tftp_start(enum proto_t protocol); /* Begin TFTP get/put */
  17. #ifdef CONFIG_CMD_TFTPSRV
  18. void tftp_start_server(void); /* Wait for incoming TFTP put */
  19. #endif
  20. extern ulong tftp_timeout_ms;
  21. extern int tftp_timeout_count_max;
  22. /**********************************************************************/
  23. #endif /* __TFTP_H__ */