freebsd-nq/sys/netncp
Peter Wemm f41325db5f With this commit, I hereby pronounce gensetdefs past its use-by date.
Replace the a.out emulation of 'struct linker_set' with something
a little more flexible.  <sys/linker_set.h> now provides macros for
accessing elements and completely hides the implementation.

The linker_set.h macros have been on the back burner in various
forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()),
John Polstra (ELF clue) and myself (cleaned up API and the conversion
of the rest of the kernel to use it).

The macros declare a strongly typed set.  They return elements with the
type that you declare the set with, rather than a generic void *.

For ELF, we use the magic ld symbols (__start_<setname> and
__stop_<setname>).  Thanks to Richard Henderson <rth@redhat.com> for the
trick about how to force ld to provide them for kld's.

For a.out, we use the old linker_set struct.

NOTE: the item lists are no longer null terminated.  This is why
the code impact is high in certain areas.

The runtime linker has a new method to find the linker set
boundaries depending on which backend format is in use.

linker sets are still module/kld unfriendly and should never be used
for anything that may be modular one day.

Reviewed by:	eivind
2001-06-13 10:58:39 +00:00
..
ncp_cfg.h Initial import of ncp library sources. 1999-10-12 11:56:41 +00:00
ncp_conn.c With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
ncp_conn.h Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_crypt.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
ncp_file.h Add support for C++ in the headers. Some style cleanup. 1999-10-31 03:39:03 +00:00
ncp_lib.h Common option '-N' do not require an argument. 2001-01-07 07:03:59 +00:00
ncp_login.c Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_mod.c Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_ncp.c Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
ncp_ncp.h Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_nls.c Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_nls.h Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_rcfile.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ncp_rq.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ncp_rq.h Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_sock.c Include sys/lock.h and sys/mutex.h so that this compiles. 2001-05-15 22:02:46 +00:00
ncp_sock.h Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_subr.c Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
ncp_subr.h Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
ncp_user.h Update to version 1.3.4 of ncplib. Cleanup header files. 1999-12-12 05:50:07 +00:00
ncp.h Specify packing for an entire structure, not for each element of it. 2001-03-10 05:06:29 +00:00
nwerror.h Update to version 1.3.4 of ncplib. Cleanup header files. 1999-12-12 05:50:07 +00:00