X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frsnull.c;h=2bb2300975ed912eba0d4d9765d7a1f49c682e2f;hb=0f78f3fe78e859d9f0d3f0d3e13fcd28085dd427;hp=8c5522f85d741239a7c614559bb2c1b69718d0de;hpb=a876f6c2860bf13e36f47c8ce938d74b4ce98b8e;p=idzebra-moved-to-github.git diff --git a/rset/rsnull.c b/rset/rsnull.c index 8c5522f..2bb2300 100644 --- a/rset/rsnull.c +++ b/rset/rsnull.c @@ -1,5 +1,5 @@ -/* $Id: rsnull.c,v 1.36 2005-06-02 11:59:54 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: rsnull.c,v 1.39 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 @@ -45,8 +45,8 @@ static const struct rset_control control = r_write, }; -RSET rsnull_create(NMEM nmem, struct rset_key_control *kcontrol, - TERMID term) +RSET rset_create_null(NMEM nmem, struct rset_key_control *kcontrol, + TERMID term) { RSET rnew = rset_create_base(&control, nmem, kcontrol, 0, term, 0, 0); rnew->priv = 0; @@ -95,3 +95,11 @@ static int r_write(RSFD rfd, const void *buf) yaz_log(YLOG_FATAL, "NULL set type is read-only"); return -1; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +