File: parameterstring.h

package info (click to toggle)
librudiments0 0.27-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,528 kB
  • ctags: 2,284
  • sloc: cpp: 14,657; sh: 7,547; ansic: 2,664; makefile: 945; xml: 15
file content (18 lines) | stat: -rw-r--r-- 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2003 David Muse
// See the COPYING file for more information

	private:
		namevaluepairs	nvp;
		char		delim;

		int	countPairs(const char *paramstring);
		char	*parseName(const char *data, char **outbuffer);
		char	*parseValue(const char *data, char **outbuffer);
		char	*parsePart(int len, char delimiter,
					const char *data, char **outbuffer,
					int quotes, int escapedchars);
		int	parseNameLength(const char *data);
		int	parseValueLength(const char *data);
		int	parsePartLength(const char *data, char delimiter,
						int quotes, int escapedchars);