.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "CLASS_CREATE" "9" "09 October 2005" "" ""
.SH NAME
class_create \- create a struct class structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct class * class_create (struct module * \fIowner\fB, char * \fIname\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIowner\fB\fR
pointer to the module that is to ``own'' this struct class
.TP
\fB\fIname\fB\fR
pointer to a string for the name of this class.
.SH "DESCRIPTION"
.PP
This is used to create a struct class pointer that can then be used
in calls to \fBclass_device_create\fR\&.
.PP
Note, the pointer created here is to be destroyed when finished by
making a call to \fBclass_destroy\fR\&.