You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

strptime.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* strptime.h
  2. *
  3. * $Id: strptime.h,v 1.1 2005-07-16 17:02:10 robertl Exp $
  4. *
  5. * Ethereal - Network traffic analyzer
  6. * By Gerald Combs <gerald@ethereal.com>
  7. * Copyright 1998 Gerald Combs
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version 2
  12. * of the License, or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  22. */
  23. #ifndef __STRPTIME_H__
  24. #define __STRPTIME_H__
  25. /*
  26. * Version of "strptime()", for the benefit of OSes that don't have it.
  27. */
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. extern char* strptime(const char*, const char*, struct tm*);
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif