]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - fwp/lib/mngt/fwp_resource.h
Added support for contract negotiation
[frescor/fwp.git] / fwp / lib / mngt / fwp_resource.h
1 /**
2  * \file fwp_resource.h
3  *
4  * NOT USED!!
5  *
6  *
7  */
8 #ifndef _FWP_RESOURCE_H
9 #define _FWP_RESOURCE_H
10
11 typedef unsigned int fwp_resource_id_t;
12 typedef unsigned int fwp_resource_d_t;
13
14 /*typedef struct fwp_resource_d {
15         unsigned int major;
16         unsigned int minor;
17 } fwp_resource_d_t; */
18
19 typedef struct fwp_resource {
20         char                    name[10];
21         fwp_resource_id_t       id;
22         fwp_participant_t       *participant_my;
23         fwp_participant_t       *participant_mngr;
24         void                    *contract_ops;
25         void                    *fna_ops;
26         void                    *contract_table;
27 } fwp_resource_t;
28
29 #endif /* _FWP_RESOURCE_H */