ypclnt.h (23d232d73b74448e716f68f37f398b4d5ad1be53) | ypclnt.h (c744e7522179b2cd69f9ba832b76cfb3c246735e) |
---|---|
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 *); |
|
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...) 59#endif 60 61#endif | 54int ypclnt_passwd(ypclnt_t *, const struct passwd *, const char *); 55 56#if defined(DEBUG) && defined(__GNUC__) 57#define YPCLNT_DEBUG(fmt...) warnx(__FUNCTION__ ": " fmt, ##fmt) 58#else 59#define YPCLNT_DEBUG(fmt...) 60#endif 61 62#endif |