Hi,
 As in the example sip_options.c, I have the event_callback function:
        void event_callback(nua_event_t   event,
                    int           status,
                    char const   *phrase,
                    nua_t        *nua,
                    nua_magic_t  *magic,
                    nua_handle_t *nh,
                    nua_hmagic_t *hmagic,
                    sip_t const  *sip,
                    tagi_t        tags[]);

What is important, this is inside a C++ class.

Then I need to pass this function to the nua_create function.
How can I declare/pass event_callback, so that it gets accepted by 
the compiler? In C everything is fine, but C++ is much more strict...
 Marcin
----------------------------------------------------------
Marcin Michalak Research Engineer
Telscom AG              Bern, Switzerland


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to