1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
  
     | 
    
      %{
#include <string.h>
#include <ctype.h>
#include "resip/stack/HeaderTypes.hxx"
namespace resip
{
using namespace std;
%}
struct headers { const char *name; Headers::Type type; };
%%
i, Headers::CallID
m, Headers::Contact
e, Headers::ContentEncoding
l, Headers::ContentLength
c, Headers::ContentType
f, Headers::From
s, Headers::Subject
k, Headers::Supported
t, Headers::To
v, Headers::Via
r, Headers::ReferTo
b, Headers::ReferredBy
x, Headers::SessionExpires
y, Headers::Identity
o, Headers::Event
cseq, Headers::CSeq
call-id, Headers::CallID
contact, Headers::Contact
content-length, Headers::ContentLength
expires, Headers::Expires
from, Headers::From
max-forwards, Headers::MaxForwards
route, Headers::Route
subject, Headers::Subject
to, Headers::To
via, Headers::Via
accept, Headers::Accept
accept-contact, Headers::AcceptContact
accept-encoding, Headers::AcceptEncoding
accept-language, Headers::AcceptLanguage
alert-info,Headers::AlertInfo
allow, Headers::Allow
authentication-info, Headers::AuthenticationInfo
call-info, Headers::CallInfo
content-disposition, Headers::ContentDisposition
content-id, Headers::ContentId
content-encoding, Headers::ContentEncoding
content-language, Headers::ContentLanguage
content-type, Headers::ContentType
content-transfer-encoding, Headers::ContentTransferEncoding
date, Headers::Date
error-info, Headers::ErrorInfo
in-reply-to, Headers::InReplyTo
min-expires, Headers::MinExpires
mime-version, Headers::MIMEVersion
organization, Headers::Organization
sec-websocket-key, Headers::SecWebSocketKey
sec-websocket-key1, Headers::SecWebSocketKey1
sec-websocket-key2, Headers::SecWebSocketKey2
sec-websocket-accept, Headers::SecWebSocketAccept
cookie, Headers::Cookie
origin, Headers::Origin
host, Headers::Host
priority, Headers::Priority
proxy-authenticate, Headers::ProxyAuthenticate
proxy-authorization, Headers::ProxyAuthorization
proxy-require, Headers::ProxyRequire
record-route, Headers::RecordRoute
reply-to, Headers::ReplyTo
require, Headers::Require
retry-after, Headers::RetryAfter
flow-timer, Headers::FlowTimer
server, Headers::Server
sip-etag, Headers::SIPETag
sip-if-match, Headers::SIPIfMatch
supported, Headers::Supported
timestamp, Headers::Timestamp
answer-mode, Headers::AnswerMode
priv-answer-mode, Headers::PrivAnswerMode
unsupported, Headers::Unsupported
user-agent, Headers::UserAgent
warning, Headers::Warning
www-authenticate,Headers::WWWAuthenticate
subscription-state,Headers::SubscriptionState
authorization, Headers::Authorization
allow-events, Headers::AllowEvents
encryption, Headers::UNKNOWN
event, Headers::Event
hide, Headers::UNKNOWN
identity, Headers::Identity
identity-info, Headers::IdentityInfo
join, Headers::Join
p-asserted-identity, Headers::PAssertedIdentity
p-associated-uri, Headers::PAssociatedUri
p-called-party-id, Headers::PCalledPartyId
p-media-authorization, Headers::PMediaAuthorization
p-preferred-identity, Headers::PPreferredIdentity
path, Headers::Path
target-dialog, Headers::TargetDialog
privacy, Headers::Privacy
rack, Headers::RAck
reason, Headers::Reason
refer-to,Headers::ReferTo
referred-by,Headers::ReferredBy
replaces,Headers::Replaces
reject-contact, Headers::RejectContact
request-disposition, Headers::RequestDisposition
response-key, Headers::UNKNOWN
rseq, Headers::RSeq
security-client, Headers::SecurityClient
security-server, Headers::SecurityServer
security-verify, Headers::SecurityVerify
service-route, Headers::ServiceRoute
session-expires, Headers::SessionExpires
min-se, Headers::MinSE
refer-sub, Headers::ReferSub
remote-party-id, Headers::RemotePartyId
history-info, Headers::HistoryInfo
p-access-network-info, Headers::PAccessNetworkInfo
p-charging-vector, Headers::PChargingVector
p-charging-function-addresses, Headers::PChargingFunctionAddresses
p-visited-network-id, Headers::PVisitedNetworkID
user-to-user, Headers::UserToUser
%%
}
 
     |