view libsip/grok_from.h @ 236:38cac1cbe010

libnumdb2: port check_short.c
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 14:16:07 -0800
parents 36a30349b490
children
line wrap: on
line source

/*
 * Here we define the structure used to capture the result
 * of From header field parsing.
 */

struct grok_from {
	char		*uri;
	unsigned	uri_len;
	char		*user;
	unsigned	user_len;
	char		*cnam;
	unsigned	cnam_len;
	int		cnam_quoted;
};