Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
efc947b4c3ebeabe2809d2a099d94e422a70ca1e
[simgrid.git] / src / surf / callbacks.h
1 /* Copyright (c) 2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
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. */
6
7 #ifndef SIMGRID_SURF_CALLBACKS_H
8 #define SIMGRID_SURF_CALLBACKS_H
9
10 /** \file callbacks.h
11  *
12  *  C interface for the C++ SURF callbacks.
13  */
14
15 #include <xbt/base.h>
16 #include "simgrid/host.h"
17
18 SG_BEGIN_DECL();
19
20 XBT_PRIVATE void surf_host_created_callback(void (*callback)(sg_host_t));
21
22 SG_END_DECL();
23
24 #endif