Logo Search packages:      
Sourcecode: sofia-sip version File versions

typedef int( nea_new_event_f)(nea_smagic_t *context, nea_server_t *nes, nea_event_t **event_p, nea_event_view_t **view_p, nta_incoming_t *irq, sip_t const *sip)

Unknown event callback.

The event server invokes this callback function when it has received a request for an unknown event or event with unknown content type.

The callback may be called twice for one watcher, once for an unknown event, another time for an unknown content type.

Return values:
1 application takes care of responding to request
0 application has added new event or payload format
-1 nea server rejects request

Definition at line 128 of file nea.h.

Generated by  Doxygen 1.6.0   Back to index