massage glue api around some, add a bunch of dummy declarations
add definitions for h_cast family of functions
add definitions for h_seq_index family of functions
ah, it's not an slist, forget about cons and prepend for now
move h_seq modification functions around to match the order in the header