25 #include <linux/slab.h>
26 #include <linux/string.h>
27 #include <linux/socket.h>
28 #include <linux/module.h>
93 static void __irias_delete_attrib(
struct ias_attrib *attrib)
137 IRDA_DEBUG( 0,
"%s(), object already removed!\n",
169 __irias_delete_attrib(node);
177 if (cleanobject && !node)
272 IRDA_WARNING(
"%s: Unable to find object: %s\n", __func__,
282 if (attrib ==
NULL) {
284 __func__, attrib_name);
289 if ( attrib->
value->type != new_value->
type) {
290 IRDA_DEBUG( 0,
"%s(), changing value type not allowed!\n",
300 attrib->
value = new_value;
324 if (attrib ==
NULL) {
335 if (!attrib->name || !attrib->value) {
345 irias_add_attrib(obj, attrib, owner);
368 if (attrib ==
NULL) {
378 if (!attrib->name || !attrib->value) {
388 irias_add_attrib(obj, attrib, owner);
410 if (attrib ==
NULL) {
420 if (!attrib->name || !attrib->value) {
430 irias_add_attrib(obj, attrib, owner);
548 switch (value->
type) {
562 IRDA_DEBUG(0,
"%s(), Unknown value type!\n", __func__);