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 ( import (
"fmt" "fmt"
+2 -1
View File
@@ -1,6 +1,7 @@
/** /**
* @file chipper_common.h * @file chipper_common.h
* @brief Common definitions and small helpers * @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Standard options and small helpers
*/ */
#ifndef CHIPPER_COMMON_H #ifndef CHIPPER_COMMON_H
+5
View File
@@ -0,0 +1,5 @@
/**
* @file chipper_config.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief
*/
+3 -1
View File
@@ -1,5 +1,7 @@
/** /**
* @file chipper_daemon * @file chipper_daemon.h
* @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Daemon functions
*/ */
#ifndef CHIPPER_DAEMON_H #ifndef CHIPPER_DAEMON_H
+2 -1
View File
@@ -1,6 +1,7 @@
/** /**
* @file chipper_log.h * @file chipper_log.h
* @brief Low-level log output * @author Darwin Cereska (darwin@darwincereska.dev)
* @brief Logging functions
*/ */
#ifndef CHIPPER_LOG_H #ifndef CHIPPER_LOG_H
+1
View File
@@ -1,5 +1,6 @@
/** /**
* @file chipper_common.c * @file chipper_common.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/ */
#include "chipper_common.h" #include "chipper_common.h"
+1
View File
@@ -1,5 +1,6 @@
/** /**
* @file chipper_daemon.c * @file chipper_daemon.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/ */
#include "chipper_daemon.h" #include "chipper_daemon.h"
+1
View File
@@ -1,5 +1,6 @@
/** /**
* @file chipper_log.c * @file chipper_log.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/ */
#include "chipper_log.h" #include "chipper_log.h"
+5
View File
@@ -1,3 +1,8 @@
/**
* @file main.c
* @author Darwin Cereska (darwin@darwincereska.dev)
*/
#include "chipper_daemon.h" #include "chipper_daemon.h"
#include "chipper_common.h" #include "chipper_common.h"
#include <stdio.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