assert(output);
+ DBG2("Snapshot output initializing with max size %" PRIu64 ", name %s "
+ "ctrl URL %s, data URL %s", max_size, name, ctrl_url, data_url);
+
output->max_size = max_size;
if (snapshot) {
output->id = get_next_output_id(snapshot);
return output;
}
-struct snapshot *snapshot_alloc(void)
-{
- return zmalloc(sizeof(struct snapshot));
-}
-
/*
* Initialized a snapshot object that was already allocated.
*