Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New actions for the time independent trace replay framework:
[simgrid.git] / src / msg / msg_new_api.c
1 /* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012. 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 #include "msg_private.h"
8 #include "xbt/log.h"
9
10 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_new_API, msg,
11                                 "Logging specific to MSG (new_API)");
12
13
14 /* ****************************************************************************************** */
15 /* TUTORIAL: New API                                                                        */
16 /* All functions for the API                                                                  */
17 /* ****************************************************************************************** */
18 int MSG_new_API_fct(const char* param1, double param2)
19 {
20   int result = simcall_new_api_fct(param1, param2);
21   return result;
22 }