From: Phil Dibowitz <phil@ipom.com>
To: netfilter-devel@lists.netfilter.org
Subject: add extern "C" {..} to libnetfilter_conntrack headers?
Date: Tue, 13 Mar 2007 17:40:52 -0700 [thread overview]
Message-ID: <20070314004052.GC25929@ipom.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
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.
--
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-03-14 0:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 0:40 Phil Dibowitz [this message]
2007-03-14 13:33 ` add extern "C" {..} to libnetfilter_conntrack headers? Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070314004052.GC25929@ipom.com \
--to=phil@ipom.com \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.