ReactOS  0.4.14-dev-317-g96040ec
ls.h
Go to the documentation of this file.
1 /* ls.h
2  *
3  * Copyright (c) 1992-2001 by Mike Gleason.
4  * All rights reserved.
5  *
6  */
7 
8 #define kLsCacheItemLifetime 900 /* seconds */
9 
10 typedef struct LsCacheItem {
11  char *itempath;
14  int hits;
15 } LsCacheItem;
16 
17 #define kLsCacheSize 32
18 
19 /* ls.c */
20 void InitLsCache(void);
21 void InitLsMonths(void);
22 void InitLs(void);
23 void FlushLsCache(void);
24 int LsCacheLookup(const char *const);
25 void LsDate(char *, time_t);
26 void LsL(FileInfoListPtr, int, int, FILE *);
27 void Ls1(FileInfoListPtr, int, FILE *);
28 void Ls(const char *const, int, const char *const, FILE *);
29 void LLs(const char *const, int, const char *const, FILE *);
void LsL(FileInfoListPtr, int, int, FILE *)
Definition: ls.c:284
void FlushLsCache(void)
Definition: ls.c:94
Definition: ls.h:10
char * itempath
Definition: ls.h:11
void Ls1(FileInfoListPtr, int, FILE *)
Definition: ls.c:419
void LLs(const char *const, int, const char *const, FILE *)
void LsDate(char *, time_t)
Definition: ls.c:250
struct LsCacheItem LsCacheItem
FileInfoList fil
Definition: ls.h:12
void Ls(const char *const, int, const char *const, FILE *)
Definition: ls.c:465
void InitLsCache(void)
Definition: ls.c:36
time_t expiration
Definition: ls.h:13
__kernel_time_t time_t
Definition: linux.h:252
void InitLs(void)
Definition: ls.c:68
int hits
Definition: ls.h:14
int LsCacheLookup(const char *const)
Definition: ls.c:110
void InitLsMonths(void)
Definition: ls.c:47