/*
* call-seq:
* mod.mod_op => Fixnum
*
* Return the type of modification associated with the LDAP::Mod object.
* Standard types are *LDAP_MOD_ADD*, *LDAP_MOD_REPLACE* and
* *LDAP_MOD_DELETE*, although any of these may be logically OR'ed with
* *LDAP_MOD_BVALUES* to indicate that the values of the Mod object contain
* binary data.
*/
VALUE
rb_ldap_mod_op (VALUE self)
{
RB_LDAPMOD_DATA *moddata;
GET_LDAPMOD_DATA (self, moddata);
return INT2NUM (moddata->mod->mod_op);
}