view libsip/uas_basic.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 5427b26525cd
children
line wrap: on
line source

/*
 * Here we define struct uas_parse_hdrs, a structure that captures
 * the 5 essential header fields that must be present in every
 * received request in order for us to be able to respond to it.
 */

struct uas_parse_hdrs {
	char		*from;
	char		*to;
	char		*call_id;
	unsigned	cseq_num;
	char		*via;
	char		*error_field;
};