00001 /* Type definitions for the Data Store Server. */ 00002 struct data_store { 00003 int ds_flags; /* flags for this store */ 00004 int ds_key; /* key to lookup information */ 00005 long ds_val_l1; /* data associated with key */ 00006 long ds_val_l2; /* data associated with key */ 00007 long ds_auth; /* secret given by owner of data */ 00008 int ds_nr_subs; /* number of subscribers for key */ 00009 }; 00010 00011 /* Flag values. */ 00012 #define DS_IN_USE 0x01 00013 #define DS_PUBLIC 0x02 00014 00015 /* Constants for the Data Store Server. */ 00016 #define NR_DS_KEYS 64 /* reserve space for so many items */ 00017 00018 00019
1.4.6