aboutsummaryrefslogtreecommitdiff
path: root/libexec/ypxfr/ypxfrd_getmap.c
Commit message (Collapse)AuthorAgeFilesLines
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-181-1/+3
| | | | | | | | | | | | | | | | | | | | The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* Staticfy and constify some variables and clean up the code a bit to make itMarcelo Araujo2015-07-281-1/+1
| | | | | | | | | | | more readable. No functional change. Differential Revision: D3166 Reviewed by: kib Sponsored by: gandi.net Notes: svn path=/head/; revision=285926
* Tidy up some xdrproc_t related warnings.Peter Wemm2003-10-261-3/+5
| | | | Notes: svn path=/head/; revision=121538
* Use __FBSDID vs. rcsid[].David E. O'Brien2003-05-041-4/+2
| | | | Notes: svn path=/head/; revision=114626
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-061-6/+4
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90298
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week Notes: svn path=/head/; revision=90297
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Use full path in synopsis. Sort #includes. Use .Tn for NIS.Philippe Charnier1997-12-081-9/+8
| | | | Notes: svn path=/head/; revision=31626
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-2/+2
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Give ypxfr the ability to detect the presence of the YP_INTERDOMAINBill Paul1996-10-251-2/+5
| | | | | | | | | | | | and YP_SECURE flags so that it can properly add them to newly created maps when needed. This applies only when using the 'standard' method for map transfers. When using rpc.ypxfrd, the whole map is copied verbatim, along with any special entries that may be encoded in it. Also made -Wall a little quieter for ypxfrd_getmap.c. Notes: svn path=/head/; revision=19181
* Fill in new arguments in the ypxfr_getmap structure (byte order,Bill Paul1996-07-041-2/+16
| | | | | | | | db type, filename) and check for new failure codes (db mismatch, endian mismatch). Notes: svn path=/head/; revision=16958
* Add support for rpc.ypxfrd and document it in the man page.Bill Paul1996-06-051-0/+130
Also generallize the yp_dbwrite functions a little: allow the caller to specify certain flags. I need this mostly for some changes to rpc.yppasswdd to allow in-place updates. Also change Makefile a little to use the same format as ypserv. Notes: svn path=/head/; revision=16132