diff libsip/uas_basic.h @ 46:5427b26525cd

libsip: beginning to flesh out
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Sep 2022 20:29:44 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libsip/uas_basic.h	Tue Sep 06 20:29:44 2022 -0800
@@ -0,0 +1,14 @@
+/*
+ * 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;
+};