File: parsdate.h

package info (click to toggle)
lynx-cur 2.8.8dev.5-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,672 kB
  • ctags: 12,330
  • sloc: ansic: 129,865; sh: 3,763; makefile: 1,003; perl: 909; yacc: 765
file content (21 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* $LynxId: parsdate.h,v 1.1 2008/06/29 23:23:45 tom Exp $ */
#ifndef PARSDATE_H
#define PARSDATE_H

#ifdef __cplusplus
extern "C" {
#endif
#include <LYUtils.h>
#define ARRAY_SIZE(array)       ((int) (sizeof(array) / sizeof(array[0])))
     typedef struct _TIMEINFO {
	time_t time;
	long usec;
	long tzone;
    } TIMEINFO;

    extern time_t parsedate(char *p, TIMEINFO * now);

#ifdef __cplusplus
}
#endif
#endif				/* PARSDATE_H */