Message ID | 20140319174533.40917.91599.stgit@seurat.1015granger.net |
---|---|
State | Accepted |
Headers | show
Return-Path: <fedfs-utils-devel-bounces@oss.oracle.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9D44B2C007C for <incoming@patchwork.ozlabs.org>; Thu, 20 Mar 2014 04:45:46 +1100 (EST) Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s2JHjhXL013552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Mar 2014 17:45:44 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s2JHjhtd013557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Mar 2014 17:45:43 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from <fedfs-utils-devel-bounces@oss.oracle.com>) id 1WQKYh-00087p-1O; Wed, 19 Mar 2014 10:45:43 -0700 Received: from acsinet22.oracle.com ([141.146.126.238]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from <chucklever@gmail.com>) id 1WQKYb-00087d-Cs for fedfs-utils-devel@oss.oracle.com; Wed, 19 Mar 2014 10:45:37 -0700 Received: from userp1020.oracle.com (userp1020.oracle.com [156.151.31.79]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s2JHjaH0013272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <fedfs-utils-devel@oss.oracle.com>; Wed, 19 Mar 2014 17:45:36 GMT Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by userp1020.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s2JHjYLB030010 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for <fedfs-utils-devel@oss.oracle.com>; Wed, 19 Mar 2014 17:45:35 GMT Received: by mail-ig0-f170.google.com with SMTP id uq10so14714520igb.1 for <fedfs-utils-devel@oss.oracle.com>; Wed, 19 Mar 2014 10:45:34 -0700 (PDT) X-Received: by 10.50.78.164 with SMTP id c4mr15803163igx.23.1395251134634; Wed, 19 Mar 2014 10:45:34 -0700 (PDT) Received: from seurat.1015granger.net ([2604:8800:100:81fc:20c:29ff:fe44:ec31]) by mx.google.com with ESMTPSA id g1sm31674710igt.14.2014.03.19.10.45.33 for <fedfs-utils-devel@oss.oracle.com> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Mar 2014 10:45:33 -0700 (PDT) To: fedfs-utils-devel@oss.oracle.com From: Chuck Lever <chuck.lever@oracle.com> Date: Wed, 19 Mar 2014 13:45:33 -0400 Message-ID: <20140319174533.40917.91599.stgit@seurat.1015granger.net> In-Reply-To: <20140319174127.40917.12736.stgit@seurat.1015granger.net> References: <20140319174127.40917.12736.stgit@seurat.1015granger.net> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Flow-Control-Info: class=Pass-to-MM reputation=ipRisk-All ip=209.85.213.170 ct-class=R5 ct-vol1=-88 ct-vol2=8 ct-vol3=7 ct-risk=52 ct-spam1=85 ct-spam2=6 ct-bulk=5 rcpts=1 size=967 X-Sendmail-CM-Score: 0.00% X-Sendmail-CM-Analysis: v=2.1 cv=KOFjUj1o c=1 sm=1 tr=0 a=4NlNMipMRxsRUqezHI480A==:117 a=dzsqy3y4QnMA:10 a=Xs6kC9_BTi0A:10 a=dPGociXpb70A:10 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=yPCof4ZbAAAA:8 a=Lb1rMZzfAAAA:8 a=1XWaLZrsAAAA:8 a=DR49uHcsiFNdmErTllsA:9 a=QEXdDO 2ut3YA:10 a=7DSvI1NPTFQA:10 X-Sendmail-CT-RefID: str=0001.0A090202.5329D7BF.014F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-Sendmail-CT-Classification: not spam Subject: [fedfs-utils] [PATCH 3/4] include: Add macro defining NFS plug-in soname X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers <fedfs-utils-devel@oss.oracle.com> List-Id: fedfs-utils Developers <fedfs-utils-devel.oss.oracle.com> List-Unsubscribe: <https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel>, <mailto:fedfs-utils-devel-request@oss.oracle.com?subject=unsubscribe> List-Archive: <http://oss.oracle.com/pipermail/fedfs-utils-devel> List-Post: <mailto:fedfs-utils-devel@oss.oracle.com> List-Help: <mailto:fedfs-utils-devel-request@oss.oracle.com?subject=help> List-Subscribe: <https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel>, <mailto:fedfs-utils-devel-request@oss.oracle.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: acsinet22.oracle.com [141.146.126.238] |
diff --git a/src/include/nfs-plugin.h b/src/include/nfs-plugin.h index 60d2993..f43833a 100644 --- a/src/include/nfs-plugin.h +++ b/src/include/nfs-plugin.h @@ -42,6 +42,11 @@ __BEGIN_DECLS #define JP_API_VERSION (1) /** + * NFS plug-in library soname; passed to dlopen(3) + */ +#define JP_NFSPLUGIN_SONAME "libnfsjunct.so.0" + +/** * A set of NFS FS locations */ struct nfs_fsloc_set;
Plug-in consumers should not be required to open-code the name of the plug-in library. Consumers should discover the library name somehow, and adding a macro in the header that defines the API seems like a straightforward approach. We specify the library soname here because the soname must always change when the API version number (JP_API_VERSION) is bumped. Eventually JP_API_VERSION can be deprecated. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- src/include/nfs-plugin.h | 5 +++++ 1 file changed, 5 insertions(+)