forgot guid reference, renamed to entity_id
Changes applied in order to compile on Ubuntu 13.10. limits.h instead of limits. readline instead of libedit. Removed (Function *) cast on assignment to rl_completion_entry_function.