4 /* Type definitions for the Data Store Server. */
6 #include <minix/sys_config.h>
8 #include <minix/bitmap.h>
11 #define NR_DS_KEYS 64 /* number of entries */
12 #define NR_DS_SUBS (4*_NR_SYS_PROCS) /* number of subscriptions */
13 #define NR_DS_SNAPSHOT 5 /* number of snapshots */
15 /* Base 'class' for the following 3 structs. */
18 char key
[DS_MAX_KEYLEN
]; /* key to lookup information */
19 char owner
[DS_MAX_KEYLEN
];
32 void *snapshots
[NR_DS_SNAPSHOT
];
40 char owner
[DS_MAX_KEYLEN
];
42 bitchunk_t old_subs
[BITMAP_CHUNKS(NR_DS_KEYS
)];
45 #endif /* _DS_STORE_H_ */