X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fpool.h;h=da95f4ec7ca243066987820128123a082020cfb3;hb=b3fcf4b1644bf4af9b5eb7b0b0f8856c51118128;hp=fc24b2f9e6ff0ae38221a2ac7f9d3bba60aa8fbf;hpb=75a80e71a0d3a08f4bc561f16702c36d45e32c31;p=pspp diff --git a/src/libpspp/pool.h b/src/libpspp/pool.h index fc24b2f9e6..da95f4ec7c 100644 --- a/src/libpspp/pool.h +++ b/src/libpspp/pool.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2000, 2006 Free Software Foundation, Inc. + Copyright (C) 2000, 2006, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -85,10 +85,15 @@ void pool_add_subpool (struct pool *, struct pool *subpool); /* Files. */ FILE *pool_fopen (struct pool *, const char *, const char *); int pool_fclose (struct pool *, FILE *) WARN_UNUSED_RESULT; -FILE *pool_tmpfile (struct pool *); void pool_attach_file (struct pool *, FILE *); void pool_detach_file (struct pool *, FILE *); +/* Temporary files. */ +FILE *pool_create_temp_file (struct pool *); +void pool_fclose_temp_file (struct pool *, FILE *); +void pool_attach_temp_file (struct pool *, FILE *); +void pool_detach_temp_file (struct pool *, FILE *); + /* Custom allocations. */ void pool_register (struct pool *, void (*free) (void *), void *p); bool pool_unregister (struct pool *, void *);