typedef enum {FRSH_CT_REGULAR, FRSH_CT_BACKGROUND, FRSH_CT_DUMMY} frsh_contract_type_t;
#define CONTRACT_LABEL_MAXLENGTH 15
-typedef char frsh_contract_label_t[CONTRACT_LABEL_MAXLENGTH];
+typedef char frsh_contract_label_t[CONTRACT_LABEL_MAXLENGTH + 1];
/**
* Contract parameters type; it is an opaque type (i.e. the internal
* exists, the function fails. The object is created according to the
* kind of object (protected or unprotected) specified by obj_kind
*
- * @param[in] obj_label Label defined by the application.
+ * @param[in] obj_label Label defined by the application. Char * for
+ * a string of SHAREDOBJ_LABEL_MAXLENGTH
+ * characters (+ null terminating \0).
*
* @param[in] obj_kind Whether it is protected or unprotected.
*
* obj_handle. Otherwise, an error code is returned by the function.
*
* @param[in] obj_label Defined by the application at object creation
- * time.
+ * time. Char * for a string of SHAREDOBJ_LABEL_MAXLENGTH
+ * characters (+ null terminating \0).
*
* @param[out] obj_handle Placeholder for the object handle.
*
typedef FRSH_SHAREDOBJ_HANDLE_T_OPAQUE frsh_sharedobj_handle_t;
+#define SHAREDOBJ_LABEL_MAXLENGTH 15
+typedef char frsh_sharedobj_label_t[CONTRACT_LABEL_MAXLENGTH + 1];
+
+
+
/**
* Kind of shared object protected or unprotected
*/