File: timestr.h

package info (click to toggle)
dancer-services 1.8.0.6.3-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,600 kB
  • ctags: 1,623
  • sloc: ansic: 34,690; sh: 2,850; makefile: 269
file content (25 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * timestr.h
 * Copyright (C) 1999 Patrick Alken
 *
 * $Id: timestr.h,v 1.1.1.1 2001/03/03 01:48:53 wcampbel Exp $
 */

#ifndef INCLUDED_timestr_h
#define INCLUDED_timestr_h

#ifndef INCLUDED_sys_time_h
#include <sys/time.h>        /* struct timeval */
#define INCLUDED_sys_time_h
#endif

/*
 * Prototypes
 */

char *timeago(time_t timestamp, int flag);
long timestr(char *format);
struct timeval *GetTime(struct timeval *timer);
long GetGMTOffset(time_t unixtime);

#endif /* INCLUDED_timestr_h */