diff options
author | Aaron Ball <nullspoon@oper.io> | 2018-05-18 08:21:56 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2018-05-18 08:24:35 -0600 |
commit | 9de9c5bb26bc73a5b45b43b1c55cff67b1be17af (patch) | |
tree | 47ad0da7332661836028f339e86e513e6ad37114 /str.h | |
download | cini-9de9c5bb26bc73a5b45b43b1c55cff67b1be17af.tar.gz cini-9de9c5bb26bc73a5b45b43b1c55cff67b1be17af.tar.xz |
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.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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*); |