cleaned up apidoc
added some comments removed configuration.[ch], as it does not make sense like it is
This commit is contained in:
@@ -327,7 +327,10 @@ static void stroke_add_conn(private_stroke_interface_t *this,
|
||||
{
|
||||
my_vip = host_create_from_string(msg->add_conn.me.sourceip, 0);
|
||||
}
|
||||
other_vip = host_create_from_string(msg->add_conn.other.sourceip, 0);
|
||||
if (msg->add_conn.other.virtual_ip)
|
||||
{
|
||||
other_vip = host_create_from_string(msg->add_conn.other.sourceip, 0);
|
||||
}
|
||||
|
||||
if (msg->add_conn.me.tohost)
|
||||
{
|
||||
@@ -448,6 +451,8 @@ static void stroke_add_conn(private_stroke_interface_t *this,
|
||||
|
||||
if (use_existing)
|
||||
{
|
||||
DESTROY_IF(my_vip);
|
||||
DESTROY_IF(other_vip);
|
||||
my_host->destroy(my_host);
|
||||
my_id->destroy(my_id);
|
||||
my_ca->destroy(my_ca);
|
||||
|
||||
@@ -39,7 +39,7 @@ typedef struct stroke_t stroke_t;
|
||||
* @b Constructors:
|
||||
* - stroke_create()
|
||||
*
|
||||
* @ingroup threads
|
||||
* @ingroup control
|
||||
*/
|
||||
struct stroke_t {
|
||||
|
||||
@@ -58,7 +58,7 @@ struct stroke_t {
|
||||
* @param backend backend to store received configurations
|
||||
* @return stroke_t object
|
||||
*
|
||||
* @ingroup threads
|
||||
* @ingroup control
|
||||
*/
|
||||
stroke_t *stroke_create(local_backend_t *backend);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user