/*
* call-seq:
* LDAP.mod(mod_type, attr, vals) => LDAP::Mod
*
* Create a new LDAP::Mod object of type, +mod_type+. This is most commonly
* *LDAP_MOD_ADD*, *LDAP_MOD_REPLACE* or *LDAP_MOD_DELETE*, although some LDAP
* servers may offer extension types.
*
* +attr+ should be the name of the attribute on which to operate, whilst
* +vals+ is an array of values pertaining to +attr+. If +vals+ contains
* binary data, +mod_type+ should be logically OR'ed (|) with
* *LDAP_MOD_BVALUES*.
*
* LDAP::Mod objects can be passed to methods in the LDAP::Conn class, such as
* Conn#add, Conn#add_ext, Conn#modify and Conn#modify_ext.
*/
static VALUE
rb_ldap_mod_s_new (int argc, VALUE argv[], VALUE klass)
{
return rb_ldap_class_new (argc, argv, rb_cLDAP_Mod);
}