Expand description
Wire format of the daily usage snapshot a client sends to the cloud.
Structs§
Constants§
- MAX_
DAY_ AGE - Oldest day, counted back from today, that a snapshot may still change.
- MAX_
SKILL_ LEN - Longest skill name, in bytes.
- MAX_
SNAPSHOT_ ROWS - Most rows one snapshot may carry.
Functions§
- is_
skill_ char - Characters a skill name may use: a program’s basename, never its arguments.
- skill_
name - The name usage is stored under: the program’s basename, never its arguments. Some records hold whole shell lines (paths, tokens, URLs) that must not be kept.