X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..04fa61785ae1ecb5e5233ef0cb6d24145120d95e:/src/xbt/log_private.h diff --git a/src/xbt/log_private.h b/src/xbt/log_private.h index 204e5cb21c..f0baf8cf5b 100644 --- a/src/xbt/log_private.h +++ b/src/xbt/log_private.h @@ -1,6 +1,4 @@ -/* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */ - -/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2007-2011, 2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -17,14 +15,11 @@ struct xbt_log_appender_s { }; struct xbt_log_layout_s { - void (*do_layout) (xbt_log_layout_t l, - xbt_log_event_t event, const char *fmt, - xbt_log_appender_t appender); + int (*do_layout) (xbt_log_layout_t l, xbt_log_event_t event, const char *fmt); void (*free_) (xbt_log_layout_t l); void *data; }; - /** * \ingroup XBT_log_implem * \param cat the category (not only its name, but the variable) @@ -32,8 +27,7 @@ struct xbt_log_layout_s { * * Programatically alter a category's parent (don't use). */ -XBT_PUBLIC(void) xbt_log_parent_set(xbt_log_category_t cat, - xbt_log_category_t parent); +XBT_PUBLIC(void) xbt_log_parent_set(xbt_log_category_t cat, xbt_log_category_t parent); -#endif /* LOG_PRIVATE_H */ +#endif /* LOG_PRIVATE_H */