FreeCalypso > hg > themwi-system-sw
annotate libsip/grok_from.h @ 200:834656633fa0
sip-manual-out TFO: use is_hunt_fill mechanism
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 02 Apr 2023 17:44:23 -0800 |
parents | 36a30349b490 |
children |
rev | line source |
---|---|
51
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * Here we define the structure used to capture the result |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * of From header field parsing. |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 */ |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 struct grok_from { |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 char *uri; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 unsigned uri_len; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 char *user; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 unsigned user_len; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 char *cnam; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 unsigned cnam_len; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 int cnam_quoted; |
36a30349b490
sip-in: parse INVITE From header
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 }; |