Commit 81cdefd7 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Updated soa_static_get_paramlist() prototype.

darcs-hash:20050928120504-65a35-ae30ede9e06530603f81cfbf9ed1e76d0bcdba09.gz
parent 747a15b6
...@@ -70,7 +70,9 @@ static int soa_static_init(char const *, soa_session_t *, soa_session_t *); ...@@ -70,7 +70,9 @@ static int soa_static_init(char const *, soa_session_t *, soa_session_t *);
static void soa_static_deinit(soa_session_t *); static void soa_static_deinit(soa_session_t *);
static int soa_static_set_params(soa_session_t *ss, tagi_t const *tags); static int soa_static_set_params(soa_session_t *ss, tagi_t const *tags);
static int soa_static_get_params(soa_session_t const *ss, tagi_t *tags); static int soa_static_get_params(soa_session_t const *ss, tagi_t *tags);
static tagi_t *soa_static_get_paramlist(soa_session_t const *ss); static tagi_t *soa_static_get_paramlist(soa_session_t const *ss,
tag_type_t tag, tag_value_t value,
...);
static int soa_static_set_capability_sdp(soa_session_t *ss, static int soa_static_set_capability_sdp(soa_session_t *ss,
sdp_session_t *sdp, sdp_session_t *sdp,
char const *, int); char const *, int);
...@@ -163,9 +165,20 @@ static int soa_static_get_params(soa_session_t const *ss, tagi_t *tags) ...@@ -163,9 +165,20 @@ static int soa_static_get_params(soa_session_t const *ss, tagi_t *tags)
return soa_base_get_params(ss, tags); return soa_base_get_params(ss, tags);
} }
static tagi_t *soa_static_get_paramlist(soa_session_t const *ss) static tagi_t *soa_static_get_paramlist(soa_session_t const *ss,
tag_type_t tag, tag_value_t value,
...)
{ {
return soa_base_get_paramlist(ss); ta_list ta;
tagi_t *tl;
ta_start(ta, tag, value);
tl = soa_base_get_paramlist(ss, TAG_NEXT(ta_args(ta)));
ta_end(ta);
return tl;
} }
static int soa_static_set_capability_sdp(soa_session_t *ss, static int soa_static_set_capability_sdp(soa_session_t *ss,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment