From 7bfdb87d7d7a00b0a6998ddb3ff6ac378c76b1e2 Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 4 Apr 2024 20:56:43 +0300 Subject: [PATCH] add license notice --- README.md | 10 +++++----- src/ctorm.c | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 796416e..a4f6243 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ Benchmark results for hello world applications (see [benchmark](benchmark/)): | Framework | Time per request | | ---------------- | ---------------- | -| Crow (C++) | 3.983 ms | -| Fiber (Go) | 4.818 ms | -| **Ctorm (C)** | **5.071 ms** | -| Tide (Rust) | 10.584 ms | -| Express (NodeJS) | 24.873 ms | +| Crow (C++) | ~3.9 ms | +| Fiber (Go) | ~4.8 ms | +| **Ctorm (C)** | **~5.0 ms** | +| Tide (Rust) | ~10.5 ms | +| Express (NodeJS) | ~24.8 ms | ### Installation You will need the following software in order to build and install ctorm: diff --git a/src/ctorm.c b/src/ctorm.c index 6a0f4a2..fe69f0a 100644 --- a/src/ctorm.c +++ b/src/ctorm.c @@ -1,3 +1,23 @@ +/* + + * ctorm | Simple web framework for C + * Written by ngn (https://ngn.tf) (2024) + + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + +*/ + #include "../include/errors.h" #include "../include/socket.h" #include "../include/ctorm.h"