3 /* gras/core.h - Unsorted part of the GRAS public interface */
5 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
13 #include <stddef.h> /* offsetof() */
14 #include <sys/types.h> /* size_t */
18 /*! C++ users need love */
21 # define BEGIN_DECL extern "C" {
27 /*! C++ users need love */
35 /* End of cruft for C++ */
39 /* **************************************************************************
40 * Garbage collection support
41 * **************************************************************************/
42 typedef enum { free_after_use, free_never } e_xbt_free_directive_t;
45 /* **************************************************************************
46 * Wrappers over OS functions
47 * **************************************************************************/
52 * Returns the fully-qualified name of the host machine, or NULL if the name
53 * cannot be determined. Always returns the same value, so multiple calls
57 gras_get_my_fqdn(void);
62 #endif /* GRAS_CORE_H */