1 /******************************************************************************* 2 * * 3 * refString.c -- Nirvana editor string handling * 4 * * 5 * Copyright (C) 200 Scott Tringali * 6 * * 7 * This is free software; you can redistribute it and/or modify it under the * 8 * terms of the GNU General Public License as published by the Free Software * 9 * Foundation; either version 2 of the License, or (at your option) any later *10 * version. In addition, you may distribute versions of this program linked to *11 * Motif or Open Motif. See README for details. *12 * *13 * This software is distributed in the hope that it will be useful, but WITHOUT *14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *16 * for more details. *17 * *18 * You should have received a copy of the GNU General Public License along with *19 * software; if not, write to the Free Software Foundation, Inc., 59 Temple *20 * Place, Suite 330, Boston, MA 02111-1307 USA *21 * *22 * Nirvana Text Editor *23 * July, 1993 *24 * *25 * Written by Mark Edel *26 * *27 *******************************************************************************/28 29 constchar *RefStringDup(constchar *str);
30 void RefStringFree(constchar *str);
31 32 /* Compute hash address from a string key */33 unsignedint StringHashAddr(constchar *key);
34 35 /* Compute hash address from a null-termintated list of strings */36 unsignedint StringsHashAddr(constchar** keys);
37