aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-25 01:45:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-25 01:45:31 -0400
commit6ffd8467af7c6138196930116fecf27fca9b8604 (patch)
tree3a6070c00b3833c12991ad7e05a59fd20ae1aba8 /lib
parentbfb829b1fe85911a84454d6da1948910f42b2c5c (diff)
Update file header comments
Diffstat (limited to 'lib')
-rw-r--r--lib/commands/commands.c2
-rw-r--r--lib/patterns/match_type.h2
-rw-r--r--lib/random/chacha.h2
-rw-r--r--lib/random/sysrandom.h2
-rw-r--r--lib/time/time_defs.h2
5 files changed, 10 insertions, 0 deletions
diff --git a/lib/commands/commands.c b/lib/commands/commands.c
index 41f5b7ef..110ae696 100644
--- a/lib/commands/commands.c
+++ b/lib/commands/commands.c
@@ -1,3 +1,5 @@
+// Logic for running system commands
+
#pragma once
#include <errno.h>
diff --git a/lib/patterns/match_type.h b/lib/patterns/match_type.h
index 911d66fc..f85f1862 100644
--- a/lib/patterns/match_type.h
+++ b/lib/patterns/match_type.h
@@ -1,3 +1,5 @@
+// A datatype used for pattern match results
+
#pragma once
typedef struct {
diff --git a/lib/random/chacha.h b/lib/random/chacha.h
index a98c0b87..22015819 100644
--- a/lib/random/chacha.h
+++ b/lib/random/chacha.h
@@ -1,3 +1,5 @@
+// The ChaCha stream cipher used for pseudorandom number generation
+
#pragma once
/*
chacha-merged.c version 20080118
diff --git a/lib/random/sysrandom.h b/lib/random/sysrandom.h
index 8acec5b7..3d6b800f 100644
--- a/lib/random/sysrandom.h
+++ b/lib/random/sysrandom.h
@@ -1,3 +1,5 @@
+// Logic for using system random numbers
+
#pragma once
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
diff --git a/lib/time/time_defs.h b/lib/time/time_defs.h
index 214c26b9..eac3f23a 100644
--- a/lib/time/time_defs.h
+++ b/lib/time/time_defs.h
@@ -1,3 +1,5 @@
+// Some helper logic for working with times.
+
#pragma once
#include <stdlib.h>
#include <sys/time.h>