From 7c7324a44f748a38559616aa007f4476ca9933b3 Mon Sep 17 00:00:00 2001 From: fc_botelho Date: Tue, 25 Jan 2005 20:42:03 +0000 Subject: [PATCH] Vector adapter commented --- src/cmph.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmph.h b/src/cmph.h index 1e7da9f..f457736 100644 --- a/src/cmph.h +++ b/src/cmph.h @@ -24,9 +24,10 @@ typedef struct } cmph_io_adapter_t; /** Adapter pattern API **/ +/* please call free() in the created adapters */ cmph_io_adapter_t *cmph_io_nlfile_adapter(FILE * keys_fd); cmph_io_adapter_t *cmph_io_nlnkfile_adapter(FILE * keys_fd, cmph_uint32 nkeys); -cmph_io_adapter_t *cmph_io_vector_adapter(const char ** vector, cmph_uint32 nkeys); +/*cmph_io_adapter_t *cmph_io_vector_adapter(const char ** vector, cmph_uint32 nkeys);*/ /** Hash configuration API **/ cmph_config_t *cmph_config_new(cmph_io_adapter_t *key_source);