ber_get_eoc
a != NULL && ber_get_eoc(a) != 0;
if (ber_get_eoc(msg->body.search.iter) == 0)
if (ber_get_eoc(a) == 0)
int ber_get_eoc(struct ber_element *);