OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
buffer.c File Reference
#include "olog.h"
#include "olog/buffer.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for buffer.c:

Go to the source code of this file.

Macros

#define BUFFER_INCREASE   2
 

Functions

olog_backend olog_backend_buffer (size_t initial_size, int8_t min_log_level, int8_t max_log_level)
 
void olog_backend_buffer_clear (olog_backend *backend)
 

Macro Definition Documentation

◆ BUFFER_INCREASE

#define BUFFER_INCREASE   2

Definition at line 7 of file buffer.c.

Function Documentation

◆ olog_backend_buffer()

olog_backend olog_backend_buffer ( size_t  initial_size,
int8_t  min_log_level,
int8_t  max_log_level 
)

Definition at line 76 of file buffer.c.

◆ olog_backend_buffer_clear()

void olog_backend_buffer_clear ( olog_backend backend)

Definition at line 95 of file buffer.c.