#include "inc.h"Include dependency graph for store.c:

Go to the source code of this file.
Functions | |
| PRIVATE | _PROTOTYPE (int find_key,(int key, struct data_store **dsp)) |
| PRIVATE | _PROTOTYPE (int set_owner,(struct data_store *dsp, void *auth_ptr)) |
| PRIVATE int | set_owner (struct data_store *dsp, void *ap) |
| PRIVATE int | is_authorized (struct data_store *dsp, void *ap) |
| PRIVATE int | find_key (int key, struct data_store **dsp) |
| PUBLIC int | do_publish (message *m_ptr) |
| PUBLIC int | do_retrieve (message *m_ptr) |
| PUBLIC int | do_subscribe (message *m_ptr) |
| PUBLIC int | do_getsysinfo (message *m_ptr) |
Variables | |
| PRIVATE struct data_store | ds_store [NR_DS_KEYS] |
| PRIVATE int | nr_in_use |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 140 of file store.c. References ds_store, EINVAL, if(), NR_DS_KEYS, OK, s, SELF, SI_DATA_STORE, and sys_datacopy. Referenced by main(). |
|
|
Definition at line 49 of file store.c. References data_store::ds_flags, DS_IN_USE, data_store::ds_key, data_store::ds_nr_subs, DS_PUBLIC, ds_store, data_store::ds_val_l1, data_store::ds_val_l2, EAGAIN, EINVAL, EPERM, find_key(), is_authorized(), NR_DS_KEYS, nr_in_use, OK, and set_owner(). Referenced by main(). |
|
|
Definition at line 97 of file store.c. References data_store::ds_flags, data_store::ds_key, DS_PUBLIC, data_store::ds_val_l1, data_store::ds_val_l2, EPERM, ESRCH, find_key(), is_authorized(), OK, and printf. Referenced by main(). |
|
|
Definition at line 125 of file store.c. References ENOSYS. Referenced by main(). |
|
||||||||||||
|
Definition at line 32 of file store.c. References data_store::ds_flags, DS_IN_USE, data_store::ds_key, ds_store, i, NR_DS_KEYS, NULL, and TRUE. |
|
||||||||||||
|
Definition at line 23 of file store.c. References TRUE. Referenced by do_publish(), and do_retrieve(). |
|
||||||||||||
|
Definition at line 14 of file store.c. References TRUE. Referenced by do_publish(). |
|
|
Definition at line 6 of file store.c. Referenced by do_getsysinfo(), do_publish(), and find_key(). |
|
|
Definition at line 7 of file store.c. Referenced by do_publish(), do_up(), and init_server(). |
1.4.6