Added some definitions for the generic syscalls. Cache modules should currently
be located in the "file_cache" directory - this might or might be changed later. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10602 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,6 +11,14 @@
|
|||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
|
|
||||||
|
// temporary/optional cache syscall API
|
||||||
|
#define CACHE_SYSCALLS "cache"
|
||||||
|
|
||||||
|
#define CACHE_CLEAR 1 // takes no parameters
|
||||||
|
#define CACHE_SET_MODULE 2 // gets the module name as parameter
|
||||||
|
|
||||||
|
#define CACHE_MODULES_NAME "file_cache"
|
||||||
|
|
||||||
struct cache_module_info {
|
struct cache_module_info {
|
||||||
module_info info;
|
module_info info;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user