Commit cfc2f754 authored by Dafydd Harries's avatar Dafydd Harries

export candidate_new and candidate_free

darcs-hash:20070117060144-c9803-71a7f296bae86e90c807194d20da12added8df6b.gz
parent c5c8eac4
......@@ -130,7 +130,7 @@ address_is_private (Address *a)
* candidates, server reflexive candidates, and relayed candidates. */
static Candidate *
Candidate *
candidate_new (CandidateType type)
{
Candidate *candidate;
......@@ -141,7 +141,7 @@ candidate_new (CandidateType type)
}
static void
void
candidate_free (Candidate *candidate)
{
address_free (candidate->addr);
......
......@@ -56,6 +56,12 @@ struct _candidate
};
Candidate *
candidate_new (CandidateType type);
void
candidate_free (Candidate *candidate);
/*** event ***/
......
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