Return-Path: X-Original-To: apmail-incubator-celix-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-celix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8960F10DF1 for ; Fri, 27 Sep 2013 14:12:04 +0000 (UTC) Received: (qmail 11886 invoked by uid 500); 27 Sep 2013 14:12:03 -0000 Delivered-To: apmail-incubator-celix-dev-archive@incubator.apache.org Received: (qmail 11840 invoked by uid 500); 27 Sep 2013 14:11:57 -0000 Mailing-List: contact celix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: celix-dev@incubator.apache.org Delivered-To: mailing list celix-dev@incubator.apache.org Received: (qmail 11831 invoked by uid 99); 27 Sep 2013 14:11:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Sep 2013 14:11:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of a.broekhuis@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Sep 2013 14:11:49 +0000 Received: by mail-la0-f46.google.com with SMTP id eh20so2194558lab.19 for ; Fri, 27 Sep 2013 07:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nEze8gC7LYK2SjEYvTFp42z5BaUtczVA/f3zEQPAeRw=; b=zaMrYj/5EH6Seqa9s3z4hDTJZnglq4j42jVkAU2kq3exuPcHBG8LWmoWt67K7zhpdH Sy6QZhkrvzLJzhifG2OeqVFBX21v0TwN0vGmKn5wjNvB3FTZx+mXkmTSDh1G4xIT0QpN 1xSULLoeE4DncUwy6L2BHicXdAEmdIucOb2WZiY8KSJwDc/ewiR2goZ6scIOS1QRzRfV //8/GcWEWqsVI6g1qoyXqzC1hHXnNuQz6OgAl1OtRWCfvBOiqbYtmlQ3jdlHGBDJwGkx sr2KEVELAAz25XzDfc3DD14bUVvQOhCWg8y9dvXiHqfV972HM3WiGSBHoHCCbNiS+ztw E3Hg== MIME-Version: 1.0 X-Received: by 10.112.128.166 with SMTP id np6mr8860750lbb.7.1380291088865; Fri, 27 Sep 2013 07:11:28 -0700 (PDT) Received: by 10.112.180.98 with HTTP; Fri, 27 Sep 2013 07:11:28 -0700 (PDT) In-Reply-To: <52454D60.9030906@sundevil.de> References: <5213C63A.1050002@gmail.com> <52150460.7070606@gmail.com> <52356979.1040002@sundevil.de> <03fa0772516eaaab4c1fcf59f52f00e9@imap.sundevil.de> <5238198D.8050209@sundevil.de> <4f9dbca6c64a7583e34c4be4cab8eadc@imap.sundevil.de> <52454D60.9030906@sundevil.de> Date: Fri, 27 Sep 2013 16:11:28 +0200 Message-ID: Subject: Re: Remote service using shared mem From: Alexander Broekhuis To: celix-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b343ef209dd2604e75e1071 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b343ef209dd2604e75e1071 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2013/9/27 Bj=F6rn Petri > On 09/18/2013 06:29 PM, Alexander Broekhuis wrote: > >> I checked it, and there are some small leftovers in the code. The proxy >> still includes the rsa and also links with the library. >> > > How do you want to get rid of this dependency? The proxy needs to include > definition of the remote_proxy_service as well as the rsa does. Do I miss > something? > Since the proxy now uses the function pointer and only the service struct of the RSA it only needs the header files (as far as I can tell). Also, with the concept of bundles, and Celix not supporting code-sharing at this point, bundles (actually the library in it) should never link to a library of any other bundle. Libraries are loaded locally, so the symbols aren't shared with others. So this means that if you link with another bundle, at runtime there will be unresolved references. Hence the need for services (structs with function pointers) etc. --=20 Met vriendelijke groet, Alexander Broekhuis --047d7b343ef209dd2604e75e1071--