OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
buffer.h
Go to the documentation of this file.
1 
2 #ifndef __OLOG_BUFFER_H_
3 #define __OLOG_BUFFER_H_
4 
5 #include "olog.h"
6 #include "phash.h"
7 
8 #include <stdio.h>
9 #include <stdlib.h>
10 
11 typedef struct olog_buffer {
14 } olog_buffer;
15 
16 olog_backend olog_backend_buffer(size_t initial_size, int8_t min_log_level, int8_t max_log_level);
18 
19 #endif /* __OLOG_BUFFER_H_ */
olog_backend olog_backend_buffer(size_t initial_size, int8_t min_log_level, int8_t max_log_level)
Definition: buffer.c:76
A simple logger, capable of dispatching log events to multiple end points.
A simple dictionary library for storing pointers.
char * buffer_current
Definition: buffer.h:12
char * buffer_start
Definition: buffer.h:12
void olog_backend_buffer_clear(olog_backend *backend)
Definition: buffer.c:95
size_t buffer_size
Definition: buffer.h:13
size_t buffer_size_max
Definition: buffer.h:13