-/* Copyright (c) 2007-2010, 2012-2013. The SimGrid Team.
+/* Copyright (c) 2007-2010, 2012-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include "simgrid/simix.h"
#include "smx_smurf_private.h"
+SG_BEGIN_DECL()
+
/** @brief Host datatype */
typedef struct s_smx_host_priv {
xbt_swag_t process_list;
return (smx_host_priv_t) xbt_lib_get_level(host, SIMIX_HOST_LEVEL);
}
-
-#ifdef __cplusplus
-extern "C" {
-#endif
void _SIMIX_host_free_process_arg(void *);
smx_host_t SIMIX_host_create(const char *name, void *workstation, void *data);
void SIMIX_host_destroy(void *host);
void SIMIX_host_set_params(smx_host_t ind_vm, ws_params_t params);
void SIMIX_pre_host_set_params(smx_simcall_t simcall, smx_host_t ind_vm, ws_params_t params);
-#ifdef __cplusplus
-}
-#endif
+
+SG_END_DECL()
#endif