Query: transport_class_register
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TRANSPORT_CLASS_REGI(9) Device drivers infrastructure TRANSPORT_CLASS_REGI(9)NAMEtransport_class_register - register an initial transport classSYNOPSISint transport_class_register(struct transport_class * tclass);ARGUMENTStclass a pointer to the transport class structure to be initialisedDESCRIPTIONThe transport class contains an embedded class which is used to identify it. The caller should initialise this structure with zeros and then generic class must have been initialised with the actual transport class unique name. There's a macro DECLARE_TRANSPORT_CLASS to do this (declared classes still must be registered). Returns 0 on success or error on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 TRANSPORT_CLASS_REGI(9)