38 #include <sys/unistat/spcs_s.h>
39
40 #ifdef DS_DDICT
41 #include <sys/nsctl/contract.h>
42 #endif
43
44 #include <sys/nsctl/nsctl.h>
45 #include <sys/nsctl/nsvers.h>
46
47 /*
48 * Module linkage.
49 */
50
51 static struct modlmisc spuni_modlmisc = {
52 &mod_miscops, /* Type of module */
53 "nws:Unistat:" ISS_VERSION_STR
54 };
55
56 static struct modlinkage spuni_modlinkage = {
57 MODREV_1,
58 &spuni_modlmisc,
59 NULL
60 };
61
62 int
63 _init(void)
64 {
65 return (mod_install(&spuni_modlinkage));
66 }
67
68 int
69 _fini(void)
70 {
71 return (mod_remove(&spuni_modlinkage));
72 }
73
74 /*
75 * Solaris module info code
76 */
77 int
78 _info(struct modinfo *modinfop)
79 {
|
38 #include <sys/unistat/spcs_s.h>
39
40 #ifdef DS_DDICT
41 #include <sys/nsctl/contract.h>
42 #endif
43
44 #include <sys/nsctl/nsctl.h>
45 #include <sys/nsctl/nsvers.h>
46
47 /*
48 * Module linkage.
49 */
50
51 static struct modlmisc spuni_modlmisc = {
52 &mod_miscops, /* Type of module */
53 "nws:Unistat:" ISS_VERSION_STR
54 };
55
56 static struct modlinkage spuni_modlinkage = {
57 MODREV_1,
58 { &spuni_modlmisc, NULL }
59 };
60
61 int
62 _init(void)
63 {
64 return (mod_install(&spuni_modlinkage));
65 }
66
67 int
68 _fini(void)
69 {
70 return (mod_remove(&spuni_modlinkage));
71 }
72
73 /*
74 * Solaris module info code
75 */
76 int
77 _info(struct modinfo *modinfop)
78 {
|