mirror of
https://github.com/log-chipper/chipper.git
synced 2026-06-11 17:23:23 -05:00
22 lines
392 B
C
22 lines
392 B
C
/**
|
|
* @file chipper_common.h
|
|
* @author Darwin Cereska (darwin@darwincereska.dev)
|
|
* @brief Standard options and small helpers
|
|
*/
|
|
|
|
#ifndef CHIPPER_COMMON_H
|
|
#define CHIPPER_COMMON_H
|
|
|
|
#include <stdio.h>
|
|
|
|
#define CHIPPER_BUFFER_SIZE 4096
|
|
|
|
typedef struct {
|
|
const char *socket_path;
|
|
const char *log_path;
|
|
} ChipperOptions;
|
|
|
|
void chipper_die(const char *msg);
|
|
|
|
#endif // CHIPPER_COMMON_H
|