Store names for backends, print autodetection.

This commit is contained in:
Ian Gulliver
2016-02-17 08:34:19 +00:00
parent a0d94a4198
commit f15ebf497e
2 changed files with 16 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ struct serializer {
{
.name = "stats",
.serialize = stats_serialize,
}
},
};
#define NUM_SERIALIZERS (sizeof(serializers) / sizeof(*serializers))