Logo Search packages:      
Sourcecode: libnl version File versions  Download package

int rtnl_class_unregister ( struct rtnl_class_ops ops  ) 

Unregister a class module

  • ops class module operations

Definition at line 83 of file class.c.

References rtnl_class_ops::co_kind, and rtnl_class_ops::co_next.

      struct rtnl_class_ops *o, **op;

      for (op = &class_ops_list; (o = *op) != NULL; op = &o->co_next)
            if (!strcasecmp(ops->co_kind, o->co_kind))

      if (!o)
            return nl_errno(ENOENT);

      *op = ops->co_next;

      return 0;

Generated by  Doxygen 1.6.0   Back to index