summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/ypxfr_extern.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-10-25 16:13:09 +0000
committerwpaul <wpaul@FreeBSD.org>1996-10-25 16:13:09 +0000
commit4561c758bb75d0deb7daba0a85778b82027a1cec (patch)
tree92894046c11fdcd1d6d68f347976a9f2dc4a1636 /libexec/ypxfr/ypxfr_extern.h
parentf4c288024bae04ebcd38b182b94f88401d1080c6 (diff)
downloadFreeBSD-src-4561c758bb75d0deb7daba0a85778b82027a1cec.zip
FreeBSD-src-4561c758bb75d0deb7daba0a85778b82027a1cec.tar.gz
Give ypxfr the ability to detect the presence of the YP_INTERDOMAIN
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.
Diffstat (limited to 'libexec/ypxfr/ypxfr_extern.h')
-rw-r--r--libexec/ypxfr/ypxfr_extern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ypxfr/ypxfr_extern.h b/libexec/ypxfr/ypxfr_extern.h
index b18282e..f826499 100644
--- a/libexec/ypxfr/ypxfr_extern.h
+++ b/libexec/ypxfr/ypxfr_extern.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ypxfr_extern.h,v 1.7 1996/06/03 03:10:42 wpaul Exp $
+ * $Id: ypxfr_extern.h,v 1.7 1996/06/03 03:10:42 wpaul Exp wpaul $
*/
#include <sys/types.h>
#include <limits.h>
@@ -56,6 +56,7 @@ extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, i
extern int ypxfr_get_map __P(( char *, char *, char *, int (*)() ));
extern char *ypxfr_get_master __P(( char *, char *, char *, const int ));
extern unsigned long ypxfr_get_order __P(( char *, char *, char *, const int ));
+extern int ypxfr_match __P(( char *, char *, char *, char *, unsigned long ));
extern char *ypxfxerr_string __P(( ypxfrstat ));
extern int ypxfrd_get_map __P(( char *, char *, char *, char *));
extern int callrpc __P(( char *, int, int, int, xdrproc_t, char *, xdrproc_t, char *));
OpenPOWER on IntegriCloud