view libsip/grok_from.h @ 93:ff5e96162430

libsip: new function for extracting Call-ID and CSeq from responses
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 24 Sep 2022 15:13:53 -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;
};