Hi Sam: Both files are appropriate for exporting to userspace. However, there appears to be an issue with the way tipc_config.h includes the string library; it should be done as follows:
#ifdef __KERNEL__ #include <linux/string.h> #else #include <string.h> #endif so that it will work properly in both userspace and kernel space. Regards, Al > -----Original Message----- > From: Sam Ravnborg [mailto:[EMAIL PROTECTED] > Sent: Monday, October 29, 2007 3:20 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; Stephens, Allan; > [email protected] > Subject: Re: [Bug 9260] tipc_config.h is not installed when > doing "make headers_install" > > Hi tipc experts. > > Do you consider the two tipc heder files: linux/tipc.h and > linux/tipc_config.h as appropriate for exporting to userspace? > I noticed a few inline functions that made me consider if > they should be wrapped in #ifdef __KERNEL__ / #endif But on > the other hand they looked pretty generic. > > We have a bugzilla entry requesting them to be added. > See http://bugzilla.kernel.org/show_bug.cgi?id=9260 > > Sam > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
