Kagera uHTTP Daemon
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627
  1. /**
  2. * @PROJECT Kagera uHTTP Daemon
  3. * @COPYRIGHT See COPYING in the top level directory
  4. * @FILE dateparse.h
  5. * @PURPOSE Parses string dates into internal form
  6. * @DEVELOPERS Rafal Kupiec <belliash@asiotec.eu.org>
  7. * Jef Poskanzer <jef@acme.com>
  8. */
  9. #ifndef __DATEPARSE_H
  10. #define __DATEPARSE_H
  11. struct strlong {
  12. char* s;
  13. long l;
  14. };
  15. extern time_t dateparse(char* str);
  16. static int is_leap(int year);
  17. static void pound_case(char* str);
  18. static int scan_mon(char* str_mon, long* tm_monP);
  19. static int scan_wday(char* str_wday, long* tm_wdayP);
  20. static int strlong_compare(char *v1, char *v2);
  21. static int strlong_search(char* str, struct strlong* tab, int n, long* lP);
  22. static time_t tm_to_time(struct tm* tmP);
  23. #endif