PiPower  ac0ff3c (Mon Feb 11 21:44:30 2019 -0500)
Data Fields
config Struct Reference

Holds our global configuration. More...

Data Fields

char * device
 path to gpiochip device
 
int pin
 pin to monitor for shutdown events
 
int verbose
 control how verbose we are
 
bool ignore_initial_state
 do not exit if shutdown pin is high at start
 
char * shutdown_command
 command to run when we receive a shutdown request
 

Detailed Description

Holds our global configuration.


The documentation for this struct was generated from the following file: