Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup windows portability in there
[simgrid.git] / src / xbt / log_private.h
1 /* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */
2
3 /* Copyright (c) 2003-2007 Martin Quinson. All rights reserved.             */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef LOG_PRIVATE_H
9 #define LOG_PRIVATE_H
10
11 #include "xbt/log.h"
12 struct xbt_log_appender_s {
13   void (*do_append) (xbt_log_appender_t this_appender,
14                      char *event);
15   void (*free_) (xbt_log_appender_t this_);
16   void *data;
17 };
18
19 struct xbt_log_layout_s {
20   void (*do_layout)(xbt_log_layout_t l,
21                     xbt_log_event_t event, const char *fmt,
22                     xbt_log_appender_t appender);
23   void (*free_) (xbt_log_layout_t l);
24   void *data;
25 } ;
26
27
28 #endif /* LOG_PRIVATE_H */