]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - fwp/lib/mngt/fwp_mngt.h
fwp_mngr_hello simplification by use of fwp_mngt_send
[frescor/fwp.git] / fwp / lib / mngt / fwp_mngt.h
1 /* FWP Lib communication routines */
2 #ifndef _FWP_MNGT_H
3 #define _FWP_MNGT_H
4
5 #include "fwp_msg.h"
6
7 #include "fwp_util.h"
8 #include "fwp_endpoint.h"
9
10 #define FWP_MNGR_STREAM_ID      3000
11 #define FWP_MNGT_DISCOVERY_STREAM_ID    3000
12
13 extern fwp_participant_t        *fwp_participant_this;
14 extern fwp_participant_t        *fwp_participant_mngr;
15
16 int fwp_mngt_send(fwp_msg_type_t type,fwp_msgb_t *msgb,
17                   fwp_participant_t *source, fwp_participant_t *dest);
18 int fwp_mngt_recv(fwp_msg_type_t *type, fwp_participant_id_t *participant_id,
19                         fwp_msgb_t *msgb);
20
21 int fwp_mngt_init();
22 int fwp_mngt_service_vres_create(fwp_vres_d_t* fwp_service_vresd);
23
24 #endif /* _FWP_MNGT_H */
25