2 Commits

Author SHA1 Message Date
darwincereska 04bb1c71fc feat: fixed go code 2026-04-14 14:46:28 -04:00
Cereska af8782c8b8 deps: added toml-c 2026-04-14 08:19:55 -04:00
11 changed files with 50 additions and 15 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
package v1
package chipper
import (
"fmt"
+4 -3
View File
@@ -1,7 +1,8 @@
/**
* @file chipper_common.h
* @brief Common definitions and small helpers
*/
* @file chipper_common.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Standard options and small helpers
*/
#ifndef CHIPPER_COMMON_H
#define CHIPPER_COMMON_H
+5
View File
@@ -0,0 +1,5 @@
/**
* @file chipper_config.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief
*/
+4 -2
View File
@@ -1,6 +1,8 @@
/**
* @file chipper_daemon
*/
* @file chipper_daemon.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Daemon functions
*/
#ifndef CHIPPER_DAEMON_H
#define CHIPPER_DAEMON_H
+4 -3
View File
@@ -1,7 +1,8 @@
/**
* @file chipper_log.h
* @brief Low-level log output
*/
* @file chipper_log.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Logging functions
*/
#ifndef CHIPPER_LOG_H
#define CHIPPER_LOG_H
+3 -2
View File
@@ -1,6 +1,7 @@
/**
* @file chipper_common.c
*/
* @file chipper_common.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_common.h"
#include <stdlib.h>
+3 -2
View File
@@ -1,6 +1,7 @@
/**
* @file chipper_daemon.c
*/
* @file chipper_daemon.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_daemon.h"
#include "chipper_log.h"
+3 -2
View File
@@ -1,6 +1,7 @@
/**
* @file chipper_log.c
*/
* @file chipper_log.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_log.h"
#include "chipper_common.h"
+5
View File
@@ -1,3 +1,8 @@
/**
* @file main.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_daemon.h"
#include "chipper_common.h"
#include <stdio.h>
@@ -0,0 +1,11 @@
project('toml-c', 'c', version: '1.0.0')
toml_lib = static_library('toml',
'toml.c',
include_directories: include_directories('.')
)
toml_dep = declare_dependency(
include_directories: include_directories('.'),
link_with: toml_lib
)
+7
View File
@@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/arp242/toml-c.git
revision = main
depth = 1
[provide]
toml-c = toml_dep