diff libsip/grok_from.h @ 51:36a30349b490

sip-in: parse INVITE From header
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Sep 2022 17:53:10 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libsip/grok_from.h	Wed Sep 07 17:53:10 2022 -0800
@@ -0,0 +1,14 @@
+/*
+ * 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;
+};