Just want to know some background info regarding to this, in tipc 1.5, userland tipc.h is in include/net/tipc/tipc.h and in 1.6 it was split to include/net/tipc/tipc.h (kernel) and include/linux/tipc.h (userland). Correct?
I thought #include <net/tipc/tipc.h> would be more portable than #include <linux/tipc.h> for none linux target. Should "sys/tipc.h" be created to make it more portable? Thanks Jun ---------------------------------------------------------- From: Per Liden <[EMAIL PROTECTED]> - 2006-04-27 14:49 On Mon, 10 Apr 2006, Stephens, Allan wrote: > Hi Vishal: > > The short descriptions in the files are actually a bit misleading. I > think better wording would be: > > * include/linux/tipc.h: Include file for TIPC user-space users > * include/net/tipc/tipc.h: Include file for TIPC kernel-space users > > The idea behind the division is to hide portions of the TIPC API that > are not usable in user-space, such as the (still-to-be-finalized) native > API, from applications that are running in user-space. > > Note: Per Liden may wish to correct me if I've mis-stated anything, > since he actually performed the division during the port into 2.6.16. Correct, the stuff in net/tipc/ is for the kernel only, where as linux/tipc.h contains the part needed by userspace to use TIPC. /Per ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
