'\" t .\" Title: anon_transport_class_register .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ANON_TRANSPORT_CLASS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" anon_transport_class_register \- register an anonymous class .SH "SYNOPSIS" .HP \w'int\ anon_transport_class_register('u .BI "int anon_transport_class_register(struct\ anon_transport_class\ *\ " "atc" ");" .SH "ARGUMENTS" .PP \fIatc\fR .RS 4 The anon transport class to register .RE .SH "DESCRIPTION" .PP The anonymous transport class contains both a transport class and a container\&. The idea of an anonymous class is that it never actually has any device attributes associated with it (and thus saves on container storage)\&. So it can only be used for triggering events\&. Use prezero and then use \fBDECLARE_ANON_TRANSPORT_CLASS\fR to initialise the anon transport class storage\&. .SH "COPYRIGHT" .br