state_snapshot.c revision 51e7ffc68ae0a6122fcfdc746905b6c7dae2c610