--- lmtp2nntp_lh.h 2002/01/14 14:49:07 1.1
+++ lmtp2nntp_lh.h 2002/01/15 11:57:31 1.2
@@ -30,11 +30,11 @@
struct lh_st;
typedef struct lh_st lh_t;
-lh_t *lh_new (void);
-int lh_insert(lh_t *h, void *keyptr, int keylen, void *datptr, int datlen, int override);
-int lh_lookup(lh_t *h, void *keyptr, int keylen, void **datptr, int *datlen);
-int lh_delete(lh_t *h, void *keyptr, int keylen);
-int lh_free (lh_t *h);
+lh_t *lh_create (void);
+int lh_insert (lh_t *h, const void *keyptr, int keylen, const void *datptr, int datlen, int override);
+int lh_lookup (lh_t *h, const void *keyptr, int keylen, void **datptr, int *datlen);
+int lh_delete (lh_t *h, const void *keyptr, int keylen);
+int lh_destroy(lh_t *h);
#endif /* __LH_H__ */
|