Make dict_str{cmp,ncmp,len} internal
[idzebra-moved-to-github.git] / include / idzebra / dict.h
index 8a2828b..11209d0 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: dict.h,v 1.5 2006-05-10 08:13:20 adam Exp $
-   Copyright (C) 1995-2005
+/* $Id: dict.h,v 1.7 2006-08-29 09:27:56 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
+
 */
 
 /** \file dict.h
@@ -44,7 +44,6 @@ YAZ_BEGIN_CDECL
 typedef struct Dict_struct *Dict;
 
 typedef unsigned Dict_ptr;
-typedef unsigned char Dict_char;
 
 YAZ_EXPORT 
 Dict dict_open (BFiles bfs, const char *name, int cache, int rw,
@@ -74,15 +73,6 @@ int dict_lookup_grep (Dict dict, const char *p, int range, void *client,
                      int (*f)(char *name, const char *info, void *client));
 
 YAZ_EXPORT
-int dict_strcmp (const Dict_char *s1, const Dict_char *s2);
-
-YAZ_EXPORT
-int dict_strncmp (const Dict_char *s1, const Dict_char *s2, size_t n);
-
-YAZ_EXPORT
-int dict_strlen (const Dict_char *s);
-
-YAZ_EXPORT
 int dict_scan (Dict dict, char *str, 
               int *before, int *after, void *client,
               int (*f)(char *name, const char *info, int pos, void *client));