File:  [ELWIX - Embedded LightWeight unIX -] / libaitsync / inc / tool.h
Revision 1.1.1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Mon May 9 13:46:11 2011 UTC (14 years, 1 month ago) by misho
Branches: sync1_0
Diff to: branchpoint 1.1.1.1: preferred, unified
under NetBSD mkstemps() function not exists!!!
added this feature for NetBSD systems

/*************************************************************************
* (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com>
*  by Michael Pounov <misho@openbsd-bg.org>
*
* $Author: misho $
* $Id: tool.h,v 1.1.1.1.2.2 2011/05/09 13:46:11 misho Exp $
*
*************************************************************************/
#ifndef __TOOL_H
#define __TOOL_H


inline void sync_mksig(int id, off_t off, u_char * __restrict buf, int buflen, sync_chunk_t * __restrict sc);

#ifndef HAVE_MKSTEMPS
int mkstemps(char *path, int slen);
#endif


#endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>