Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
ae708bdd
Commit
ae708bdd
authored
Jun 29, 2016
by
Sylvain Berfini
🎩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vCard context has to work even without vCard support for fetching friend from db...
parent
099a7daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
coreapi/vcard_stubs.c
coreapi/vcard_stubs.c
+9
-5
No files found.
coreapi/vcard_stubs.c
View file @
ae708bdd
...
...
@@ -20,23 +20,27 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "vcard.h"
struct
_LinphoneVcardContext
{
void
*
dummy
;
void
*
user_data
;
};
LinphoneVcardContext
*
linphone_vcard_context_new
(
void
)
{
return
NULL
;
LinphoneVcardContext
*
context
=
ms_new0
(
LinphoneVcardContext
,
1
);
context
->
user_data
=
NULL
;
return
context
;
}
void
linphone_vcard_context_destroy
(
LinphoneVcardContext
*
context
)
{
if
(
context
)
{
ms_free
(
context
);
}
}
void
*
linphone_vcard_context_get_user_data
(
LinphoneVcardContext
*
context
)
{
return
NULL
;
return
context
?
context
->
user_data
:
NULL
;
}
void
linphone_vcard_context_set_user_data
(
LinphoneVcardContext
*
context
,
void
*
data
)
{
if
(
context
)
context
->
user_data
=
data
;
}
struct
_LinphoneVcard
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment