From 49a4cf04b4dd3083dfcba4206a36c1382faedda4 Mon Sep 17 00:00:00 2001 From: sojkam Date: Sat, 1 Nov 2008 20:20:04 +0000 Subject: [PATCH] fna_vres_id_t definition depends on kind of FRSH implementations git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1360 35b4ef3e-fd22-0410-ab77-dab3279adceb --- include/fna.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/fna.h b/include/fna.h index 475e766..25992a8 100644 --- a/include/fna.h +++ b/include/fna.h @@ -137,6 +137,7 @@ typedef int fna_init_t(const frsh_resource_id_t resource_id); * @{ **/ +#ifndef FRSH_FORB /** * fna_vres_id_t * @@ -146,6 +147,13 @@ typedef int fna_init_t(const frsh_resource_id_t resource_id); * **/ typedef uint16_t fna_vres_id_t; +#else +/** + * In FRSH_FORB implementation, we do not distinguish between vreses + * of different resources. + */ +typedef frsh_vres_id_t fna_vres_id_t; +#endif /** * fna_contract_negotiate() -- 2.39.2