Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
12152171
Commit
12152171
authored
Jun 11, 2013
by
Ghislain MARY
Browse files
Add missing exports.
parent
c49bf31c
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/belle-sip/list.h
View file @
12152171
...
...
@@ -25,32 +25,32 @@ struct _belle_sip_list {
};
typedef
struct
_belle_sip_list
belle_sip_list_t
;
belle_sip_list_t
*
belle_sip_list_append
(
belle_sip_list_t
*
elem
,
void
*
data
);
belle_sip_list_t
*
belle_sip_list_prepend
(
belle_sip_list_t
*
elem
,
void
*
data
);
belle_sip_list_t
*
belle_sip_list_last_elem
(
const
belle_sip_list_t
*
l
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_append
(
belle_sip_list_t
*
elem
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_prepend
(
belle_sip_list_t
*
elem
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_last_elem
(
const
belle_sip_list_t
*
l
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_free
(
belle_sip_list_t
*
elem
);
belle_sip_list_t
*
belle_sip_list_concat
(
belle_sip_list_t
*
first
,
belle_sip_list_t
*
second
);
belle_sip_list_t
*
belle_sip_list_remove
(
belle_sip_list_t
*
first
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_concat
(
belle_sip_list_t
*
first
,
belle_sip_list_t
*
second
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_remove
(
belle_sip_list_t
*
first
,
void
*
data
);
BELLESIP_EXPORT
int
belle_sip_list_size
(
const
belle_sip_list_t
*
first
);
void
belle_sip_list_for_each
(
const
belle_sip_list_t
*
list
,
void
(
*
func
)(
void
*
));
BELLESIP_EXPORT
void
belle_sip_list_for_each
(
const
belle_sip_list_t
*
list
,
void
(
*
func
)(
void
*
));
BELLESIP_EXPORT
void
belle_sip_list_for_each2
(
const
belle_sip_list_t
*
list
,
void
(
*
func
)(
void
*
,
void
*
),
void
*
user_data
);
belle_sip_list_t
*
belle_sip_list_remove_link
(
belle_sip_list_t
*
list
,
belle_sip_list_t
*
elem
);
belle_sip_list_t
*
belle_sip_list_delete_link
(
belle_sip_list_t
*
list
,
belle_sip_list_t
*
elem
);
belle_sip_list_t
*
belle_sip_list_find
(
belle_sip_list_t
*
list
,
void
*
data
);
belle_sip_list_t
*
belle_sip_list_free
(
belle_sip_list_t
*
list
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_remove_link
(
belle_sip_list_t
*
list
,
belle_sip_list_t
*
elem
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_delete_link
(
belle_sip_list_t
*
list
,
belle_sip_list_t
*
elem
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_find
(
belle_sip_list_t
*
list
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_free
(
belle_sip_list_t
*
list
);
/*frees list elements and associated data, using the supplied function pointer*/
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_free_with_data
(
belle_sip_list_t
*
list
,
void
(
*
freefunc
)(
void
*
));
typedef
int
(
*
belle_sip_compare_func
)(
const
void
*
,
const
void
*
);
belle_sip_list_t
*
belle_sip_list_find_custom
(
belle_sip_list_t
*
list
,
belle_sip_compare_func
cmp
,
const
void
*
user_data
);
void
*
belle_sip_list_nth_data
(
const
belle_sip_list_t
*
list
,
int
index
);
int
belle_sip_list_position
(
const
belle_sip_list_t
*
list
,
belle_sip_list_t
*
elem
);
int
belle_sip_list_index
(
const
belle_sip_list_t
*
list
,
void
*
data
);
belle_sip_list_t
*
belle_sip_list_insert_sorted
(
belle_sip_list_t
*
list
,
void
*
data
,
belle_sip_compare_func
cmp
);
belle_sip_list_t
*
belle_sip_list_insert
(
belle_sip_list_t
*
list
,
belle_sip_list_t
*
before
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_find_custom
(
belle_sip_list_t
*
list
,
belle_sip_compare_func
cmp
,
const
void
*
user_data
);
BELLESIP_EXPORT
void
*
belle_sip_list_nth_data
(
const
belle_sip_list_t
*
list
,
int
index
);
BELLESIP_EXPORT
int
belle_sip_list_position
(
const
belle_sip_list_t
*
list
,
belle_sip_list_t
*
elem
);
BELLESIP_EXPORT
int
belle_sip_list_index
(
const
belle_sip_list_t
*
list
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_insert_sorted
(
belle_sip_list_t
*
list
,
void
*
data
,
belle_sip_compare_func
cmp
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_insert
(
belle_sip_list_t
*
list
,
belle_sip_list_t
*
before
,
void
*
data
);
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_copy
(
const
belle_sip_list_t
*
list
);
/*copy list elements and associated data, using the supplied function pointer*/
belle_sip_list_t
*
belle_sip_list_copy_with_data
(
const
belle_sip_list_t
*
list
,
void
*
(
*
copyfunc
)(
void
*
));
BELLESIP_EXPORT
belle_sip_list_t
*
belle_sip_list_copy_with_data
(
const
belle_sip_list_t
*
list
,
void
*
(
*
copyfunc
)(
void
*
));
#endif
/* BELLE_SIP_LIST_H_ */
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