~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to include/cmd-map-init.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Quette
  • Date: 2004-05-28 13:10:01 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040528131001-yj2m9qcez4ya2w14
Tags: upstream-1.4.2
ImportĀ upstreamĀ versionĀ 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* cmd-map-init.h - translate between old CMD #defines and new names */
 
2
 
 
3
struct cmd_map_t cmd_map[] =
 
4
{
 
5
        { CMD_OFF,      "OFF",          "load.off"              },
 
6
        { CMD_ON,       "ON",           "load.on"               },
 
7
 
 
8
        { CMD_SOFTDOWN, "SOFTDOWN",     "shutdown.return"       },
 
9
        { CMD_SHUTDOWN, "SHUTDOWN",     "shutdown.stayoff"      },
 
10
        { CMD_STOPSHUTD,"STOPSHUTD",    "shutdown.stop"         },
 
11
 
 
12
        { CMD_FPTEST,   "FPTEST",       "test.panel.start"      },
 
13
        { CMD_SIMPWF,   "SIMPWF",       "test.failure.start"    },
 
14
        { CMD_BTEST1,   "BTEST1",       "test.battery.start"    },
 
15
        { CMD_BTEST0,   "BTEST0",       "test.battery.stop"     },
 
16
 
 
17
        { CMD_CAL1,     "CAL1",         "calibrate.start"       },
 
18
        { CMD_CAL0,     "CAL0",         "calibrate.stop"        },
 
19
 
 
20
        { CMD_BYPASS,   "BYPASS",       "bypass.start"          },
 
21
 
 
22
        { CMD_RSTMINMAX, "RSTMINMAX",   "reset.input.minmax"    },
 
23
        { CMD_WATCHDOG, "WATCHDOG",     "reset.watchdog"        },
 
24
 
 
25
        { 0,            NULL,           NULL                    }
 
26
};