47 typedef int (*qi_rwp_t)(queue_t *, struiod_t *);
48 typedef int (*qi_infop_t)(queue_t *, infod_t *);
49
50 struct qinit {
51 qi_putp_t qi_putp; /* put procedure */
52 qi_srvp_t qi_srvp; /* service procedure */
53 qi_qopen_t qi_qopen; /* called on startup */
54 qi_qclose_t qi_qclose; /* called on finish */
55 qi_qadmin_t qi_qadmin; /* for future use */
56 struct module_info *qi_minfo; /* module information */
57 struct module_stat *qi_mstat; /* module statistics */
58 qi_rwp_t qi_rwp; /* r/w procedure */
59 qi_infop_t qi_infop; /* information procedure */
60 int qi_struiot; /* stream uio type for struio() */
61 };
62 .Ed
63 .Sh SEE ALSO
64 .Xr queue 9S ,
65 .Xr streamtab 9S
66 .Pp
67 .Xr Writing Device Drivers
68 .Pp
69 .Xr STREAMS Programming Guide
70 .Sh NOTES
71 This release includes no support for module statistics.
|
47 typedef int (*qi_rwp_t)(queue_t *, struiod_t *);
48 typedef int (*qi_infop_t)(queue_t *, infod_t *);
49
50 struct qinit {
51 qi_putp_t qi_putp; /* put procedure */
52 qi_srvp_t qi_srvp; /* service procedure */
53 qi_qopen_t qi_qopen; /* called on startup */
54 qi_qclose_t qi_qclose; /* called on finish */
55 qi_qadmin_t qi_qadmin; /* for future use */
56 struct module_info *qi_minfo; /* module information */
57 struct module_stat *qi_mstat; /* module statistics */
58 qi_rwp_t qi_rwp; /* r/w procedure */
59 qi_infop_t qi_infop; /* information procedure */
60 int qi_struiot; /* stream uio type for struio() */
61 };
62 .Ed
63 .Sh SEE ALSO
64 .Xr queue 9S ,
65 .Xr streamtab 9S
66 .Pp
67 .%T Writing Device Drivers
68 .Pp
69 .%T STREAMS Programming Guide
70 .Sh NOTES
71 This release includes no support for module statistics.
|