From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Dibowitz Subject: add extern "C" {..} to libnetfilter_conntrack headers? Date: Tue, 13 Mar 2007 17:40:52 -0700 Message-ID: <20070314004052.GC25929@ipom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jousvV0MzM2p6OtC" To: netfilter-devel@lists.netfilter.org Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org --jousvV0MzM2p6OtC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Is there a reason that there aren't extern "C" {} enclosures in the libnetfilter_conntrack header files? My app is C++, and currently I put the libnetfilter #include's in an extern "C" {}, but this should probably be in the header files so any C++ app can easily use the library. I can submit a patch if it's desired, but I thought I'd ask if there was a reason it wasn't there first. --=20 Phil Dibowitz phil@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming --jousvV0MzM2p6OtC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF90SUN5XoxaHnMrsRAuDfAKCdo9kLmcHY8gscvO7FKpNmioX0ZACfUabA w3FY7TwxuThBGQmMXIk3+vY= =PghL -----END PGP SIGNATURE----- --jousvV0MzM2p6OtC--