/*************************************************************************
* (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com>
* by Michael Pounov <misho@openbsd-bg.org>
*
* $Author: misho $
* $Id: defs.h,v 1.2 2010/06/04 11:32:47 misho Exp $
*
*************************************************************************/
#ifndef __DEFS_H
#define __DEFS_H
#define STRSIZ 256
#define MAX_PROMPT_ITEMS 20
#define DEFAULT_SOCK_TIMEOUT 60
#define LOGERR { \
cli_Errno = errno; \
strlcpy(cli_Error, strerror(errno), STRSIZ); \
}
extern int cli_Errno;
extern char cli_Error[];
inline void cli_SetErr(int eno, char *estr, ...);
#endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>