1 /* Copyright (c) 2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 #ifndef SIMGRID_SURF_CALLBACKS_H
8 #define SIMGRID_SURF_CALLBACKS_H
12 * C interface for the C++ SURF callbacks.
16 #include "simgrid/host.h"
17 #include "simgrid/msg.h"
21 XBT_PRIVATE void surf_on_host_created(void (*callback)(sg_host_t));
22 XBT_PRIVATE void surf_on_storage_created(void (*callback)(sg_storage_t));