|
From: | Kevin Cross |
Subject: | Re: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forward declaration. |
Date: | Fri, 8 Oct 2010 16:45:59 -0400 |
That is normal.
You must use linphone_proxy_config_get_identity() to obtain the sip
identity address.
Simon
Le lundi 20 septembre 2010 à 13:09 -0400, Kevin Cross a écrit :
> _______________________________________________> Hello,
>
> I have encountered another issue while compiling a simple test app
> against linphone (git/master)
> -------
> #include <linphonecore.h>
>
> int main()
> {
> LinphoneProxyConfig *cfg;
> if(cfg->reg_identity) printf("reg_ident");
> return 0;
> }
>
> ------------------
>
> $ g++ -I /usr/local/include/linphone test2.cpp
> test2.cpp: In function ‘int main()’:
> test2.cpp:6: error: invalid use of incomplete type ‘struct
> _LinphoneProxyConfig’
> /usr/local/include/linphone/sipsetup.h:33: error: forward declaration
> of ‘struct _LinphoneProxyConfig’
>
> Thanks,
> K
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |