Searched refs:DU_FLAG_INIT (Results 1 – 8 of 8) sorted by relevance
/dports/sysutils/nut-devel/nut-9e6a5ab2/drivers/ |
H A D | apcupsd-ups.h | 91 #define DU_FLAG_INIT 1 /* intialy show element to upsd */ macro 105 { NULL, "ups.mfr", ST_FLAG_STRING | ST_FLAG_RW, 32, "APC", DU_FLAG_INIT, NULL }, 106 { "MODEL", "ups.model", ST_FLAG_STRING | ST_FLAG_RW, 32, "Unknown UPS", DU_FLAG_INIT, NULL }, 107 …{ "STATUS", "ups.status", ST_FLAG_STRING | ST_FLAG_RW, 32, "OFF", DU_FLAG_INIT|DU_FLAG_STATUS, NUL… 141 { "NOMPOWER", "ups.realpower.nominal", 0, 1, "%1.1f", DU_FLAG_INIT, NULL }, 146 { "NOMAPNT", "ups.power.nominal", 0, 1, "%.0f", DU_FLAG_INIT, NULL },
|
H A D | dummy-ups.h | 112 #define DU_FLAG_INIT 1 /* intialy show element to upsd */ macro 124 { "ups.mfr", ST_FLAG_STRING | ST_FLAG_RW, 32, "Dummy Manufacturer", DU_FLAG_INIT, NULL }, 125 { "ups.model", ST_FLAG_STRING | ST_FLAG_RW, 32, "Dummy UPS", DU_FLAG_INIT, NULL }, 126 { "ups.status", ST_FLAG_STRING | ST_FLAG_RW, 32, "OL", DU_FLAG_INIT, NULL },
|
H A D | apcupsd-ups.c | 58 switch(nut_data[i].drv_flags&~DU_FLAG_INIT) in process() 170 if(!(nut_data[x].drv_flags & DU_FLAG_INIT) && !(nut_data[x].drv_flags & DU_FLAG_PRESERVE)) in getdata()
|
H A D | dummy-ups.c | 94 if (item->drv_flags & DU_FLAG_INIT) in upsdrv_initinfo()
|
/dports/sysutils/nut/nut-2.7.4/drivers/ |
H A D | apcupsd-ups.h | 86 #define DU_FLAG_INIT 1 /* intialy show element to upsd */ macro 99 { NULL, "ups.mfr", ST_FLAG_STRING | ST_FLAG_RW, 32, "APC", DU_FLAG_INIT, NULL }, 100 { "MODEL", "ups.model", ST_FLAG_STRING | ST_FLAG_RW, 32, "Unknown UPS", DU_FLAG_INIT, NULL }, 101 …{ "STATUS", "ups.status", ST_FLAG_STRING | ST_FLAG_RW, 32, "OFF", DU_FLAG_INIT|DU_FLAG_STATUS, NUL… 135 { "NOMPOWER", "ups.realpower.nominal", 0, 1, "%1.1f", DU_FLAG_INIT, NULL },
|
H A D | dummy-ups.h | 109 #define DU_FLAG_INIT 1 /* intialy show element to upsd */ macro 119 { "ups.mfr", ST_FLAG_STRING | ST_FLAG_RW, 32, "Dummy Manufacturer", DU_FLAG_INIT, NULL }, 120 { "ups.model", ST_FLAG_STRING | ST_FLAG_RW, 32, "Dummy UPS", DU_FLAG_INIT, NULL }, 121 { "ups.status", ST_FLAG_STRING | ST_FLAG_RW, 32, "OL", DU_FLAG_INIT, NULL },
|
H A D | apcupsd-ups.c | 53 switch(nut_data[i].drv_flags&~DU_FLAG_INIT) in process() 148 if(!(nut_data[x].drv_flags&DU_FLAG_INIT)) in getdata()
|
H A D | dummy-ups.c | 94 if (item->drv_flags & DU_FLAG_INIT) in upsdrv_initinfo()
|