3 /* datadesc_interface - declarations visible within GRAS, but not public */
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 #ifndef GRAS_DATADESC_INTERFACE_H
12 #define GRAS_DATADESC_INTERFACE_H
14 #include "gras_private.h"
16 void gras_datadesc_init(void);
17 void gras_datadesc_exit(void);
20 /* free a given ddt */
21 void gras_ddt_free(gras_datadesc_type_t **type);
23 /* declare in the given set, and retrieve afterward */
24 gras_error_t gras_ddt_register(gras_set_t *set,
25 gras_datadesc_type_t *type);
26 gras_error_t gras_ddt_get_by_name(gras_set_t *set,
28 gras_datadesc_type_t **type);
31 /* create a type set, and bootstrap it by declaring all basic types in it */
33 gras_dd_typeset_create(int gras_arch,
37 #endif /* GRAS_DATADESC_INTERFACE_H */