[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forwar
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forward declaration. |
Date: |
Fri, 08 Oct 2010 17:40:31 +0200 |
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
- Re: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forward declaration.,
Simon Morlat <=