summaryrefslogtreecommitdiff
path: root/str.h
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2018-05-18 08:21:56 -0600
committerAaron Ball <nullspoon@oper.io>2018-05-18 08:24:35 -0600
commit9de9c5bb26bc73a5b45b43b1c55cff67b1be17af (patch)
tree47ad0da7332661836028f339e86e513e6ad37114 /str.h
downloadcini-9de9c5bb26bc73a5b45b43b1c55cff67b1be17af.tar.gz
cini-9de9c5bb26bc73a5b45b43b1c55cff67b1be17af.tar.xz
Initial commitHEADmaster
Will return ini sections, with and without keys (--no-keys). Will also return all lines with matching keys, regardless of section. All source files contain GPLv3 license header
Diffstat (limited to 'str.h')
-rw-r--r--str.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/str.h b/str.h
new file mode 100644
index 0000000..a4e33cd
--- /dev/null
+++ b/str.h
@@ -0,0 +1,24 @@
+// Cini is a command line tool to parse ini files
+// Copyright (C) 2018 Aaron Ball <nullspoon@oper.io>
+//
+// 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 <http://www.gnu.org/licenses/>.
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+
+void trim(char*, char*);
+
+void split(char*, char, int, char*);

Generated by cgit