1.4. Exported Functions

Functions exported to be used in configuration file.

1.4.1.
pua_xmpp_notify()

Function that handles Notify messages addressed to a user from
an xmpp domain. It requires filtering after method and domain in
configuration file. If the function is successful, a 2xx reply must
be sent.

1.4.2.
pua_xmpp_req_winfo(char* request_uri, char* expires)

Function called when a Subscribe addressed to a user from a
xmpp domain is received. It calls sending a Subscribe for
winfo for the user, and the following Notify with dialog-info
is translated into a subscription in xmpp.
It also requires filtering in configuration file, after method,
domain and event(only for presence).

It takes 2 parameters: request_uri and the value of Expires header field
in received Subscribe.