4 /* Type definitions for the Data Store Server. */
6 #include <minix/config.h>
8 #include <minix/bitmap.h>
9 #include <minix/param.h>
12 #define NR_DS_KEYS (2*NR_SYS_PROCS) /* number of entries */
13 #define NR_DS_SUBS (4*NR_SYS_PROCS) /* number of subscriptions */
14 #define NR_DS_SNAPSHOT 5 /* number of snapshots */
16 /* Base 'class' for the following 3 structs. */
19 char key
[DS_MAX_KEYLEN
]; /* key to lookup information */
20 char owner
[DS_MAX_KEYLEN
];
33 void *snapshots
[NR_DS_SNAPSHOT
];
41 char owner
[DS_MAX_KEYLEN
];
43 bitchunk_t old_subs
[BITMAP_CHUNKS(NR_DS_KEYS
)];
46 #endif /* _DS_STORE_H_ */