ypclnt.h (1dd3ff6658ecdcc75c575807d504e23a9c451bdd) ypclnt.h (23d232d73b74448e716f68f37f398b4d5ad1be53)
1/*-
2 * Copyright (c) 2002 Networks Associates Technology, Inc.
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by ThinkSec AS and
6 * NAI Labs, the Security Research Division of Network Associates, Inc.
7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8 * DARPA CHATS research program.

--- 36 unchanged lines hidden (view full) ---

45};
46
47struct passwd;
48
49ypclnt_t *ypclnt_new(const char *, const char *, const char *);
50void ypclnt_free(ypclnt_t *);
51void ypclnt_error(ypclnt_t *, const char *, const char *, ...);
52int ypclnt_connect(ypclnt_t *);
1/*-
2 * Copyright (c) 2002 Networks Associates Technology, Inc.
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by ThinkSec AS and
6 * NAI Labs, the Security Research Division of Network Associates, Inc.
7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8 * DARPA CHATS research program.

--- 36 unchanged lines hidden (view full) ---

45};
46
47struct passwd;
48
49ypclnt_t *ypclnt_new(const char *, const char *, const char *);
50void ypclnt_free(ypclnt_t *);
51void ypclnt_error(ypclnt_t *, const char *, const char *, ...);
52int ypclnt_connect(ypclnt_t *);
53int ypclnt_havepasswdd(ypclnt_t *);
54int ypclnt_passwd(ypclnt_t *, const struct passwd *, const char *);
55
53int ypclnt_passwd(ypclnt_t *, const struct passwd *, const char *);
54
55#if defined(DEBUG) && defined(__GNUC__)
56#define YPCLNT_DEBUG(fmt...) warnx(__FUNCTION__ ": " fmt, ##fmt)
57#else
58#define YPCLNT_DEBUG(fmt...)
56#endif
59#endif
60
61#endif