Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashtable depends on sdb #123

Open
alvarofe opened this issue Jan 4, 2017 · 0 comments
Open

Hashtable depends on sdb #123

alvarofe opened this issue Jan 4, 2017 · 0 comments
Assignees

Comments

@alvarofe
Copy link
Contributor

alvarofe commented Jan 4, 2017

There should be an independent ht implementation on sdb.

Right now everything must be an string in order to work properly, but the idea would be to have an agnostic ht and sdb must use a specialized version setting parameters in SdbHash for its need.

Another example in SdbHash

typedef void (*HtKvFreeFunc)(SdbKv*);
typedef char* (*DupKey)(const char*);
typedef char* (*DupValue)(const char*);
typedef size_t (*CalcSize)(const char*);
typedef ut32 (*HashFunction)(const char*);
typedef int (*ListComparator)(const char *a, const char *b);
@alvarofe alvarofe self-assigned this Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant