Hi Jiri Pirko, I need a special header for my netlink application for introduce the signed integer types, which are not in current release of libnl. First I took the headr from [0]. Then I saw it's LGPL, to avoid any code license issues I reimplement it now in my own header. It really looks the same, but putting my application to LGPL is out of question. Now I want to be sure that you don't see a copy&paste and remove the license. Please let me know if this is okay for you. - Alex [0] https://github.com/jpirko/libteam/blob/master/libteam/nl_updates.h On Thu, Sep 04, 2014 at 11:32:49AM +0200, Alexander Aring wrote: > This header file is needed for additional signed bindings which are not > in netlink library, currently. > > Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> > --- > src/nl_extras.h | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 src/nl_extras.h > > diff --git a/src/nl_extras.h b/src/nl_extras.h > new file mode 100644 > index 0000000..39a97c6 > --- /dev/null > +++ b/src/nl_extras.h > @@ -0,0 +1,36 @@ > +#ifndef __NL_EXTRAS_H > +#define __NL_EXTRAS_H > + > +#ifndef NLA_S8 > + > +#define NLA_S8 13 > +#define NLA_PUT_S8(n, attrtype, value) \ > + NLA_PUT_TYPE(n, int8_t, attrtype, value) > + > +#endif /* NLA_S8 */ > + > +#ifndef NLA_S16 > + > +#define NLA_S16 14 > +#define NLA_PUT_S16(n, attrtype, value) \ > + NLA_PUT_TYPE(n, int16_t, attrtype, value) > + > +#endif /* NLA_S16 */ > + > +#ifndef NLA_S32 > + > +#define NLA_S32 15 > +#define NLA_PUT_S32(n, attrtype, value) \ > + NLA_PUT_TYPE(n, int32_t, attrtype, value) > + > +#endif /* NLA_S32 */ > + > +#ifndef NLA_S64 > + > +#define NLA_S64 16 > +#define NLA_PUT_S64(n, attrtype, value) \ > + NLA_PUT_TYPE(n, int64_t, attrtype, value) > + > +#endif /* NLA_S64 */ > + > +#endif /* __NL_EXTRAS_H */ > -- > 2.1.0 > -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html