blob: 0b215021e3ad1d3eb06e2afea2d8a20063477ce2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/*
Copyright (C) 2017-2020, Dirk Krause
SPDX-License-Identifier: BSD-3-Clause
*/
/*
WARNING: This file was generated by the dkct program (see
http://dktools.sourceforge.net/ for details).
Changes you make here will be lost if dkct is run again!
You should modify the original source and run dkct on it.
Original source: dk3strkv.ctr
*/
/** @file dk3strkv.h Header file for the dk3strkv module.
*/
#ifndef DK3STRKV_H_INCLUDED
/** Avoid multiple inclusions. */
#define DK3STRKV_H_INCLUDED 1
#line 7 "dk3strkv.ctr"
#ifdef __cplusplus
extern "C" {
#endif
/** Convert input line into key value pairs.
@param kvp Array of key value structures for results.
@param szp Size of array (in), used elements (out).
@param il Input line to process.
@param app Application structure for diagnostics, may be NULL.
@return 1 on success (number of elements in sz), 0 on error.
*/
int
dk3str_to_key_value(
dk3_key_value_t *kvp,
size_t *szp,
dkChar *il,
dk3_app_t *app
);
#ifdef __cplusplus
}
#endif
#endif
|