view libsip/grok_from.h @ 194:05d01e810217

libutil: add TFO message gen function based on Osmocom crc8gen
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Mar 2023 16:52:21 -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;
};