3 /* datadesc - data description in order to send/recv it in GRAS */
5 /* Authors: Olivier Aumage, Martin Quinson */
6 /* Copyright (C) 2003, 2004 the GRAS posse. */
8 /* This program is free software; you can redistribute it and/or modify it
9 under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "DataDesc/datadesc_private.h"
13 GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(DataDesc,GRAS);
14 /* FIXME: make this machine-dependent using a trick such as UserData*/
15 gras_set_t *gras_datadesc_set_local=NULL;
20 * Initialize the datadesc module
23 gras_datadesc_init(void) {
26 VERB0("Initializing DataDesc");
27 errcode = gras_set_new(&gras_datadesc_set_local);
28 gras_assert0(errcode==no_error,
29 "Impossible to create the data set containg locally known types");
35 * Finalize the datadesc module
38 gras_datadesc_exit(void) {
39 VERB0("Exiting DataDesc");
40 gras_set_free(&gras_datadesc_set_local);
45 *** BOOTSTRAPING FUNCTIONS: known within GRAS only