예제 #1
0
void
pecan_session_connect (PecanSession *session,
                       const gchar *host,
                       gint port)
{
    pecan_node_connect (PECAN_NODE (session->priv->ns), host, port);
}
예제 #2
0
gboolean
msn_notification_connect(MsnNotification *notification, const char *host, int port)
{
    g_return_val_if_fail(notification != NULL, FALSE);

    pecan_node_connect (PECAN_NODE (notification->conn), host, port);

    return TRUE;
}