summaryrefslogtreecommitdiff
path: root/support/dktools/dk3strkv.h
blob: 0e1ded43b4916e2768eda291a460210ecccf98be (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
/*
	WARNING: This file was generated by dkct.
	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 4 "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