view libsip/grok_from.h @ 145:4b685a5d9bd4

sip-in code: split invite.c into 3 separate C modules
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Oct 2022 19:31:05 -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;
};