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

Improvement needed in libmaxminddb docs #145

Open
einhverfr opened this issue Sep 11, 2017 · 1 comment
Open

Improvement needed in libmaxminddb docs #145

einhverfr opened this issue Sep 11, 2017 · 1 comment

Comments

@einhverfr
Copy link

I notice that MMDB_get_entry_data_list has a *start parameter but this is not covered in the docs.

Is this the node value in the search tree? Or is it the file offset? Either way this should be clarified

@oschwald
Copy link
Member

oschwald commented Sep 11, 2017

The *start parameter is an MMDB_entry_s value. In most cases, this will come from the MMDB_lookup_result_s value returned by MMDB_lookup_string() or MMDB_lookup_sockaddr(). This could be spelled out more, but the second example here does show how to get it and use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants