/* * call-seq: * conn.err => Fixnum * * Return the error associated with the most recent LDAP operation. */ VALUE rb_ldap_conn_err (VALUE self) { RB_LDAP_DATA *ldapdata; GET_LDAP_DATA (self, ldapdata); return INT2NUM (ldapdata->err); }