--- act_hash_oh.c 2002/01/02 17:05:53 1.6
+++ act_hash_oh.c 2003/01/06 12:10:58 1.7
@@ -1,9 +1,10 @@
-/*
-** Act - Abstract Container Type Library
-** Copyright (c) 1999-2002 Ralf S. Engelschall <rse@engelschall.com>
+/*
+** OSSP act - Abstract Container Types
+** Copyright (c) 1999-2003 Ralf S. Engelschall <rse@engelschall.com>
+** Copyright (c) 1999-2003 The OSSP Project <http://www.ossp.org/>
**
-** This file is part of Act, a library for dealing with Abstract
-** Container Types which can be found at http://www.ossp.org/pkg/act/.
+** This file is part of OSSP act, an abstract container type library
+** which can be found at http://www.ossp.org/pkg/lib/act/.
**
** Permission to use, copy, modify, and distribute this software for
** any purpose with or without fee is hereby granted, provided that
@@ -85,25 +86,25 @@
}
/* insert an element into hash table */
-static int
+static int
act_hash_oh_insert(
- act_ctx_t *ctx, act_hash_oh_t *h, void *keyptr, int keylen,
+ act_ctx_t *ctx, act_hash_oh_t *h, void *keyptr, int keylen,
void *datptr, int datlen, int override)
{
return TRUE;
}
/* lookup an element in hash table */
-static int
+static int
act_hash_oh_lookup(
- act_ctx_t *ctx, act_hash_oh_t *h,
+ act_ctx_t *ctx, act_hash_oh_t *h,
void *keyptr, int keylen, void **datptr, int *datlen)
{
return FALSE;
}
/* delete an element from hash table */
-static int
+static int
act_hash_oh_delete(
act_ctx_t *ctx, act_hash_oh_t *h, void *keyptr, int keylen)
{
@@ -111,7 +112,7 @@
}
/* find out the size of the hash table */
-static int
+static int
act_hash_oh_size(
act_ctx_t *ctx, act_hash_oh_t *h, long *pbytes, long *pelements)
{
@@ -134,7 +135,7 @@
}
/* find out the size of the hash table */
-static int
+static int
act_hash_oh_status(
act_ctx_t *ctx, act_hash_oh_t *h, char *pstatus, int *nstatus)
{
@@ -142,7 +143,7 @@
}
/* free the hash table structure */
-static int
+static int
act_hash_oh_free(
act_ctx_t *ctx, act_hash_oh_t *h)
{
|