1 /* platf_interface.h - Internal interface to the SimGrid platforms */
3 /* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010, 2011. The SimGrid Team.
4 * All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
9 #ifndef SG_PLATF_INTERFACE_H
10 #define SG_PLATF_INTERFACE_H
12 #include "simgrid/platf.h" /* public interface */
14 /* Module management functions */
15 void sg_platf_init(void);
16 void sg_platf_exit(void);
18 /* Managing the parsing callbacks */
20 typedef void (*surf_parse_host_fct_t)(surf_parsing_host_arg_t);
21 void surf_parse_host_add_cb(surf_parse_host_fct_t);
23 void surf_parse_host(surf_parsing_host_arg_t h);
27 #endif /* SG_PLATF_INTERFACE_H */