view libsip/grok_from.h @ 257:cb440d003976

sip-out: add libnumdb2 infra in prep for E911 routing
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 15 Aug 2023 10:50:37 -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;
};