[Nice] nice_candidate_copy part of public api?

Youness Alaoui youness.alaoui at collabora.co.uk
Mon Aug 23 13:36:03 PDT 2010


On 08/21/2010 02:18 AM, Breton M. Saunders wrote:
> All,
> 
>   Apologies - I'm quite new to using this library.
Hi,
No need to apologize! :)
I'm always glad to see new users to the library! :)

> 
>   Is the function nice_candidate_copy supposed to be part of the public
> libnice api, and if so, should we add nice_candidate_copy to the symbol
> export file?

ouch, yes, the function is supposed to be part of the public API, and it looks
like it was a mistake not having it exported! I've fixed it in git, thank you!


> 
>   I've been attempting to compile the test programs directly from the
> tests directory using the following command:
> 
>   gcc -I/usr/local/include/nice -I/usr/include/glib-2.0/
> -I/usr/lib/glib-2.0/include <test program .c> -L/usr/local/lib -lnice
> 
>   But after consistent linker errors for nice_candidate_copy, I finally
> modified the symbol export file nice/libnice.sym to include
> nice_candidate_copy.

Why are you compiling it like that? 'make check' should compile all those test
programs.

> 
>   So - the question is - should this api be exposed?
> 
>   Cheers,
> 
>         -Brett
> _______________________________________________
> Nice mailing list
> Nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nice/attachments/20100823/07113c71/attachment.pgp>


More information about the Nice mailing list