Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill now unused xbt_getline().
[simgrid.git] / include / xbt / file.h
1 /* Copyright (c) 2007-2017. 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 XBT_FILE_H
8 #define XBT_FILE_H
9
10 #include <xbt/base.h>
11
12 SG_BEGIN_DECL()
13
14 /** @defgroup XBT_file File manipulation functions
15  *  @ingroup XBT_misc
16  *
17  * This module redefine some quite classical functions such as xbt_dirname() or xbt_basename() for the platforms
18  * lacking them.
19  * @{
20  */
21 /* Our own implementation of dirname, that does not exist on windows */
22 XBT_PUBLIC(char *) xbt_dirname(const char *path);
23 XBT_PUBLIC(char *) xbt_basename(const char *path);
24
25 /**@}*/
26
27 SG_END_DECL()
28 #endif                          /* XBT_FILE_H */