source: trunk/minix/servers/ds/store.h@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 551 bytes
Line 
1/* Type definitions for the Data Store Server. */
2struct data_store {
3 int ds_flags; /* flags for this store */
4 int ds_key; /* key to lookup information */
5 long ds_val_l1; /* data associated with key */
6 long ds_val_l2; /* data associated with key */
7 long ds_auth; /* secret given by owner of data */
8 int ds_nr_subs; /* number of subscribers for key */
9};
10
11/* Flag values. */
12#define DS_IN_USE 0x01
13#define DS_PUBLIC 0x02
14
15/* Constants for the Data Store Server. */
16#define NR_DS_KEYS 64 /* reserve space for so many items */
17
18
19
Note: See TracBrowser for help on using the repository browser.