X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frstemp.c;h=122c0b4c0a2938ea787cb5938e27dab40e5fcef9;hb=9eaf65aa25be411fbd6298292f5ad7a7df7083ed;hp=3ad1422882ab70400241ae11fecdb29e7902b795;hpb=2cb08a89ee65d8ae2646b91dcf27bc3883759691;p=idzebra-moved-to-github.git diff --git a/rset/rstemp.c b/rset/rstemp.c index 3ad1422..122c0b4 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.68 2006-08-14 10:40:21 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include @@ -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 + */ +