X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frstemp.c;h=aa886beab40343d123bb22a9dd6ec630abcd3667;hb=3ef0c861c68e520a9a1cb0fa523251a2d3d739ee;hp=3ad1422882ab70400241ae11fecdb29e7902b795;hpb=2cb08a89ee65d8ae2646b91dcf27bc3883759691;p=idzebra-moved-to-github.git diff --git a/rset/rstemp.c b/rset/rstemp.c index 3ad1422..aa886be 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -1,5 +1,5 @@ -/* $Id: rstemp.c,v 1.64 2005-05-24 11:35:43 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: rstemp.c,v 1.67 2006-06-06 21:01:31 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -27,7 +27,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #ifdef WIN32 #include -#else +#endif +#if HAVE_UNISTD_H #include #endif #include @@ -80,8 +81,8 @@ struct rfd_private { static int log_level = 0; static int log_level_initialized = 0; -RSET rstemp_create(NMEM nmem, struct rset_key_control *kcontrol, - int scope, const char *temp_path, TERMID term) +RSET rset_create_temp(NMEM nmem, struct rset_key_control *kcontrol, + int scope, const char *temp_path, TERMID term) { RSET rnew = rset_create_base(&control, nmem, kcontrol, scope, term, 0, 0); @@ -332,3 +333,11 @@ static void r_pos(RSFD rfd, double *current, double *total) *current = (double) mrfd->cur; *total = (double) info->hits; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +