Subversion Repositories freemyipod

Rev

Rev 782 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 782 Rev 898
Line 1... Line 1...
1
//
1
//
2
//
2
//
3
//    Copyright 2011 user890104
3
//    Copyright 2013 user890104
4
//
4
//
5
//
5
//
6
//    This file is part of emCORE.
6
//    This file is part of emCORE.
7
//
7
//
8
//    emCORE is free software: you can redistribute it and/or
8
//    emCORE is free software: you can redistribute it and/or
Line 18... Line 18...
18
//    You should have received a copy of the GNU General Public License along
18
//    You should have received a copy of the GNU General Public License along
19
//    with emCORE.  If not, see <http://www.gnu.org/licenses/>.
19
//    with emCORE.  If not, see <http://www.gnu.org/licenses/>.
20
//
20
//
21
//
21
//
22
 
22
 
23
 
-
 
24
#ifndef __CACHE_H__
23
#ifndef __CACHE_H__
25
#define __CACHE_H__
24
#define __CACHE_H__
26
 
25
 
27
#include "global.h"
26
#include "global.h"
28
 
27
 
29
 
-
 
30
void cache_init(void);
28
void cache_init(void);
31
struct emcore_dir_entry* cache_get(const char* name);
29
struct emcore_dir_entry *cache_get(const char *name);
32
void cache_insert(const char* dir_name, const struct emcore_dir_entry* entry);
30
void cache_insert(const char *dir_name, const struct emcore_dir_entry *entry);
33
void cache_remove(const char* dir_name);
31
void cache_remove(const char *dir_name);
34
void cache_destroy(void);
32
void cache_destroy(void);
35
 
33
 
36
#ifdef DEBUG2
34
#ifdef DEBUG2
37
void cache_dump(void);
35
void cache_dump(void);
38
#endif
36
#endif