X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b14512ff2a75b435a9d0b8f8810b3a22ad3a309..f725137b36b0a847bfab6401dc3130670a62910a:/include/xbt/file.h diff --git a/include/xbt/file.h b/include/xbt/file.h index 8f6941a540..b22a004e46 100644 --- a/include/xbt/file.h +++ b/include/xbt/file.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. +/* Copyright (c) 2007-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,27 +7,17 @@ #ifndef XBT_FILE_H #define XBT_FILE_H -#include /* ssize_t */ -#include /* va_* */ -#include /* FILE */ -#include /* size_t, ssize_t */ -#include "xbt/misc.h" -#include "xbt/dynar.h" -#include "xbt/dict.h" -#include "simgrid_config.h" /* FILE for getline */ +#include SG_BEGIN_DECL() /** @defgroup XBT_file File manipulation functions * @ingroup XBT_misc * - * This module redefine some quite classical functions such as xbt_getline() or xbt_dirname() for the platforms + * This module redefine some quite classical functions such as xbt_dirname() or xbt_basename() for the platforms * lacking them. * @{ */ -/* Our own implementation of getline, mainly useful on the platforms not enjoying this function */ -XBT_PUBLIC(ssize_t) xbt_getline(char **lineptr, size_t * n, FILE * stream); - /* Our own implementation of dirname, that does not exist on windows */ XBT_PUBLIC(char *) xbt_dirname(const char *path); XBT_PUBLIC(char *) xbt_basename(const char *path);