 # according to the database.  Updates the database to reflect success,
 # when successful.
 
-exports.destroy_snapshot = (opts) ->
-    opts.cb?(true)
+get_snapshots = (opts) ->
+    opts = defaults opts,
+        project_id : required
+        host       : undefined
+        cb         : required
+    if opts.hosts?
+        return
+        # snapshots on a particular host.
+
 
 record_new_snapshot = (opts) ->
     opts.cb?()

    opts.cb?()



        host       : required
        tag        : undefined
        cb         : undefined

    winston.debug("snapshotting #{opts.project_id} on #{opts.host}")

    if opts.tag?
        tag = '-' + opts.tag
