mirror of
https://github.com/log-chipper/chipper.git
synced 2026-06-11 09:13:23 -05:00
4a0aabce43
- Simple unix daemon - Python, Go, and C client
21 lines
338 B
C
21 lines
338 B
C
/**
|
|
* @file chipper_common.h
|
|
* @brief Common definitions 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
|