X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7ddbdc25753a729517ed23899c83eb808acdd50f..3bef281ca99926ea1a62e27d39c8fbfae05f0318:/src/xbt/log_private.hpp diff --git a/src/xbt/log_private.hpp b/src/xbt/log_private.hpp index 0fcbc97cb7..e49cb065ea 100644 --- a/src/xbt/log_private.hpp +++ b/src/xbt/log_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -8,14 +8,14 @@ #include "xbt/log.h" struct xbt_log_appender_s { - void (*do_append) (xbt_log_appender_t this_appender, char *event); - void (*free_) (xbt_log_appender_t this_); + void (*do_append)(const s_xbt_log_appender_t* this_appender, const char* event); + void (*free_)(const s_xbt_log_appender_t* this_); void *data; }; struct xbt_log_layout_s { - int (*do_layout) (xbt_log_layout_t l, xbt_log_event_t event, const char *fmt); - void (*free_) (xbt_log_layout_t l); + int (*do_layout)(const s_xbt_log_layout_t* l, xbt_log_event_t event, const char* fmt); + void (*free_)(const s_xbt_log_layout_t* l); void *data; }; @@ -24,7 +24,7 @@ struct xbt_log_layout_s { * @param cat the category (not only its name, but the variable) * @param parent the parent cat * - * Programatically alter a category's parent (don't use). + * Programmatically 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);