From: <svn...@op...> - 2009-03-29 15:49:59
|
Author: bricks Date: Sun Mar 29 17:49:55 2009 New Revision: 5427 URL: http://www.opensync.org/changeset/5427 Log: dropped osync_hashtable_num_entries from public interface Modified: trunk/opensync/helper/opensync_hashtable.h trunk/opensync/helper/opensync_hashtable_internals.h Modified: trunk/opensync/helper/opensync_hashtable.h ============================================================================== --- trunk/opensync/helper/opensync_hashtable.h Sun Mar 29 17:46:41 2009 (r5426) +++ trunk/opensync/helper/opensync_hashtable.h Sun Mar 29 17:49:55 2009 (r5427) @@ -96,14 +96,6 @@ OSYNC_EXPORT osync_bool osync_hashtable_slowsync(OSyncHashTable *table, OSyncError **error); -/** @brief Get the number of entries - * - * @param table The hashtable - * @returns the number of entries in the hashtable - * - */ -OSYNC_EXPORT unsigned int osync_hashtable_num_entries(OSyncHashTable *table); - /** @brief Call a function over all of the entries * * @param table The hashtable to operate on Modified: trunk/opensync/helper/opensync_hashtable_internals.h ============================================================================== --- trunk/opensync/helper/opensync_hashtable_internals.h Sun Mar 29 17:46:41 2009 (r5426) +++ trunk/opensync/helper/opensync_hashtable_internals.h Sun Mar 29 17:49:55 2009 (r5427) @@ -97,5 +97,13 @@ */ OSYNC_TEST_EXPORT osync_bool osync_hashtable_save(OSyncHashTable *table, OSyncError **error); +/** @brief Get the number of entries + * + * @param table The hashtable + * @returns the number of entries in the hashtable + * + */ +OSYNC_TEST_EXPORT unsigned int osync_hashtable_num_entries(OSyncHashTable *table); + #endif /*_OPENSYNC_HASHTABLE_INTERNALS_H_*/ |