blob: 7364a519f3e80490ff40260e1fd144c671cb7a27 (
plain) (
blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/* Copyrights 2002 Luis Figueiredo (stdio@netc.pt) All rights reserved.
*
* See the LICENSE file
*
* The origin of this software must not be misrepresented, either by
* explicit claim or by omission. Since few users ever read sources,
* credits must appear in the documentation.
*
* file: utils.h
*
* description: Header
*
* date: 19:50,07-50-2002
*/
#ifndef _UTILS_H_
#define _UTILS_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <ctype.h>
#ifdef TM_IN_SYS_TIME
#include <sys/time.h>
#else
#include <time.h>
#endif
#include "memory.h"
#ifdef WIN32
#define strncasecmp strnicmp
#define snprintf _snprintf
#define lstat stat
#define vsnprintf _vsnprintf
#endif
#define TMPNAMESIZE 8
extern char *_tmpnameprefix;
char *__ILWS_stristr(char *, const char *);
char *__ILWS_tmpfname();
int __ILWS_base64decode(char *, const char *);
char *__ILWS_date(time_t,const char *);
#endif
|