lkml.org 
[lkml]   [1996]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux headers and tcpdump programs
Date
From

Michael Elizabeth Chastain <mec@duracef.shout.net> writes:
>I'm planning to clean up the headers in 2.1:
>
> include guards on all files
> proper nested #include on all files
> document which directories in include/* are exported to user space
> move internal kernel stuff from include/linux to new include/kernel
> proper use of __KERNEL__ everywhere
>
>Ideas and comments welcomed. Especially welcomed are one-liners from
>experienced kernel hackers saying whether this will be useful or if I'm
>just wasting my time.

I think there is some definite value in doing this.
It would be good if user space programs didn't have to avoid
using the names of internal kernel data strucures and functions.
One thing you should do before proceeding is check if someone
is already working on this from the libc end of things.
Also, the networking stuff is getting a major overhaul in 2.1
in order to make space for IPV6. If you want to start thinking
about this now you should probably look at what Pedro is doing
with these files already.

-- eric

---------------------------------------------------------------------------
Eric Schenk www: http://www.cs.toronto.edu/~schenk
Department of Computer Science email: schenk@cs.toronto.edu
University of Toronto


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.035 / U:1.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site