public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] exports.h and the GPL
Date: Fri, 24 Feb 2012 14:17:19 -0500	[thread overview]
Message-ID: <201202241417.20408.vapier@gentoo.org> (raw)
In-Reply-To: <201202241910.36058.michael@walle.cc>

On Friday 24 February 2012 13:10:36 Michael Walle wrote:
> As far as i know applications can use functions defined in exports.h
> without being licensed under the GPL.

correct, that is what the COPYING file states

> Who is responsible to define which functions are exported? Are the
> currently exported functions the only ones available to closed source
> applications or is it possible to add further ones which are needed.

someone posts a request and the maintainers evaluate it.  typically the 
exported funcs should be "high level" and not hooks into u-boot internals.

> Functions may need arguments which are pointers to some structures. These
> structures are likely be defined in some GPL'ed header file and must not be
> used, i guess? So the exported functions must only use integral data types,
> opaque pointers and structures which are not defined in a GPL'ed header
> file.

which is why the exported funcs are "high level" and not ones that get into 
low level stuff that would necessitate passing structs.  the other problem with 
struct passing is that they tend to break the ABI layer.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120224/e0c09f02/attachment.pgp>

  reply	other threads:[~2012-02-24 19:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24 18:10 [U-Boot] exports.h and the GPL Michael Walle
2012-02-24 19:17 ` Mike Frysinger [this message]
2012-02-24 19:48   ` Michael Walle
2012-02-24 22:37     ` Mike Frysinger
2012-02-24 23:37     ` Wolfgang Denk

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=201202241417.20408.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox