[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] Proposal 286: Controller APIs for hibernation access on mobile
Nick Mathewson <nickm@xxxxxxxxxxxxxx> writes:
> We define a new "GETINFO status/hibernation" to inspect the
> current hibernation state. Possible values are:
> - "live"
> - "idle:control"
> - "idle:no-activity"
> - "sleep:control"
> - "sleep:accounting"
> - "idle-update:control"
> - "sleep-update:control"
> - "shutdown:exiting"
> - "shutdown:accounting"
> - "shutdown:control"
To me this smells like it should be two different things rather than
overloading "one" state to become two and have all users have to parse
colons. e.g. "status/hibernation" and "status/hibernation-reason" or
similar.
--
meejah
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev