summaryrefslogtreecommitdiffstats
path: root/lib/libncp
Commit message (Collapse)AuthorAgeFilesLines
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* Mark data structures used on the wire with IPX SAP as __packed so thatrwatson2007-02-261-3/+3
| | | | | | | they are not inappropriately padded as a result of compiler changes. PR: kern/74105 Submitted by: Bob Johnson <bob89 at eng dot ufl dot edu>
* Boris Popov has granted permission to remove the advertising clauseimp2007-01-0914-56/+14
| | | | from lib/libncp. Make it so. Also, renumbered clauses.
* Silence GCC4 warning.kan2006-09-216-4/+6
| | | | strlen, strcmp live in <string.h> not <string.h>.
* NO_MAN is not needed here.ru2006-03-161-4/+0
|
* Add missing shared library interdependencies.ru2005-11-101-0/+3
|
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Standardize 2 error messages: start with lowercase letter.charnier2005-01-161-2/+2
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Prefer C99's __func__ over GCC's __FUNCTION__.stefanf2004-09-221-4/+4
|
* Avoid casts as lvalues.kan2004-07-281-2/+2
|
* Distinguish cases when ncp module not loaded and when module have oldbp2004-06-021-1/+4
| | | | interface.
* Fixed a misspelling of 0 as NULL. Removed a spelling of NULL as 0.bde2004-03-141-1/+1
|
* Fix for 64 bit platforms. sysctl's length args are pointers topeter2003-07-252-3/+6
| | | | | | size_t, not int. This could be fatal where size_t is long. Reviewed by: bp
* No need to have ifdef < FreeBSD 4.0-current in here. Remove it toimp2003-04-042-12/+0
| | | | avoid false positive while searching for __FreeBSD_version abuse.
* Use a character device and ioctl() for communication between libncptjr2003-02-283-35/+40
| | | | | and the kernel instead of adding more syscalls at runtime. As a bonus, you can now restrict access to the kernel NCP interface with chmod.
* Zap now-unused SHLIB_MINORpeter2002-09-281-1/+0
|
* Add missing newline at end of file.wollman2002-05-301-1/+1
|
* Add character translation table between Unix and NetWare accordingbp2002-04-201-1/+78
| | | | | | | to Sweden standards. Submitted by: Roger Olofsson <roger.olofsson@kommun.engelholm.se> MFC after: 1 week
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-291-5/+3
| | | | | | Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
* Remove multi-line __P() usage.obrien2002-03-221-2/+3
|
* Remove __P() usage.obrien2002-03-211-1/+1
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-186-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-102-4/+0
|
* Add __FBSDID()s to libncpdillon2001-09-3014-31/+52
|
* Mark some functions as __printflike() and/or taking const char * argumentskris2001-08-201-1/+1
| | | | | | instead of char *. MFC after: 2 weeks
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-262-2/+2
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* Compensate for header dethreading.markm2001-05-012-0/+4
|
* Back out the previous change to the queue(3) interface.jake2000-05-261-3/+3
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-3/+3
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Remove duplicated extern.bp2000-01-011-1/+0
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* Repo copy ncp_cfg.h ncp_lib.h ncp_file.h ncp_rcfile.h from here topeter1999-11-125-420/+1
| | | | | | sys/netncp/*. Disconnect them from here to avoid breakage. Submitted by: bp
* Change structure field tolower to to_lower. The same for the toupper.bp1999-11-031-4/+4
|
* Add support for C++ in the headers. Some style cleanup.bp1999-10-317-179/+181
| | | | Pointed by: bde
* Handle SAP responces in a more correct way. Allow connection numberbp1999-10-294-21/+30
| | | | greater than 255 in the broadcast messages.
* Use ${INSTALL} instead of 'install'.bp1999-10-211-1/+1
|
* Initial import of ncp library sources.bp1999-10-1222-0/+4487
Reviewed by: jdp, mdodd
OpenPOWER on IntegriCloud