TaPAS  0.2
ccl-time.h
Go to the documentation of this file.
1 /*
2  * ccl-time.h -- Retrieve current time
3  *
4  * This file is a part of the C Common Library (CCL) project.
5  *
6  * Copyright (C) 2010 CNRS UMR 5800 & Université Bordeaux I (see AUTHORS file).
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the AltaRica Public License that comes with this
10  * package.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  */
16 
22 #ifndef __CCL_TIME_H__
23 # define __CCL_TIME_H__
24 
25 # include <ccl/ccl-log.h>
26 
27 BEGIN_C_DECLS
28 
29 extern uint32_t
30 ccl_time_get_in_milliseconds (void);
31 
32 extern void
33 ccl_time_get_hms (uint32_t t, uint32_t *h, uint32_t *m, uint32_t *s,
34  uint32_t *ms);
35 
36 extern void
37 ccl_time_log (ccl_log_type log, uint32_t t);
38 
39 END_C_DECLS
40 
41 #endif /* ! __CCL_TIME_H__ */
enum ccl_log_type_enum ccl_log_type
Enum that indicates which kind of message has to be displayed. Each kind of message can be displayed ...
Definition: ccl-log.h:50
Message displayer.